lkml.org 
[lkml]   [2001]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Scalable page cache
On Mon, 26 Nov 2001, David S. Miller wrote:
> From: Ingo Molnar <mingo@elte.hu>
> Date: Mon, 26 Nov 2001 18:22:25 +0100 (CET)
>
> The problem with the tree is that if we have a big, eg. 16 GB pagecache,
> then even assuming a perfectly balanced tree, it takes more than 20
> iterations to find the page in the tree.
>
> His tree is per-inode, so you'd need a fully in ram 16GB _FILE_ to get
> the bad tree search properties you describe.

Also, if you keep heavily accessing that file, chances
are the top nodes of the tree will be in cache.

> I like his patch, a lot.

Certainly removes some complexity ;)

Rik
--
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/

http://www.surriel.com/ http://distro.conectiva.com/

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

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