On Wed, 6 Jun 2001, Andrew Morton wrote: > "Jeffrey W. Baker" wrote: > > > > Because the 2.4 VM is so broken, and > > because my machines are frequently deeply swapped, > > The swapoff algorithms in 2.2 and 2.4 are basically identical. > The problem *appears* worse in 2.4 because it uses lots > more swap. > > > they can sometimes take over 30 minutes to shutdown. > > Yes. The sys_swapoff() system call can take many minutes > of CPU time. It basically does: > > for (each page in swap device) { > for (each process) { > for (each page used by this process) > stuff Sure, and at shutdown time when swapoff is called, there is only 1 process, init, which isn't swapped out anymore. So this should run like lightning. Repeat: something is horribly wrong with the VM's management of pages, lists, swap, cache, etc. -jwb - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: Requirement: swap = RAM ... Eric W. Biederman
- Re: Requirement: swap = RAM ... Jan Harkes
- Re: Break 2.4 VM in five eas... Ben Greear
- Re: Break 2.4 VM in five easy steps Derek Glidden
- Re: Break 2.4 VM in five easy steps José Luis Domingo López
- Re: Break 2.4 VM in five easy steps Disconnect
- Re: Break 2.4 VM in five easy steps Derek Glidden
- Re: Break 2.4 VM in five easy steps Helge Hafting
- Re: Break 2.4 VM in five easy ste... Eric W. Biederman
- Re: Break 2.4 VM in five easy ste... José Luis Domingo López
- Re: Break 2.4 VM in five easy steps Jeffrey W. Baker
- Re: Break 2.4 VM in five easy steps Eric W. Biederman
- Re: Break 2.4 VM in five easy steps Marc Heckmann
- Re: Break 2.4 VM in five easy steps Hugh Dickins
- Re: Break 2.4 VM in five easy steps Eric W. Biederman
- Re: Break 2.4 VM in five easy steps Jeffrey W. Baker
- Re: Break 2.4 VM in five easy steps Derek Glidden
- Re: Break 2.4 VM in five easy steps Mike A. Harris
- Re: Break 2.4 VM in five easy steps Miles Lane
- Re: Break 2.4 VM in five easy steps Derek Glidden
- Re: Break 2.4 VM in five easy ste... Miles Lane