lkml.org 
[lkml]   [2001]   [Nov]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 20 Nov 2001 15:40:04 -0800 (PST)
SubjectRe: Swap
From"David S. Miller" <>
   From: Rik van Riel <riel@conectiva.com.br>
   Date: Tue, 20 Nov 2001 21:35:40 -0200 (BRST)

   On Tue, 20 Nov 2001, David S. Miller wrote:
   > TLB misses add to the cost, and this overhead is more than
   > "noise".
   Well, this could have something to do with the fact
   that our page fault handler only maps in _1_ page at
   a time, so we're trapping into the pagefault handler
   every 4kB...

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.
-
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 12:13    [from the cache]
©2003-2008