Re: Autoregulate swappiness & inactivation

From: deepfire
Date: Fri Jul 09 2004 - 07:23:08 EST



Andrew Morton <akpm@xxxxxxxx> wrote at Thu, 8 Jul 2004 09:44:06 -0700:
> Con Kolivas <kernel@xxxxxxxxxxx> wrote:
> >
> > Here is another try at providing feedback to tune the vm_swappiness.
>
> I spent some time yesterday trying to demonstrate performance improvements
> from those two patches. Using
>
> make -j4 vmlinux with mem=64m
>
> and
>
> qsbench -p 4 -m 96 with mem=256m
>
> and was not able to do so, which is what I expected.
>
> We do need more quantitative testing on this work.

i`ve done some of my favorite under-bridge-crafted tests, so to speak.

the test looked like this:

time find / -xdev | \
bzcat --compress | bzcat --decompress | \
bzcat --compress | bzcat --decompress | \
bzcat --compress | bzcat --decompress | \
cat > /dev/null

The patches applied were Con`s autoswap + autoregulate

it was performed on a p3-600, 10krpm scsi in two following scenarios:


1. mem=48M, swap=off

2.4.20-pre9: 3m20
2.6.7-con: 4m09
2.6.7-vanilla: 4m09


2. mem=32M, swap=on

2.4.20-pre9: 5m37
2.6.7-con: 6m37
2.6.7-vanilla: 7m31



which still leaves 2.4 the leader.


regards, Samium "2.4" Gromoff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/