On Tue, Mar 23, 2010 at 1:13 PM, Guanyao Huang <gyhu...@ucdavis.edu> wrote: > Hi > I have a very general question regarding tcpreplay a pcap trace. When > replaying a trace, what is the actual time interval between two > different packets when you specifying a replay rate. Suppose > originally two intervals are 0.1s and 0.2s. If I want to replay at > lower rate, the intervals becomes 1s and 2s, or, will it become 1.5s > and 1.5s? Will the interval be uniform after I specifying a larger > rate, or, will it be according to the original interval? > Thanks.
Depends on what options you use. You can specify a hard coded rate in terms of packets/sec or Mbps, or use a multiplier to cause it to run X times faster/slower. Ie: --multiplier=0.1 would cause it to run 10x slower (0.1 sec becomes 1sec and 0.2sec -> 2sec). This is all documented in the man pages and online manual on the tcpreplay website: http://tcpreplay.synfin.net/wiki/tcpreplay#Replayingatdifferentspeeds -- Aaron Turner http://synfin.net/ http://tcpreplay.synfin.net/ - Pcap editing and replay tools for Unix & Windows Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin "carpe diem quam minimum credula postero" ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ 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