Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Can software traffic generators like iperf etc can generate 100mbps traffic? else is there any software generators which can produce such high rates ?

Regards, Mithun

share|improve this question

3 Answers 3

Yes, iPerf can easily max out even Gb connections. The example above by mkudlacek is, in fact, a maxed out connection, minus losses to TCP overhead.

------------------------------------------------------------
Client connecting to proton.cw, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
[  3] local 10.2.0.16 port 40045 connected with 10.2.0.2 port 5001
[  3]  0.0-10.0 sec  1.09 GBytes    940 Mbits/sec
share|improve this answer
    
iperf will easily do 10 gbit –  James Apr 24 '10 at 20:01
1  
@James Not for small packets, it will not ;) –  pehrs Apr 25 '10 at 19:51
    
Good point, I only use it for testing bulk data throughput –  James Apr 25 '10 at 21:59
    
On a sufficiently fast computer iperf can easily do 100mbps. I never was able to come close to saturating a 1GB link on a old 400mhz box though. It hit 100% CPU at about 450gbps. –  Zoredache Apr 25 '10 at 22:24
    
what is the recommended configuration of PC to generate 100Mbps ?Because I am seeing 100% CPU utilization for 3 flows of 1 Mbps streams –  user26202 Apr 30 '10 at 12:24

Iperf will generate up to a Gigabit or so, depending on hardware. If you want to max out 10 Gbit connections (or above), or use smaller than MTU packets you will have to use kernel modules such as pktgen.

share|improve this answer

it almost can, here's the proof:

------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 10.0.0.2 port 5001 connected with 10.0.0.5 port 46844
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 4.5 sec  50.0 MBytes  94.1 Mbits/sec

Computers are connected via 100MBps LAN.

Best regards, Martin

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.