From: don-lartc@isis.cs3-inc.com (Don Cohen)
To: lartc@vger.kernel.org
Subject: Re: [LARTC] SFQ buckets/extensions
Date: Fri, 07 Jun 2002 16:14:53 +0000 [thread overview]
Message-ID: <marc-lartc-102346665603952@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102329319618482@msgid-missing>
Alexander Atanasov writes:
> SFQ classify connections with ports, esfq classify them and just by IP so
> we can have flows:
> SRC IP+proto+DST IP+PORT - one flow
> just DST IP - one flow
> another we can think of - one flow
> So i think just about packets of size bytes but without protos which they
> carry and TCP with its features to tune becomes a kind of exception.
I don't think this is true. First, of course, almost all packets TCP.
Second, I'd expect that multiple TCP streams along the same path tend
to equalize, assuming of course that they are not differentiated along
the way. E.g., with just fifo queuing I'd expect that two scp's along
the same path would tend toward equal bandwidth. If this is true then
multiple TCP streams along the same path would tend to act like one.
Perhaps someone else out there can either confirm or debunk that
expectation?
Of course, things get more complicated when the streams have the same
source but different destinations. In that case I'd expect them to
again adjust to the differences in bandwidth to the different
destinations. So maybe sub-subqueues below the source IP subqueues
are not so important.
> > No, the errors are accumulated. It's always within one packet of the
> > ideal in terms of what's sent. The advantage of measuring queue
> > length in bytes would be more fairness in dropping, i.e., you should
> > drop from a queue with 10 packets each of length 1000 bytes instead of
> > a queue with 20 packets each of length 100 bytes.
>
> I didn't get it ? What do you mean - have different queues
> agains packets sizes ?
I was suggesting that when you add a packet to a subqueue you not just
record the fact that there are now 16 packets in that subqueue, but
1600 bytes. Then the limit on total queue size is measured in bytes.
When you enqueue, you check to see whether this packet would cause the
limit to be exceeded, and if so you drop from the subqueue with the
most bytes.
That's closer to the spirit of SFQ, but it's probably more expensive
in run time. The current implementation has a very fast way to
determine which subqueue has the most packets. The object is to make
enqueue/dequeue small constant time operations. I don't see (so far)
how to do that with queue lengths measured in bytes.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2002-06-07 16:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-05 16:04 [LARTC] SFQ buckets/extensions Don Cohen
2002-06-06 0:53 ` Alexander Atanasov
2002-06-06 6:01 ` Don Cohen
2002-06-06 13:05 ` Michael T. Babcock
2002-06-06 23:06 ` Alexander Atanasov
2002-06-06 23:38 ` Don Cohen
2002-06-07 1:33 ` Alexander Atanasov
2002-06-07 1:59 ` Don Cohen
2002-06-07 8:26 ` Alexander Atanasov
2002-06-07 14:18 ` Michael T. Babcock
2002-06-07 14:37 ` Jan Coppens
2002-06-07 16:14 ` Don Cohen [this message]
2002-06-07 18:13 ` Martin Devera
2002-06-07 18:38 ` Martin Devera
2002-06-07 19:01 ` Michael T. Babcock
2002-06-07 19:08 ` Martin Devera
2002-06-07 19:50 ` Michael T. Babcock
2002-06-08 18:42 ` Gregory Maxwell
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-102346665603952@msgid-missing \
--to=don-lartc@isis.cs3-inc.com \
--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.