Checking 10Gb Throughput

Hi


I need a sanity check about the calculations that we make for the thoughput of 10Gb interfaces.


I got the following metrics, about 10 seconds apart, for ethernet1/1 10000/full/up:


Interface: ethernet1/1
--------------------------------------------------------------------------------
Physical port counters read from MAC:
--------------------------------------------------------------------------------
rx-broadcast 14835975
rx-bytes 50765169494025
rx-multicast 64431407
rx-unicast 53124379880
tx-broadcast 7824103
tx-bytes 25200414252731
tx-multicast 24670927
tx-unicast 46670396609
--------------------------------------------------------------------------------

Interface: ethernet1/1
--------------------------------------------------------------------------------
Physical port counters read from MAC:
--------------------------------------------------------------------------------
rx-broadcast 14838994
rx-bytes 50784540823696
rx-multicast 64444369
rx-unicast 53144815829
tx-broadcast 7825519
tx-bytes 25211383918154
tx-multicast 24675887
tx-unicast 46687941787


After subtracting and dividing by 10 to get the values per seconds, I get the following throughput:

rx-bytes/sec 1,937,132,967

tx-bytes/sec 1,096,966,542


However, a 10Gb interface is supposed to be able of handling 1,250,000,000 bytes/sec.

This value is lower than the rx-bytes/sec value.


What am I doing wrong?



Hi Shouky,

These counters are typically read from the chipsets in the hw/linecards, and dependent on the collection intervals. It would be interesting to get some more test points, and if there is a controlled way to test it. For example, clear the counters, start the test, wait for x seconds, and stop the test.


Thanks

Satya

Hmm, what are you using to max out the interface? Maybe it doesn't max it out fully?