Re: 2.4.10aa1 (00_vm-tweaks-1)

Andrea Arcangeli
2001-09-25T18:50:18Z

On Mon, Sep 24, 2001 at 03:42:59PM +0200, Adrian Bunk wrote:
> On Sun, 23 Sep 2001, Andrea Arcangeli wrote:
>
> > If you are interested about the VM behaviour under swap (and non) please
> > test the 00_vm-tweaks-1 (can be applied to plain 2.4.10), here the swap
> > behaviour seems improved with it. Thanks!
> >...
>
> 2.4.10 seems to behave worse than kernels up to 2.4.9 and 2.4.9ac12
> (haven't tried above) with the following workload (everything is only a
> subjective impression as a user; I don't look at how long the "rm" and the
> "tar" take because that's not very important for me):
>
> FVWM with 6 open xterms is running
> XMMS is running
>
> mv linux linux.old
> nice rm -rf linux.old &
> tar xzf linux-2.4.10.tar.gz &
> lynx ftp://ftp.kernel.org/pub/linux/kernel/testing
>
>
> up to 2.4.9 and 2.4.9ac12:
> everything works fine
>
> 2.4.10:
> interactive use of the machine is very bad, I can't type a command in
> another xterm

yes, that's because you didn't applied vm-tweaks-1 yet and you didn't
enough ram and you needed to swap.

>
> 2.4.10 + 00_vm-tweaks-1:
> interactive use of the machine works all right, but XMMS does sometimes
> stutter

it didn't happen here but let's look into it.

> This is on a K6 with 300 Mhz. free in 2.4.10 + 00_vm-tweaks-1 gives the
> following output:
>
> $ free
> total used free shared buffers cached
> Mem: 62252 60400 1852 0 2408 32792
> -/+ buffers/cache: 25200 37052
> Swap: 947824 10264 937560
> $
>
>
> My impression is that there's a problem when several processes do heavy
> non-cachable disk IO.

I've a few ideas on what to change incrementally to vm-tweaks-1, but can
you send me the `vmstat 1` output, plus also the /proc/meminfo output
snapshotted at regular intervals while xmms is "stuttering" just to
avoid looking at the wrong place? thanks,

Andrea