lkml.org 
[lkml]   [1999]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] hashtable sizes for icache and dcache
   Date:   Wed, 22 Sep 1999 22:43:31 +0300
From: Matti Aarnio <matti.aarnio@sonera.fi>

Well, what processor gives that ?
At Alpha ... Depending on GCC optimization level the calculation result
of block hash is from 23 instructions (gcc optimized, 4 memory loads)
via 30 instructions (Compaq C Compiler optimized or not, along with 13
memory loads) to 42 instructions (gcc -O0, 12 memory loads)

I'm talking about the hash function value computation alone.
Once the device/ino pair and bh_hash_shift are in a register,
it is 10 instructions later that the hash value is computed.

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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.030 / U:1.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site