Skip to contentSkip to conversation

Autoregulate swappiness & inactivation

DISCUSSION [email protected] 1 participant 1 message Jul 9, 2004

lore
Share & tools
lore
#0 lore raw

Andrew Morton <[email protected]> wrote at Thu, 8 Jul 2004 09:44:06 -0700:

Quoted 9 lines
Quoted 2 lines · Con Kolivas

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

Quoted 7 lines

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