Re: speeding up swapoff

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Daniel Drake <ddrake@...>
Cc: <linux-mm@...>, <linux-kernel@...>
Date: Wednesday, August 29, 2007 - 10:30 am

On Wed, 29 Aug 2007 09:29:32 -0400
Daniel Drake <ddrake@brontes3d.com> wrote:


Hi,


sounds like about disk speed (at random-seek IO pattern)



before you go there... is this a "real life" problem? Or just a
mostly-artificial corner case? (the answer to that obviously is
relevant for the 'should we really care' question)

Another question, if this is during system shutdown, maybe that's a
valid case for flushing most of the pagecache first (from userspace)
since most of what's there won't be used again anyway. If that's enough
to make this go faster...

A third question, have you investigated what happens if a process gets
killed that has pages in swap; as long as we don't page those in but
just forget about them, that would solve the shutdown problem nicely
(since we kill stuff first anyway there)

-
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)