网络性能计数器“字节总数/秒”是否为“字节总数/秒”?是可靠的
总之,
我正在构建一个网络密集型应用程序来消耗实时金融市场数据,而网络团队对其每个实例的带宽使用情况持怀疑态度。
我正在尝试使用“网络接口”中的 System.Diagnostic 性能计数器“字节总数/秒”来了解我的应用程序在网络上的占用情况。
这是我的问题:我可以将此性能计数器的数据测量值与网络团队收集的数据进行比较(他们使用思科路由器上的探测器来监控两台机器之间特定端口上的流量)还是有两个不同事物 ?
性能计数器与网络级别的实际网络使用情况相比如何?乐观或悲观。
感谢您提供的任何信息。
问候
All,
I'm building a network intensive application to consume real time financial marketdata and the network team is suspicious regarding its bandwidth usage per instance.
I'm trying to use the System.Diagnostic performance counter "Bytes Total/sec" in the "Network interface" to get an idea of my application footprint on the network.
Here is my question : Can I compare the data measure by this performance counter with the data gather by the network team (they are using a probe on a Cisco router to monitor the traffic on a specific port between 2 machines) or is it 2 differents things ?
How the performance counter is compared to the real network usage as seen at the network level ? Optimistic or pessimistic.
Thanks for any though you can provide.
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不久前我开发了一个这样的应用程序。由于多种原因,性能计数器倾向于报告较少的流量。防火墙过滤的数据包未进入性能计数器计数。多播流量并不总是进入性能计数器计数。
在大多数情况下,这些数字趋势一致(例如,启动大量下载将增加路由器探测上的计数并增加性能计数器上的计数)。
I worked on an application like this not too long ago. The performance counter tended to report less traffic for several reasons. Packets filtered by the firewall didn't make it into the Perf Counter count. Multicast traffic didn't always make it into the Perf Counter count.
For the most part the numbers trended together (e.g., initiating a large download would ramp up both the count on the router probe and and ramp up the count on the performance counter).