lkml.org 
[lkml]   [1998]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] swapin readahead and fixes
Hi,

On Tue, 8 Dec 1998 03:31:25 +0100 (CET), Rik van Riel
<H.H.vanRiel@phys.uu.nl> said:

> On a swapout, we will scan ahead of where we are (p->swap_address)
> and swap out the next number of pages too.

Yes, but be aware that for good performance you need to combine this
with a mechanism to ensure swap space does not become fragmented, and
you also need a swap-behind mechanism for sequential accesses (so that
if an application is scanning a data set sequentially, the un-accessed
space behind the current application "cursor" is being removed from
memory just as fast as the stuff about to be accessed is being brought
in).

--Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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