[lkml]   [2003]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Horrible L2 cache effects from kernel compile
Andi wrote:

>The reason:
>Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
>Inode cache hash table entries: 65536 (order: 7, 524288 bytes)
>(1GB) I bet on your big memory box it is even worse. No cache
>in the world can cache that.

>Try the appended experimental patch. It replaces the hash table madness
>with relatively small fixed tables.
Are you sure that this will help?
With a smaller table, you might cause fewer cache misses for the table
lookup. Instead you get longer hash chains. Walking linked lists
probably causes more cache line misses than the single array lookup.

Dave, how many entries are in the dcache?

Btw, has anyone tried to replaced the global dcache with something
local, perhaps a tree instead of d_child, and then lookup in d_child_tree?


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:33    [W:0.050 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site