网络性能计数器“字节总数/秒”是否为“字节总数/秒”?是可靠的

发布于 2024-08-16 17:25:38 字数 306 浏览 2 评论 0原文

总之,

我正在构建一个网络密集型应用程序来消耗实时金融市场数据,而网络团队对其每个实例的带宽使用情况持怀疑态度。

我正在尝试使用“网络接口”中的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

以歌曲疗慰 2024-08-23 17:25:38

不久前我开发了一个这样的应用程序。由于多种原因,性能计数器倾向于报告较少的流量。防火墙过滤的数据包未进入性能计数器计数。多播流量并不总是进入性能计数器计数。

在大多数情况下,这些数字趋势一致(例如,启动大量下载将增加路由器探测上的计数并增加性能计数器上的计数)。

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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文