how I can Specifying tcpreplay speed

Posted by herzl shemuelian on Server Fault See other posts from Server Fault or by herzl shemuelian
Published on 2012-06-04T14:07:02Z Indexed on 2012/06/05 4:42 UTC
Read the original article Hit count: 524

Filed under:
|

I am tring to Specify tcpreplay speed but I can't do it this is my detail of test:

$tcpreplay -V tcpreplay version: 3.4.4 (build 2450)

1)$ tcpreplay -i %0 -p 100 -L 500 _udp_only.pcap Actual: 500 packets (42247 bytes) sent in 5.05 seconds.Rated: 8365.7 bps, 0.06 Mbps, 99.01 pps s

2)$ tcpreplay -i %0 -p 1000 -L 5000 _udp_only.pcap Actual: 5000 packets (427710 bytes) sent in 5.19 seconds. Rated: 82410.4 bps, 0.63 Mbps, 963.39 pps

//here is problem I stay in 966.00 pps

3)$ tcpreplay -i %0 -p 10000 -L 50000 _udp_only.pcap Actual: 50000 packets (4322559 bytes) sent in 51.76 seconds.Rated: 83511.6 bps, 0.64 Mbps, 966.00 pps

I have same problem when I try to Specify --mbps for 8600 packets 86 byte avg for each packet

-M0.086 -L 860 ----> Rated: 10812.9 bps, 0.08 Mbps, 127.22 pps

-M0.86 -L 860 ----> Rated: 83062.5 bps, 0.63 Mbps, 977.27 pps

-M0.86 -L 8600 ----> Rated: 82554.9 bps, 0.63 Mbps, 965.21 pps

why and how I can to Specify speed?

I use OS windows7

© Server Fault or respective owner

Related posts about networking

Related posts about tcpreplay