[Click] Multi-threaded Traffic Generation
Nilay
nilay at cs.wisc.edu
Tue Feb 1 19:38:19 EST 2011
gen2.conf looks like
pd0 :: InfiniteSource(DATA \<00 00 c0 ae 67 ef 00 00 00 00 00 00 08 00
45 00 00 28 00 00 00 00 40 11 77 c3 01 00 00 01
02 00 00 02 13 69 13 69 00 14 d6 41 55 44 50 20
70 61 63 6b 65 74 21 0a 04 00 00 00 01 00 00 00
01 00 00 00 00 00 00 00 00 80 04 08 00 80 04 08
53 53 00 00 53 53 00 00 05 00 00 00 00 10 00 00
01 00 00 00 54 53 00 00 54 e3 04 08 54 e3 04 08
d8 01 00 00>, LIMIT -1, STOP true) ->
q1 :: CPUQueue(1000) ->
td0 :: MQToDevice(eth1, QUEUE 0, BURST 32);
StaticThreadSched(pd0 0, td0 0);
pd1 :: RandomSource(1400) ->
q2 :: CPUQueue(1000) ->
td1 :: MQToDevice(eth1, QUEUE 1, BURST 32);
StaticThreadSched(pd1 1, td1 1);
~
On Tue, February 1, 2011 6:34 pm, Roman Chertov wrote:
> On Tue, 1 Feb 2011 18:26:12 -0600 Ashok Anand <ashok.anand at gmail.com>
> wrote
>
>> We used, ./configure --enable-linuxmodule --enable-warp9
>> --enable-multithread=8 --disable-userlevel
>> and command line for running click was
>> click-install -t 8 gen2.conf
>
> And how does gen2.conf look like?
>
> Roman
>
>>
>> On Thu, Jan 20, 2011 at 7:54 PM, Cliff Frey <cliff at meraki.com> wrote:
>>
>> > what configuration params did you build click with, and what command
>> line
>> > are you running click with? (both involve flags to enable
>> multithreading)
>> >
>> > Cliff
>> >
>> > On Thu, Jan 20, 2011 at 5:34 PM, Nilay Vaish <nilay at cs.wisc.edu>
>> wrote:
>> >
>> > > I am trying to generate traffic using Click in its multi-threaded
>> mode.
>> > The
>> > > configuration file looks like following :
>> > >
>> > > pd0 :: InfiniteSource(DATA \<00 00 c0 ae 67 ef 00 00 00 00 00 00
>> 08 00
>> > > 45 00 00 28 00 00 00 00 40 11 77 c3 01 00 00 01
>> > > 02 00 00 02 13 69 13 69 00 14 d6 41 55 44 50 20
>> > > 70 61 63 6b 65 74 21 0a 04 00 00 00 01 00 00 00
>> > > 01 00 00 00 00 00 00 00 00 80 04 08 00 80 04 08
>> > > 53 53 00 00 53 53 00 00 05 00 00 00 00 10 00 00
>> > > 01 00 00 00 54 53 00 00 54 e3 04 08 54 e3 04 08
>> > > d8 01 00 00>, LIMIT 600000, STOP true) ->
>> > > td0 :: MQToDevice(eth1, QUEUE 0, BURST 32);
>> > > StaticThreadSched(pd0 0, td0 0);
>> > >
>> > >
>> > > It actually eight such descriptions. The router starts with this
>> > > configuraion,
>> > > but I see only when active thread when I use the 'top' utility. Any
>> idea
>> > as
>> > > to
>> > > what could be the reason for this?
>> > >
>> > > Thanks
>> > > Nilay
>> > > _______________________________________________
>> > > click mailing list
>> > > click at amsterdam.lcs.mit.edu
>> > > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>> > >
>> > _______________________________________________
>> > click mailing list
>> > click at amsterdam.lcs.mit.edu
>> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>> >
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
--
Nilay
More information about the click
mailing list