[lkml]   [2001]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: speed difference between using hard-linked and modular drives?
Ingo Molnar wrote:
> On Thu, 8 Nov 2001, Andrew Morton wrote:
> > Well on my setup, there are more hash buckets than there are pages in
> > the system. So - basically empty. If memory serves me, never more
> > than two pages in a bucket.
> how much RAM and how many buckets are there on your system?

urgh. It was ages ago. I shouldn't have stuck my head up ;)

I guess it was 256 megs:

Kernel command line: ... mem=256m
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)

And that's one entry per page, yes?

I ended up concluding that

a) The hash is sucky and
b) Except for certain specialised workloads, a lookup is usually
associated with a big memory copy, so none of it matters and
c) given b), the page cache hashtable is on the wrong side of the
size/space tradeoff :)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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