lkml.org 
[lkml]   [1997]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: InfoWorld web server shootout
Date
: You're clearly
: aware that going straight from the page cache via mmap/write is a big
: win but you claim that you have to pay for the mapping so much that
: you'd need to cache it. Have you verified/benchmarked that or is it
: just a gut feeling (or perhaps tested on other Unices)? I haven't
: tested it myself but

I have. See http://reality.sgi.com/lm/lmbench/ go to the link marked "new"
and look at file reread bandwidths for the PC. There are two lines that
start out low and go up to match the rest. Those two are open-to-close
MB/sec costs as a function of file size. Tells you all you want to know.
The short summary is that mmap starts being a win around 8K files.

--lm


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