On Thu, Jul 17, 2008 at 9:33 AM, Hardik Modi <[EMAIL PROTECTED]> wrote: > Hello All, > > Hat-tip, Aaron and everybody else responsible for tcpreplay. The tool is > great and many thanks. > > I need to generate traffic at speeds greater than 1Gbps and am not sure if I > want to invest in test equipment from vendors like Ixia or Spirent. So far, > tcpreplay on stock hardware has been just fine for speeds approaching that > limit. I wanted to ask if other users have much experience with running > tcpreplay on machines with 10GE NICs. > > Specifically: > 1. How fast could you transmit, with what kind of traffic? > 2. What hardware did you use - NIC, CPU, motherboard etc? > 3. Any tips or advice? > > My goal is to get near and preferably beyond 5Gbps. If I can't achieve this > with a single machine, I might buy a switch to aggregate multiple 1Gbps > feeds, but of course, that's more involved from a management standpoint. Any > advice on alternative low-cost traffic generation solutions is also > appreciated.
I don't have much experience w/ beyond 1Gbps. I've got a box w/ a InterfaceMasters 10G card (4x PCI-e, Intel chipset) & dual quad core 2.33Ghz Xeons. Sorry, can't comment on the motherboard. I haven't tried tcpreplay on it yet, but maybe I can find some time. A few tips/advice I can tell you off the bat though: 1) Larger packets are better. 2) I know the Intel driver says there is a performance hit for using Jumbo frames.... I don't know how big of a hit to know if it's worth the tradeoff or not. It's worth trying out. 3) Be sure to have enough RAM to be able to use the --enable-file-cache option 4) Don't edit packets w/ tcpreplay (don't even configure tcpreplay with the --enable-tcpreplay-edit option) 5) Use --topspeed. Trying to use any controls to slow down tcpreplay will dramatically limit overall speed. 6) Get the fastest CPU (Ghz) you can. tcpreplay isn't multi-threaded, so it doesn't care how many core you have. There's also some additional tuning advice in the FAQ. -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/tcpreplay-users Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
