* [LARTC] [ANNOUNCE] ESFQ for Linux 2.6.13
@ 2005-10-24 9:02 Corey Hickey
0 siblings, 0 replies; 2+ messages in thread
From: Corey Hickey @ 2005-10-24 9:02 UTC (permalink / raw)
To: lartc
In a recent thread on this list, Robert Kurjata provided me a patch to add
hashing by iptables mark to the Linux 2.4 version of ESFQ. Thanks to that
contribution, I was able to easily add support to the 2.6 port I maintain.
I found out, however, that the existing hash algorithm results in a lot of
colllisions when the range of hashed values is small. The purturbation
spreads the collisions out a little, but the result still wasn't very
fair, especially when hashing only three fwmark values: 0, 1 and 2.
So, I wrote an alternative hash function. It's quite simple, and as long
as the range of input values is smaller than the hash table (default 1024,
up to 16384), collisions will not happen at all. See the updated README
file for more details.
Home page:
http://fatooh.org/esfq-2.6/
Direct URL:
http://fatooh.org/esfq-2.6/esfq-2.6.13.tar.gz
README (also available in the tar.gz):
http://fatooh.org/esfq-2.6/current/README
Try it out, have fun, and if you find a bug or have a suggestion please
send me an email.
-Corey
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] [ANNOUNCE] ESFQ for Linux 2.6.13
@ 2005-11-16 15:35 Andy Furniss
0 siblings, 0 replies; 2+ messages in thread
From: Andy Furniss @ 2005-11-16 15:35 UTC (permalink / raw)
To: lartc
Corey Hickey wrote:
> In a recent thread on this list, Robert Kurjata provided me a patch to add
> hashing by iptables mark to the Linux 2.4 version of ESFQ. Thanks to that
> contribution, I was able to easily add support to the 2.6 port I maintain.
>
> I found out, however, that the existing hash algorithm results in a lot of
> colllisions when the range of hashed values is small. The purturbation
> spreads the collisions out a little, but the result still wasn't very
> fair, especially when hashing only three fwmark values: 0, 1 and 2.
>
> So, I wrote an alternative hash function. It's quite simple, and as long
> as the range of input values is smaller than the hash table (default 1024,
> up to 16384), collisions will not happen at all. See the updated README
> file for more details.
>
> Home page:
> http://fatooh.org/esfq-2.6/
>
> Direct URL:
> http://fatooh.org/esfq-2.6/esfq-2.6.13.tar.gz
>
> README (also available in the tar.gz):
> http://fatooh.org/esfq-2.6/current/README
>
> Try it out, have fun, and if you find a bug or have a suggestion please
> send me an email.
Loosing perturb for non classic is really good thanks Corey.
Andy.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-16 15:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 15:35 [LARTC] [ANNOUNCE] ESFQ for Linux 2.6.13 Andy Furniss
-- strict thread matches above, loose matches on Subject: below --
2005-10-24 9:02 Corey Hickey
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.