Re: [patch] hashtable sizes for icache and dcache

David S. Miller (davem@redhat.com)
Wed, 22 Sep 1999 10:08:24 -0700


Date: Wed, 22 Sep 1999 18:37:11 +0200 (CEST)
From: Andrea Arcangeli <andrea@suse.de>

On Wed, 22 Sep 1999, David S. Miller wrote:

>and TCP, with greatly improved hash functions for several of those.

The buffer hash you are using looks very slow in computing the hash even
if it may be the fairest in the math world.

It's 10 instructions, cut me a break, cache/tlb misses on load
instructions due to a mediocre hash cost several orders of magnitude
more than these 5 measly cpu cycles.

"very slow" indeed...

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/