From: bert hubert <ahu@ds9a.nl>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Anti-CBQ Statements in Howto
Date: Thu, 06 Dec 2001 22:58:40 +0000 [thread overview]
Message-ID: <marc-lartc-100767956402765@msgid-missing> (raw)
In-Reply-To: <marc-lartc-100767069231496@msgid-missing>
On Thu, Dec 06, 2001 at 04:17:10PM -0500, Michael T. Babcock wrote:
> > Read linux/net/sched/sch_cbq.c for some enlightenment.
>
> The first thing I did with the 2.2.x kernels was read most of the source for
> most of the sch_*.c files I found interesting along with a couple of
> co-workers to understand what they were doing. That makes me a techie and
> probably not a typical user ... but that's ok, right?
Yeah, but I specifically mean comments from Alexey himself about CBQ in
Linux:
--- It seems that cbq-2.0 is not very accurate. At least, I cannot
interpret some places, which look like wrong translations
from NS. Anyone is advised to find these differences
and explain to me, why I am wrong 8).
--- Linux has no EOI event, so that we cannot estimate true class
idle time. Workaround is to consider the next dequeue event
as sign that previous packet is finished. This is wrong because of
internal device queueing, but on a permanently loaded link it is
true.
Moreover, combined with clock integrator, this scheme looks
very close to an ideal solution. */
> > If you see CBQ working well, you are probably on an empty 10 or 100mbit
> > segment, talking directly to the switch, or using a plain-old-modem with a
> > fixed bitrate. In other cases, CBQ is 'saved' because it actually contains
> > token bucket filters, which ARE pretty accurate.
>
> Actually, I've got a 10/100 switch attached to three servers, four ethernet
> clients and a gateway that is on a fibre optic link to the Internet with
> a backup cable modem for web traffic (like A/V streaming) and one dial-in
> customer who expects to get snappy response on their 33k6 modem.
So you fall into the 'CBQ should work well' category.
> > CBQ relies on being dequeued at a well known rate, which is simply not
> > always the case. Furthermore, often there is no 'well known rate', for
> > example when using a PPP-over-Ethernet modem over a userspace socket.
>
> I'm sure this is a common case for some users, but its hasn't been something
> I've had to deal with, thus my lack of empathy.
Well, I decided to get to the bottom of this due to the relatively large
number of 'CBQ doesn't work!' complaints I receive.
> PS, I do appreciate the HOWTO and the help its been. If I may make another
> suggestion though, having links to external ressources from within the HOWTO
> sections might be useful -- descriptions of how RED and SFQ work according
> to people who've done masters work with them and/or designed them are online
> in PDF and other formats which I've found quite enlightening for knowing how
> these things ought to work.
If you have good links, I would be very happy to receive them! I don't need
to invent the wheel, if good stuff is available, I want to link it.
Regards,
bert
--
http://www.PowerDNS.com Versatile DNS Software & Services
Trilab The Technology People
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
prev parent reply other threads:[~2001-12-06 22:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-06 20:30 [LARTC] Anti-CBQ Statements in Howto Michael T. Babcock
2001-12-06 21:01 ` bert hubert
2001-12-06 21:17 ` Michael T. Babcock
2001-12-06 22:58 ` bert hubert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-100767956402765@msgid-missing \
--to=ahu@ds9a.nl \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.