appneta / tcpreplay

Pcap editing and replay tools for *NIX and Windows - Users please download source from
http://tcpreplay.appneta.com/wiki/installation.html#downloads
1.19k stars 270 forks source link

Netmap, 4 seconds is not enough. #160

Closed SiGe closed 9 years ago

SiGe commented 9 years ago

Hello,

We are running tcpreplay with netmap. It seems like that sometimes waiting for 4 seconds is not enough. In our case I had to increase this wait to 10 seconds before the NIC was ready to accept packets. Maybe you could accept an option from the user, similar to pkt-gen's -w option, that specifies this wait time? If you would like I can submit a patch for this.

We are using a 48 core AMD machine, with X520 NICs (10Gbps) from Intel.

-- SiGe

fklassen commented 9 years ago

Sounds like a good idea. Note that in 4.0.6 we plan to introduce a Quick TX module which is simpler to use than netmap. It installs as a module, and doesn't require source code on the local machine.

aindeev commented 9 years ago

Changes made in pull request #162. The delay can now be specified by a command line flag --nm-delay