RE: Re: PQ questions

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cool,

Thanks Christian! I'm wishing that all of those same params showed up in the
output without having to run anything. No problem. Should it matter that I'm
using an emulated interface?

Also wondering what you think about my "hierarchical PQ" question. Have a
good weekend.


> -----Original Message-----
> From: Christian Benvenuti [mailto:christian.benvenuti@xxxxxxxxx]
> Sent: Friday, June 15, 2007 2:57 PM
> To: lartc@xxxxxxxxxxxxxxx
> Cc: Tim Enos
> Subject: RE:  Re: PQ questions
> 
> Hi,
> 
> On Fri, 2007-06-15 at 14:31 -0400, Tim Enos wrote:
> > Please send me the exact config by which you got all those params in the
> > output (especially backlog 0b 35p)... I just do not see that in mine.
> 
> The configuration is the same as yours, with the difference that I have
> eth0 instead of eml_test.
> I believe your config is OK.
> I managed to get backlog!=0 by generating a huge amount of traffic with
> mgen: 10K pkts/s of 1300bytes of size.
> If you do not saturate your link it is likely you will not see anything
> sitting in the queue.
> 
> Regards
> /Christian
> [ http://benve.info ]
> 
> 
> > > -----Original Message-----
> > > From: lartc-bounces@xxxxxxxxxxxxxxx [mailto:lartc-
> bounces@xxxxxxxxxxxxxxx]
> > > On Behalf Of Christian Benvenuti
> > > Sent: Friday, June 15, 2007 3:32 AM
> > > To: lartc@xxxxxxxxxxxxxxx
> > > Subject:  Re: PQ questions
> > >
> > > Hi,
> > >
> > > > > Your config does not prevent an higher priority class from
> starving
> > > > > a lower priority class.
> > > >
> > > > Exactly. That is requirement.
> > >
> > > OK
> > >
> > > > Those stats are nice to have, but the ones I must have are for how
> many
> > > > bytes/packets are enqueued at whatever time I check the queues.
> > >
> > > That information is there. Here is an example:
> > > (b=bytes p=packets)
> > >
> > > #tc -s -d qdisc list dev eth1
> > >
> > > qdisc prio 1:  root bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
> > >   Sent 85357186 bytes 59299 pkt (dropped 0, overlimits 0 requeues 0)
> > >   rate 0bit 0pps backlog 0b 35p requeues 0
> > >                          +-> This field is not initialized for this
> > >                              qdisc type
> > > qdisc pfifo 10:  parent 1:1 limit 1000p
> > >   Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
> > >  rate 0bit 0pps backlog 0b 0p requeues 0
> > >                 ^^^^^^^^^^^^^
> > > qdisc pfifo 20: parent 1:2 limit 1000p
> > >   Sent 85357120 bytes 59298 pkt (dropped 0, overlimits 0 requeues 0)
> > >  rate 0bit 0pps backlog 50470b 35p requeues 0
> > >                 ^^^^^^^^^^^^^^^^^^
> > > qdisc pfifo 30: parent 1:3 limit 1000p
> > >   Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
> > >   rate 0bit 0pps backlog 0b 0p requeues 0
> > >                  ^^^^^^^^^^^^^
> > >
> > > > I have tried to configure PQ to have two queues per filter with no
> > > success.
> > >
> > > What do you mean?
> > >
> > > > Is it even possible to have (what I'll call) hierarchical PQ? I have
> yet
> > > to
> > > > find it.
> > >
> > > Something like this?
> > >
> > > tc qdisc add dev eth1 handle 1: root prio
> > > tc qdisc add dev eth1 parent 1:1 handle 10 prio
> > > tc qdisc add dev eth1 parent 1:2 handle 20 prio
> > > tc qdisc add dev eth1 parent 1:3 handle 30 prio
> > >
> > > Regards
> > > /Christian
> > > [ http://benve.info ]
> > >

_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux