2004-09-02 06:02:51

by Florin Andrei

[permalink] [raw]
Subject: Re: excessive swapping

On Thu, 2004-08-12 at 23:40, Florin Andrei wrote:
> I am running 2.6.8-rc4 with Ingo's voluntary preempt patch O5, on Fedora
> 2.
> At the same time, i'm processing some DVDs that i made - i'm extracting
> titles from a DVD to a dedicated hard-drive, saving audio and video
> tracks, etc with transcode-0.6.12 ( http://www.transcoding.org ). All
> that means reading/writing from/to large files on /dev/dvd and /dev/hde
> at high speeds.
> The system is swapping excessively. There's no way the total size of the
> applications exceeds the size of RAM. There's plenty of room to spare,
> yet 16% of the 530MB of swap is used.

I am running now 2.6.8.1 with Ingo's O8 and Con Kolivas' hard swappiness
patch (an old version, sorry). Under the same conditions described
above, there is 0% swap usage.

The CK hard swappiness patch solved the issue for me. The system works
without any problems whatsoever.

--
Florin Andrei

http://florin.myip.org/


2004-09-28 17:30:43

by Marcelo Tosatti

[permalink] [raw]
Subject: Re: excessive swapping

Florin,

You should get much better behaviour in 2.6.8-rc2-mm4 due
to Nick's kswapd "aggressiveness" fix.

Please try it!

On Wed, Sep 01, 2004 at 11:02:32PM -0700, Florin Andrei wrote:
> On Thu, 2004-08-12 at 23:40, Florin Andrei wrote:
> > I am running 2.6.8-rc4 with Ingo's voluntary preempt patch O5, on Fedora
> > 2.
> > At the same time, i'm processing some DVDs that i made - i'm extracting
> > titles from a DVD to a dedicated hard-drive, saving audio and video
> > tracks, etc with transcode-0.6.12 ( http://www.transcoding.org ). All
> > that means reading/writing from/to large files on /dev/dvd and /dev/hde
> > at high speeds.
> > The system is swapping excessively. There's no way the total size of the
> > applications exceeds the size of RAM. There's plenty of room to spare,
> > yet 16% of the 530MB of swap is used.
>
> I am running now 2.6.8.1 with Ingo's O8 and Con Kolivas' hard swappiness
> patch (an old version, sorry). Under the same conditions described
> above, there is 0% swap usage.
>
> The CK hard swappiness patch solved the issue for me. The system works
> without any problems whatsoever.