[lkml]   [2001]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Swap
   From: Rik van Riel <>
Date: Tue, 20 Nov 2001 22:19:26 -0200 (BRST)

On Tue, 20 Nov 2001, David S. Miller wrote:
> The Apache folks were keeping it mapped across requests,
> so even if it was "primed" (ie. pre-faulted), a read() into
> a static buffer was still significantly faster.

Interesting. I wonder how read() and mmap() compare when the
data is in highmem pages and we're facing a kmap()/kunmap()
for read() ...

Probably, the performance drops for read() to be equivalent,
or slightly below, mmap() peformance. That would be my guess.

Franks a lot,
David S. Miller
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.103 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site