[lkml]   [2002]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] Radix-tree pagecache for 2.5
On Fri, Feb 01, 2002 at 09:06:37AM -0800, Linus Torvalds wrote:
> 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.

I've always thought that read(2) and write(2) would in the end wind up
faster than mmap(2)... Tests in my rewritten cp/rm/mv type utilities
seem to bear this out.

Is mmap(2) only preferred for large files/databases?


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