I''m looking for a PRIO type qdisc which will prioritize packets (either based on DS or filters). Unlike PRIO, I need all the classes to flow into a single qdisc (HTB). For example: PRIO | +--------+--------+ | | | Band0 Band1 Band2 | | | +--------+--------+ | HTB Does such a qdisc exist or is there a way to get all the PRIO classes to flow into a single qdisc? Paul C. Diem PCDiem@FoxValley.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Tuesday 17 December 2002 07:05, Paul C. Diem wrote:> I''m looking for a PRIO type qdisc which will prioritize packets (either > based on DS or filters). Unlike PRIO, I need all the classes to flow into > a single qdisc (HTB). For example: > > PRIO > > +--------+--------+ > > Band0 Band1 Band2 > > +--------+--------+ > > HTB > > Does such a qdisc exist or is there a way to get all the PRIO classes to > flow into a single qdisc?There is no such qdisc. And I don''t think there is such way. But why do you want to do this? Stef -- stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wed, 18 Dec 2002, Stef Coene wrote:> On Tuesday 17 December 2002 07:05, Paul C. Diem wrote: > > I''m looking for a PRIO type qdisc which will prioritize packets (either > > based on DS or filters). Unlike PRIO, I need all the classes to flow into > > a single qdisc (HTB). For example: > > > > PRIO > > > > +--------+--------+ > > > > Band0 Band1 Band2 > > > > +--------+--------+ > > > > HTB > > > > Does such a qdisc exist or is there a way to get all the PRIO classes to > > flow into a single qdisc? > There is no such qdisc. And I don''t think there is such way. > > But why do you want to do this?Here''s what I''m really trying to accomplish: I have several links of various speeds. Some of the links feed from other links. For example, +---> B +---> E | | A <---< 10Mbps >---+---> C <---< 6Mbps >---+---> F <---< 6Mbps >---> H | +---> D <---< 3Mbps >---> G ie. I have a 10Mbps link from A which feeds B, C and D, a 6Mbps link from C which feeds E and F, a 6Mbps link from F which feeds H and a 3Mbps link from D which feeds G. I need to provide multiple levels of service (based on maximum bandwidth and packet priority) at each node. What I''d like to do it use htb to cap the bandwidth and some sort of prio qdisc to prioritize packets. The problem with prio is that I''d need to define the entire remaining "link tree" for each band at each level. It seems I need a qdisc which will prioritize packets based on some mark (ie. DS) but only had one class (instead of as many classes at there are bands like prio). It looks like gred may do something like this but I can''t find any detailed information on gred. If I''m going about this all wrong, please let me know. Paul C. Diem PCDiem@FoxValley.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hayden Myers Support Manager Skyline Network Technologies hayden@spinbox.com (410)583-1337 option 2> > > I''m looking for a PRIO type qdisc which will prioritize packets (either > > > based on DS or filters). Unlike PRIO, I need all the classes to flow into > > > a single qdisc (HTB). For example: > > > > > > PRIO > > > > > > +--------+--------+ > > > > > > Band0 Band1 Band2 > > > > > > +--------+--------+ > > > > > > HTB > > > > > > Does such a qdisc exist or is there a way to get all the PRIO classes to > > > flow into a single qdisc? > > There is no such qdisc. And I don''t think there is such way. > > > > But why do you want to do this? >I had wanted to do similar things a while back before 10 other things beat me over the head and set me back. It''s funny because the above topology is exactly what I had envisioned but read that it was impossible. My setup is to have a number of users who have bandwidth limiting based on an ip but also does priority shaping as well. I finally decided that I could have a top level htb qdisc for the total box bandwidth with seperate classes for the users below the box bandwidth qdisc. Underneath each user''s class I thought that I could possibly attach a prio qdisc to do independent priority scheduling. I don''t know if this works. It was just a thought I had. If think the manpage shows that you can attach a prio to any class. Does this work and is it a feasable setup? _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Wed, 18 Dec 2002, Hayden Myers wrote:> > > > I''m looking for a PRIO type qdisc which will prioritize packets (either > > > > based on DS or filters). Unlike PRIO, I need all the classes to flow into > > > > a single qdisc (HTB). For example: > > > > > > > > PRIO > > > > > > > > +--------+--------+ > > > > > > > > Band0 Band1 Band2 > > > > > > > > +--------+--------+ > > > > > > > > HTB > > > > > > > > Does such a qdisc exist or is there a way to get all the PRIO classes to > > > > flow into a single qdisc? > > > There is no such qdisc. And I don''t think there is such way. > > > > > > But why do you want to do this? > > > I had wanted to do similar things a while back before 10 other things beat > me over the head and set me back. It''s funny because the above topology > is exactly what I had envisioned but read that it was impossible. My > setup is to have a number of users who have bandwidth limiting based on an > ip but also does priority shaping as well. I finally decided that I could > have a top level htb qdisc for the total box bandwidth with seperate > classes for the users below the box bandwidth qdisc. Underneath each > user''s class I thought that I could possibly attach a prio qdisc to do > independent priority scheduling. I don''t know if this works. It was just > a thought I had. If think the manpage shows that you can attach a prio > to any class. Does this work and is it a feasable setup?Right now we have one htb qdisc at the root and a class under it for each user. We could put a prio qdisc at the root and use htb under each of prio''s band classes. This gets ridiculously complex though as you get more link levels. I''d really like to be able to priorize the packets at each node though so that higher priority packets take precendence at each link (not just at the main link). Paul C. Diem PCDiem@FoxValley.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/