Perfmon 的最佳实践采样率是多少?
Perfmon 可接受的采样率是多少?显然,我们采样的次数越多,性能采样对机器性能的影响就越大。我希望有人对这样的事情有一个很好的经验法则。
证据和统计数据会更好,但我对普遍接受的最佳实践感到满意。
What's an acceptable sampling rate with Perfmon? Obviously, the more often we sample, the more our performance sampling has an effect on the performance on the machine. I'm hoping someone out there has a good rule of thumb for such a thing.
Evidence and statistics would be even better, but I'd be happy with generally accepted best practices.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
采样率当然取决于您采样的时间以及您想要保存数据并稍后使用它的时间。
Brent Ozar 有一个非常好的视频,介绍了配置 PerfMon 最佳实践,使用它来监控 sql 和硬件性能。他建议 15 秒的采样率。用于长时间统计。
如果您每天使用 Perfmon 运行 6 小时,它将生成近 1,5k 个样本,这对我来说很好。
布伦特·奥扎尔性能监视器
如果你正在追寻当前正在发生的关键问题,你当然会降低利率。但对于整体数据收集而言,15 秒的速率(即每分钟 4 次)效果良好。
这始终取决于您监控的内容。 Vmware 监控虚拟化的建议
如下:
The sample rate depends of course on the time you sample and the time you want to save the data and work with it later on.
Brent Ozar who has a pretty nice video about configuring PerfMon best practices using it to monitor sql and hardware performance. He recommends 15 seconds sample rate. For long time statistics.
If you use Perfmon on a daily basis running for 6 hours it will generate nearly 1,5k of samples which is fine for me.
Brent Ozar Perfmon
If you are chasing a critical issue which is happening right now, you will lower the rate of course. But for overall collection of data a rate of 15 seconds which means 4 per minute is working well.
It always depends on what you monitor. Vmware's Suggestions to monitor virtualisation
are the following :