Re: speeding up swapoff

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Drake <ddrake@...>
Cc: Arjan van de Ven <arjan@...>, <linux-mm@...>, <linux-kernel@...>
Date: Thursday, August 30, 2007 - 11:57 am

Daniel Drake wrote:

So the real issue isn't that your process doesn't run fast enough 
without doing swapoff, but that swapoff itself takes too long.

How much is "a lot?" You said 400MB, you can add a few GB of RAM and 
eliminate the problem at that size. Run the application in a virtual 
machine which has enough dedicated memory? I think xen will do that. Run 
"swap" on a ramdisk? I don't think swapoff was designed as a fast 
operation, although your performance is pretty leisurely. ;-)

I assume you looked at mlock() and it doesn't fit your usage, or you 
don't control the application behavior, or its limitations make it 
unsuitable in some other way.


-- 
Bill Davidsen <davidsen@tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
speeding up swapoff, Daniel Drake, (Wed Aug 29, 9:29 am)
Re: speeding up swapoff, Lee Schermerhorn, (Wed Aug 29, 12:08 pm)
Re: speeding up swapoff, Hugh Dickins, (Wed Aug 29, 11:36 am)
Re: speeding up swapoff, Eric W. Biederman, (Thu Aug 30, 4:27 am)
Re: speeding up swapoff, Hugh Dickins, (Thu Aug 30, 6:36 am)
Re: speeding up swapoff, Daniel Drake, (Thu Aug 30, 11:05 am)
Re: speeding up swapoff, Arjan van de Ven, (Wed Aug 29, 10:30 am)
Re: speeding up swapoff, Hugh Dickins, (Wed Aug 29, 11:58 am)
Re: speeding up swapoff, Daniel Drake, (Wed Aug 29, 10:44 am)
Re: speeding up swapoff, Andi Kleen, (Sat Sep 1, 6:20 pm)
Re: speeding up swapoff, Bill Davidsen, (Thu Aug 30, 11:57 am)
Re: speeding up swapoff, Juergen Beisert, (Wed Aug 29, 11:12 am)
Re: speeding up swapoff, Oliver Neukum, (Wed Aug 29, 10:36 am)
Re: speeding up swapoff, Hugh Dickins, (Wed Aug 29, 12:04 pm)
Re: speeding up swapoff, Oliver Neukum, (Wed Aug 29, 12:18 pm)