yeah, it uses multiple tx queues for a single device.

Strangely, we did not see two kclick hogging up with the following click
conf as well..

What was the click compilation options you used, apart from what we had..

./configure --enable-linuxmodule --enable-warp9
> >> --enable-multithread=8 --disable-userlevel
> >> and command line for running click was

On Tue, Feb 1, 2011 at 6:50 PM, Roman Chertov <[email protected]> wrote:

> I am not sure what your MQToDevice element does (i assume it uses multiple
> tx
> queues for a single device).
>
> However, with the script below
> 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)
>     -> uq0 :: Unqueue2
>    -> Discard;
>
> StaticThreadSched(pd0 0, uq0 0);
>
> pd1 :: RandomSource(1400)
>    -> q2 :: CPUQueue(1000)
>     -> uq1 :: Unqueue2
>    -> Discard;
>
> When I run top, I can see to kclick hogging up two CPUs.
>
> Roman
>
>
> On Tue, 1 Feb 2011 18:38:19 -0600 "Nilay" <[email protected]> wrote
>
> > 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 <[email protected]>
> > > 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 <[email protected]> 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 <[email protected]>
> > >> 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
> > >> > > [email protected]
> > >> > > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> > >> > >
> > >> > _______________________________________________
> > >> > click mailing list
> > >> > [email protected]
> > >> > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> > >> >
> > >> _______________________________________________
> > >> click mailing list
> > >> [email protected]
> > >> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> > >
> > >
> > > _______________________________________________
> > > click mailing list
> > > [email protected]
> > > https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> > >
> >
> >
> > --
> > Nilay
>
>
>
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to