Messages in this thread | | | Date | Thu, 21 May 1998 18:49:21 +0200 (MET DST) | From | Rik van Riel <> | Subject | Re: Multiple swap partition uglies (fwd) |
| |
On Thu, 21 May 1998, Riley Williams wrote:
> > After I do swapoff on one of the partitions, the drive goes crazy > > for about 5 minutes, and after that, the problem has gone away. > > My assumption would be that the 'drive goes crazy' occurs whilst the > kernel moves the used blocks in the partition you've asked to disable > into the other one, probably having to swap used stuff out of memory > as well.
I think we can easily do something about this: - when we swapin pages because of a swapoff, we should give those pages an initial age of 0, instead of the usual value - we should make sure that the swapin/out only has I/O requests outstanding for some 50% of the time (this one is more tricky)
Then we can do a relatively smooth swapoff.
Rik. +-------------------------------------------+--------------------------+ | Linux: - LinuxHQ MM-patches page | Scouting webmaster | | - kswapd ask-him & complain-to guy | Vries cubscout leader | | http://www.phys.uu.nl/~riel/ | <H.H.vanRiel@phys.uu.nl> | +-------------------------------------------+--------------------------+
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |