From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mulyadi Santosa" Subject: Re: RFC: swaptrace tool Date: Wed, 2 Apr 2008 12:52:50 +0700 Message-ID: References: <20080401212542.1717.KOSAKI.MOTOHIRO@jp.fujitsu.com> <20080402115000.E130.KOSAKI.MOTOHIRO@jp.fujitsu.com> <804dabb00804012028j41acca2ya69081bb92c6788d@mail.gmail.com> <47F301E2.6060403@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <47F301E2.6060403@gmail.com> Content-Disposition: inline Sender: kernelnewbies-bounce@nl.linux.org Errors-to: kernelnewbies-bounce@nl.linux.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Scott Lovenberg Cc: Peter Teoh , KOSAKI Motohiro , Kernel Newbies , linux-mm@kvack.org, Rik van Riel List-Id: linux-mm.kvack.org Hi Scott... On Wed, Apr 2, 2008 at 10:47 AM, Scott Lovenberg wrote: > Are you basing it on Least Recently Used? I seems to remember that Con > Konilias had added a swapping module to his staircase scheduler... yes, Con named it swap prefetch but it doesn't tightly related to Staircase scheduler. >if I > remember correctly, it was fairly controversial because it would swap back > in before the data was needed if the cache pressure was low and the memory > was freed back up; although I'm not sure if you want pursue paying the swap > price twice, it seems to make sense that the cost doesn't count if the > machine is idle anyways and you don't want to wait for a double page fault > (first for the page table and then for the data itself) when you're > requesting data. AFAIK, page table in Linux is never swapped out (they reside in kernel space and kernel space is locked in RAM all the time). In windows, maybe... regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ