Hi,
I have a question about tcpreplay sending speed. The -mbps specifies the
replay speed. But I found the pcap file is not replayed at the designed
speed. I think it is not a bug. Just want to help me to clarify why
there is such a big gap between the designed speed and the rated speed.
Another question is Mbps is speed, why the rated speed is Mbps/sec?
For example, I want to send packets at 1000 Mbps, but from the result,
the speed is 68.98 Mbps.
>tcpreplay -i eth2 --mbps=1000 /home/pat/capdata/packets_0504.pcap
sending out eth2
processing file: /home/pat/capdata/packets_0504.pcap
Actual: 2134756 packets (137197824 bytes) sent in 15.17 seconds
Rated: 9041873.0 bps, 68.98 Mbps/sec, 140688.77 pps
Statistics for network device: eth2
Attempted packets: 5146064
Successful packets: 2134756
Failed packets: 0
Retried packets (ENOBUFS): 3011308
Retried packets (EAGAIN): 0
Same packets, --mbps is set to 150 Mbps, the result speed is 8.70 Mbps.
>tcpreplay -i eth2 --mbps=150 /home/pat/capdata/packets_0504.pcap
sending out eth2
processing file: /home/pat/capdata/packets_0504.pcap
Actual: 2134756 packets (137197824 bytes) sent in 120.25 seconds
Rated: 1140866.4 bps, 8.70 Mbps/sec, 17751.53 pps
Statistics for network device: eth2
Attempted packets: 2134756
Successful packets: 2134756
Failed packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
The tcpreplay version
>tcpreplay -V
tcpreplay version: 3.3.1 (build 2033)
Copyright 2001-2008 by Aaron Turner <aturner at synfin dot net>
Cache file supported: 04
Not compiled with libnet.
Compiled against libpcap: 0.9.4
64 bit packet counters: enabled
Verbose printing via tcpdump: enabled
Packet editing: disabled
Fragroute engine: disabled
I am running on RHEL 5.2 on IBM 3650 server.
Thanks,
Roger
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tcpreplay-users mailing list
Tcpreplay-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support