lkml.org 
[lkml]   [1998]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.400 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site