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)
Rik - the problem is NOT with swapoff. Swapoff'ing one of the drives 
actually solves the problem (ok it takes a while, but this is no
different from the performance I get _all the time_ when swapping off
two drives). The problem is with the 2 swap drive setup.
Sometimes, paging takes forever. When I swapoff one of the drives, to
revert to a 1 swap partition setup, the problem goes away.

Clear as mud?

It'd be nice if this was fixed, swapping off just one drive sucks
compared to the performance of two drives (when it works).

Later

Paul

On Thu, 21 May 1998, Rik van Riel wrote:

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

---------------------------------------------------------------------------

,---
Paul Wilkins | o o |
Internet Operations Manager ` \_/ ' Linux
TMP Worldwide /\___/\ The Choice of
paulw@tmpw.com.au |_/ . \_| A GNU Generation
http://www.monsterboard.com.au \_/___\_/
---------------------------------------------------------------------------


-
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.375 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site