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

From: Andrew Morton (akpm@osdl.org)
Date: Tue Jul 08 2003 - 13:20:48 EST


"Martin J. Bligh" <mbligh@aracnet.com> 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
bits.

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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:28 EST