我如何估算以太网性能?

时间:2021-11-24 05:33:02

I need to think about performance limitations of 100 mbps ethernet (including scenarios with up to ~100 endpoints on the same subnet) and I'm wondering how best to go about estimating the capacity of the network. Are there any rules of thumb for this?

我需要考虑100 mbps以太网的性能限制(包括同一子网上最多约100个端点的情况),我想知道如何最好地估算网络容量。这有什么经验法则吗?

The reason I ask is that I am working on some back-of-the-envelope level calculations about performance limitations, so it doesn't need to be incredibly accurate. I just haven't been through this exercise before and was hoping to gain some insight from those who have. Mark Brackett's answer (as of 1/26) is along the lines of what I am looking for.

我之所以要问的是,我正在进行一些关于性能限制的封装级别计算,因此它不需要非常准确。我之前没有参加过这个练习,并且希望从那些有这些知识的人那里获得一些见解。 Mark Brackett的答案(截至1/26)与我所寻找的一致。

5 个解决方案

#1


If you're using switches (and, honestly, who isn't these days) - then I've found 80% of capacity a reasonable estimate. Usually, it's really about 90% because of TCP overhead - but 80% accounts for occasional retransmits.

如果你正在使用交换机(老实说,现在不是这些人) - 那么我发现80%的容量是合理的估计。通常,由于TCP开销,它实际上约为90% - 但80%会导致偶尔的重传。

If it's a single collision domain (hubs), then you'd probably be around 30% with moderate activity on those 100 nodes. But, it'd be pretty variable based on the traffic generated. And anyone putting 100 nodes in a single CD these days would no doubt be shot - so I don't think you'll actually run into those IRL.

如果它是单个冲突域(集线器),那么在这100个节点上,您可能会有大约30%的中等活动。但是,根据产生的流量,它会变化很大。如今,任何人都将100个节点放在一张CD中无疑会被拍摄 - 所以我认为你不会碰到那些IRL。

Edit: Note that these numbers are for a relatively healthy network - one that is generally defined as working. Extremely excessive broadcasts or other anomalous traffic patterns have been known to bring a network to it's knees.

编辑:请注意,这些数字适用于相对健康的网络 - 通常定义为工作网络。众所周知,过度广播或其他异常流量模式会使网络瘫痪。

#2


Use WANem

WANem is a Wide Area Network Emulator, meant to provide a real experience of a Wide Area Network/Internet, during application development / testing over a LAN environment.

WANem是一种广域网仿真器,旨在通过LAN环境进行应用程序开发/测试时提供广域网/ Internet的真实体验。

You can simulate any network scenario using it and then test your application's behaviour using it. It is open-source and is available with sourceforge.

您可以使用它模拟任何网络方案,然后使用它测试应用程序的行为。它是开源的,可与sourceforge一起使用。

Link : WANem - The Wide Area Network emulator

链接:WANem - 广域网模拟器

#3


Opnet creates software for simulating network performance. I once used Opnet IT Guru Academic edition. Maybe this application or some other software from opnet may be of some help.

Opnet创建用于模拟网络性能的软件。我曾经使用过Opnet IT Guru学术版。也许这个应用程序或opnet的其他软件可能会有所帮助。

#4


100 endpoints are not suppose to be an issue. If the network is properly configured (nothing special) the only issue is the bandwidth. Fast Ethernet (100 mbps) should be able to transfer almost 10Mb (bytes) per second. It is able to transfer it to one client or to many. If you are using hubs instead of switches. And if you are using half-duplex instead of full-duplex. Then you should change that( this is the rule of thumb).

100个端点不是一个问题。如果网络配置正确(没什么特别的话),唯一的问题就是带宽。快速以太网(100 mbps)应该能够每秒传输近10Mb(字节)。它能够将其转移到一个客户端或许多客户端。如果您使用集线器而不是交换机。如果您使用的是半双工而不是全双工。然后你应该改变它(这是经验法则)。

#5


Working from the title of your post, "How can I estimate Ethernet performance", see this wiki link; http://en.wikipedia.org/wiki/Ethernet_frame#Maximum_throughput

根据帖子标题“如何估算以太网性能”,请参阅此wiki链接; http://en.wikipedia.org/wiki/Ethernet_frame#Maximum_throughput

#1


If you're using switches (and, honestly, who isn't these days) - then I've found 80% of capacity a reasonable estimate. Usually, it's really about 90% because of TCP overhead - but 80% accounts for occasional retransmits.

如果你正在使用交换机(老实说,现在不是这些人) - 那么我发现80%的容量是合理的估计。通常,由于TCP开销,它实际上约为90% - 但80%会导致偶尔的重传。

If it's a single collision domain (hubs), then you'd probably be around 30% with moderate activity on those 100 nodes. But, it'd be pretty variable based on the traffic generated. And anyone putting 100 nodes in a single CD these days would no doubt be shot - so I don't think you'll actually run into those IRL.

如果它是单个冲突域(集线器),那么在这100个节点上,您可能会有大约30%的中等活动。但是,根据产生的流量,它会变化很大。如今,任何人都将100个节点放在一张CD中无疑会被拍摄 - 所以我认为你不会碰到那些IRL。

Edit: Note that these numbers are for a relatively healthy network - one that is generally defined as working. Extremely excessive broadcasts or other anomalous traffic patterns have been known to bring a network to it's knees.

编辑:请注意,这些数字适用于相对健康的网络 - 通常定义为工作网络。众所周知,过度广播或其他异常流量模式会使网络瘫痪。

#2


Use WANem

WANem is a Wide Area Network Emulator, meant to provide a real experience of a Wide Area Network/Internet, during application development / testing over a LAN environment.

WANem是一种广域网仿真器,旨在通过LAN环境进行应用程序开发/测试时提供广域网/ Internet的真实体验。

You can simulate any network scenario using it and then test your application's behaviour using it. It is open-source and is available with sourceforge.

您可以使用它模拟任何网络方案,然后使用它测试应用程序的行为。它是开源的,可与sourceforge一起使用。

Link : WANem - The Wide Area Network emulator

链接:WANem - 广域网模拟器

#3


Opnet creates software for simulating network performance. I once used Opnet IT Guru Academic edition. Maybe this application or some other software from opnet may be of some help.

Opnet创建用于模拟网络性能的软件。我曾经使用过Opnet IT Guru学术版。也许这个应用程序或opnet的其他软件可能会有所帮助。

#4


100 endpoints are not suppose to be an issue. If the network is properly configured (nothing special) the only issue is the bandwidth. Fast Ethernet (100 mbps) should be able to transfer almost 10Mb (bytes) per second. It is able to transfer it to one client or to many. If you are using hubs instead of switches. And if you are using half-duplex instead of full-duplex. Then you should change that( this is the rule of thumb).

100个端点不是一个问题。如果网络配置正确(没什么特别的话),唯一的问题就是带宽。快速以太网(100 mbps)应该能够每秒传输近10Mb(字节)。它能够将其转移到一个客户端或许多客户端。如果您使用集线器而不是交换机。如果您使用的是半双工而不是全双工。然后你应该改变它(这是经验法则)。

#5


Working from the title of your post, "How can I estimate Ethernet performance", see this wiki link; http://en.wikipedia.org/wiki/Ethernet_frame#Maximum_throughput

根据帖子标题“如何估算以太网性能”,请参阅此wiki链接; http://en.wikipedia.org/wiki/Ethernet_frame#Maximum_throughput