[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Force process to swap?



On Tue, Apr 29, 2008 at 10:28:53PM -0500, Ron Johnson wrote:
> On 04/29/08 22:04, Douglas A. Tutty wrote:
> > On Thu, Apr 24, 2008 at 11:06:25AM -0500, Ron Johnson wrote:
> >> On 04/24/08 10:09, Hugo Vanwoerkom wrote:
> >>> Ron Johnson wrote:
> >>>> On 04/24/08 01:34, Rich Healey wrote:
> >>> http://en.wikipedia.org/wiki/Paging
> >> I use "swap" in the generic sense, but really mean "page".  Does
> >> Linux even *do* process swapping?
> > 
> > I've never seen Linux swap out idle processes.
> 
> I'm surprised.  Seems to me that an idle process and it's allocated
> memory would be the *perfect* candidates to be swapped out.  And
> anthropomorphized vm systems might say, "I need RAM, and you're
> 5,000 pages are the least recently used, so I'll just push you on
> out to disk to make room for actively used data."

Sure it would make sense; other Unix's do, but I've never seen Linux
swap out, e.g. idle gettys or bash, or even idle exim4s (which would
make sense for a dial-up box that only uses exim during daily email
checks and cron runs).

Doug.


Reply to: