Re: [PATCH] Radix-tree pagecache for 2.5

Linus Torvalds (torvalds@transmeta.com)
Fri, 1 Feb 2002 09:06:37 -0800 (PST)


On Fri, 1 Feb 2002, Ingo Molnar wrote:
>
> it's not just databases. It's webservers too, serving content via
> sendfile() from a single, bigger file. Think streaming media servers,
> where the 'movie of the night' sits in a single big binary glob.

Hey guys, be _realistic_.

Don't bother with "oh, this could be bad", when there are absolutely _no_
numbers showing any such badness.

Even databases often use multiple files, and quite frankly, a database
that doesn't use mmap and doesn't try very hard to not cause extra system
calls is going to be bad performance-wise _regardless_ of any page cache
locking.

Radix-trees are cleaner than the alternatives, and all the numbers anybody
has ever shown shows them to be at least equal in performance.

Stop making up things that just are NOT problems.

In web-servers, 99% of the content is small files, and if the file is
cached the expensive parts are all elsewhere. Don't make up "worst case
schenarios" that simply do no exist.

Linus

-
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/