Re: 2.6.0-test9 - poor swap performance on low end machines

From: Con Kolivas
Date: Tue Nov 04 2003 - 17:32:33 EST

On Wed, 5 Nov 2003 09:08, Chris Vine wrote:
> Your diagnosis looks right, but two points -
> 1. The test compile was not of the kernel but of a file in a C++ program
> using quite a lot of templates and therefore which is quite memory
> intensive (for the sake of choosing something, it was a compile of
> src/main.o in
> It
> would be a sad day if the kernel could not be compiled under 2.6 in 32MB of
> memory, and I am glad to say that it does compile - my 2.6.0-test9 kernel
> compiles on the 32MB machine in on average 45 minutes 13 seconds under
> kernel 2.4.22, and in 54 minutes 11 seconds under 2.6.0-test9 with your
> latest patch, which is not an enormous difference. (As a digression, in
> the 2.0 days the kernel would compile in 6 minutes on the machine in
> question, and at the time I was very impressed.)

Phew. It would be sad if it couldn't compile a kernel indeed.
> 2. Being able to choose a manual setting for swappiness is not "futile".
> As I mentioned in an earlier post, a swappiness of 10 will enable
> 2.6.0-test9 to compile the things I threw at it on a low end machine,
> albeit slowly, whereas with dynamic swappiness it would not compile at all.
> So the difference is between being able to do something and not being able
> to do it.

I agree with you on that; I meant it would be futile trying to get the compile
times back to 2.4 levels with just this tunable modified alone (statically or
dynamically)... which means we should look elsewhere for ways to tackle this.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at