FYI:
tcpreplay -i en0 -M 30.0 -l 1000 -Kq -T abstime ./test/test.rewrite_pad
Actual: 100000 packets (70205000 bytes) sent in 18.71 seconds
Rated: 3752271.5 bps, 28.63 Mbps, 5344.74 pps
Statistics for network device: en0
Attempted packets: 100000
Successful packets: 100000
Failed packets: 0
Retried packets (ENOBUFS): 0
Retried packets (EAGAIN): 0
Looks about right to me.
On Mon, Feb 16, 2009 at 9:26 PM, Aaron Turner <[email protected]> wrote:
> The -a option was removed in 3.4.0 because the --timer option replaces
> it. In most cases, --timer defaults to gettimeofday() which is what
> -a did anyways, so you're not gaining anything by downgrading.
>
> Honestly, if you're trying to get high performance, you really need to
> read the wiki sections about choosing a timing method and tuning for
> high-performance:
>
> http://tcpreplay.synfin.net/trac/wiki/tcpreplay#ChoosingaTimingMethod
>
> Short version: timing by --mbps is bad. Use --topspeed or --pps and
> --pps-multi instead.
>
> That said, 3.4.1 is getting really close to release. If you really
> have found a serious performance issue with --mbps, I'd like to fix it
> now, so please send me more info.
>
> Thanks,
> Aaron
>
> On Mon, Feb 16, 2009 at 9:11 PM, Rayne <[email protected]> wrote:
>> It's alright. I've uninstalled tcpreplay 3.4.0 and installed 3.2.5 instead,
>> since I also want to use the -a option.
>>
>> Thank you.
>>
>> Regards,
>> Rayne
>>
>> --- On Tue, 17/2/09, Aaron Turner <[email protected]> wrote:
>>
>>> From: Aaron Turner <[email protected]>
>>> Subject: Re: [Tcpreplay-users] -M option
>>> To: "Main forum for tcpreplay" <[email protected]>
>>> Date: Tuesday, 17 February, 2009, 9:24 AM
>>> Sounds like a possible bug... I'll need more information
>>> to understand
>>> what's going on. Please read:
>>>
>>> http://tcpreplay.synfin.net/trac/wiki/Support#WhatInfoWeNeed
>>>
>>> and send me a few thousand packets gzipped if possible.
>>>
>>> On Mon, Feb 16, 2009 at 5:14 PM, Rayne
>>> <[email protected]> wrote:
>>> > I've tried with a 4 GB file, and I'm still
>>> getting 2 - 3 Mbps. I'm able to get 900+ Mbps using the
>>> -t option, though.
>>> >
>>> > Thank you.
>>> >
>>> > Regards,
>>> > Rayne
>>> >
>>> > --- On Tue, 17/2/09, Aaron Turner
>>> <[email protected]> wrote:
>>> >
>>> >> From: Aaron Turner <[email protected]>
>>> >> Subject: Re: [Tcpreplay-users] -M option
>>> >> To: "Main forum for tcpreplay"
>>> <[email protected]>
>>> >> Date: Tuesday, 17 February, 2009, 12:56 AM
>>> >> On Mon, Feb 16, 2009 at 2:12 AM, Rayne
>>> >> <[email protected]> wrote:
>>> >> > Hi,
>>> >> >
>>> >> > I'm using tcpreplay 3.4.0 and it seems
>>> that the -M
>>> >> option does not work for me.
>>> >> >
>>> >> > I used the command "tcpreplay -i eth0 -M
>>> 100
>>> >> FILENAME", but the speed I got was 3 Mbps. I
>>> also tried
>>> >> "tcpreplay -i eth0 -M 100.0 FILENAME"
>>> and still
>>> >> got the speed of 3 Mbps.
>>> >> >
>>> >>
>>> >> This is common with really small pcap files- there
>>> just
>>> >> aren't enough
>>> >> packets to send enough data for an entire second-
>>> the
>>> >> result is
>>> >> tcpreplay's statistical reporting is off.
>>> >>
>>> >> --
>>> >> 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
>>> >
>>> >
>>> > New Email names for you!
>>> > Get the Email name you've always wanted on the new
>>> @ymail and @rocketmail.
>>> > Hurry before someone else does!
>>> > http://mail.promotions.yahoo.com/newdomains/sg/
>>> >
>>> >
>>> ------------------------------------------------------------------------------
>>> > Open Source Business Conference (OSBC), March 24-25,
>>> 2009, San Francisco, CA
>>> > -OSBC tackles the biggest issue in open source: Open
>>> Sourcing the Enterprise
>>> > -Strategies to boost innovation and cut costs with
>>> open source participation
>>> > -Receive a $600 discount off the registration fee with
>>> the source code: SFAD
>>> > http://p.sf.net/sfu/XcvMzF8H
>>> > _______________________________________________
>>> > Tcpreplay-users mailing list
>>> > [email protected]
>>> >
>>> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
>>> > Support Information:
>>> http://tcpreplay.synfin.net/trac/wiki/Support
>>> >
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>> ------------------------------------------------------------------------------
>>> Open Source Business Conference (OSBC), March 24-25, 2009,
>>> San Francisco, CA
>>> -OSBC tackles the biggest issue in open source: Open
>>> Sourcing the Enterprise
>>> -Strategies to boost innovation and cut costs with open
>>> source participation
>>> -Receive a $600 discount off the registration fee with the
>>> source code: SFAD
>>> http://p.sf.net/sfu/XcvMzF8H
>>> _______________________________________________
>>> Tcpreplay-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
>>> Support Information:
>>> http://tcpreplay.synfin.net/trac/wiki/Support
>>
>>
>> Importing contacts has never been easier..Bring your friends over to
>> Yahoo! Mail today! http://www.trueswitch.com/yahoo-sg
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Tcpreplay-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
>> Support Information: http://tcpreplay.synfin.net/trac/wiki/Support
>>
>
>
>
> --
> 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
>
--
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
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users
Support Information: http://tcpreplay.synfin.net/trac/wiki/Support