-
Notifications
You must be signed in to change notification settings - Fork 290
Closed
Description
On fast links (i.e. 10GigE) the '--mbps' option is not performing as quickly as the '-t' option. This should be improved. Example:
# tcpreplay --preload-pcap --intf1=eth7 -t --loop 10 bosTap.pcap
File Cache is enabled
Actual: 7916150 packets (3554177840 bytes) sent in 4.31 seconds.
Rated: 824635200.0 Bps, 6597.08 Mbps, 1836693.75 pps
Statistics for network device: eth7
Attempted packets: 7916150
Successful packets: 7916150
Failed packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
# tcpreplay --preload-pcap --intf1=eth7 --mbps=4000 --loop 10 bosTap.pcap
File Cache is enabled
Actual: 7916150 packets (3554177840 bytes) sent in 8.99 seconds.
Rated: 395347936.0 Bps, 3162.78 Mbps, 880550.62 pps
Statistics for network device: eth7
Attempted packets: 7916150
Successful packets: 7916150
Failed packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
Reactions are currently unavailable