From: Martin Devera <devik@cdi.cz>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] SFQ buckets
Date: Tue, 04 Jun 2002 18:39:14 +0000 [thread overview]
Message-ID: <marc-lartc-102321604520480@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102321147014980@msgid-missing>
Probably the more cheap way is to simply increase no of buckets.
With adaptive bin number you will probably end up with linear
hashing which is still fast but increasing no of bucket and keep
single level search will probably be yet faster.
Just my opinion ...
devik
On Tue, 4 Jun 2002, Michael T. Babcock wrote:
> Just a thought, after talking to a friend who's doing his master's work
> on RED and other queueing algorithms ...
>
> ... What if SFQ were to start with a minimal number of buckets, and
> track how 'deep' each bucket was, then go to a larger number of bits
> (2/4 at a time?) if the buckets hit a certain depth? Theoretically,
> this would mean that 'fairness' would be achieved more often in current
> collision situations but that a smaller number of buckets would be
> necessary to achieve fairness in currently low-collision situations.
>
> I haven't looked at the SFQ code in a while, so I don't know how much
> benefit this would be in terms of processing time, or even how expensive
> it would be to change hash sizes on the fly, but at a certain level of
> resolution (+/- 2-4 bits), the changes wouldn't be terribly frequent
> anyway.
>
> I've always been a bit of a fan of self-tuning algorithms anyway :)
> --
> Michael T. Babcock
> CTO, FibreSpeed Ltd.
>
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>
>
_______________________________________________
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-04 18:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-04 17:23 [LARTC] SFQ buckets Michael T. Babcock
2002-06-04 18:39 ` Martin Devera [this message]
2002-06-04 19:20 ` PiotR
2002-06-04 19:40 ` Martin Devera
2002-06-04 19:47 ` Michael T. Babcock
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-102321604520480@msgid-missing \
--to=devik@cdi.cz \
--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.