Re: [Bug 890] New: performance regression compared to 2.4.20 under

Andrew Morton (
Tue, 8 Jul 2003 11:20:48 -0700

"Martin J. Bligh" <> wrote:
> As can be seen, the differences are quite significant, about three seconds on
> average, which I believe may be related to the increased swapping time I have
> encountered.

The 2.4 VM's virtual scan has the effect of swapping out one process at a
time. 2.5's physical(ish) scan doesn't have that side-effect.

It means that in 2.4, the lucky processes can make decent progress. In
2.5, everyone makes equal progress and everyone thrashes everyone else to

To fix this properly we need load control: to identify when the system is
thrashing and to explicitly suspend chosen processes for a while, so other
processes can make decent progress. A couple of people are looking at
that; I'm not sure what stage it is at.

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