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

From: Rik van Riel
Date: Wed Dec 10 2003 - 20:38:59 EST


On Thu, 11 Dec 2003, Roger Luethi wrote:

Hmmm, those definitions have changed a little from the
OS books I read ;))

> - It is light thrashing when load control has no advantage.

This used to be called "no thrashing" ;)

> - It is medium thrashing when using load control is a toss-up. Probably
> better throughput, but somewhat higher latency.

This would be when the system load is so high that
decreasing the multiprocessing level would increase
system load, but performance would still be within
acceptable limits (say, 30% of top performance).

> - It is heavy thrashing when load control is a winner in both regards.

Heavy thrashing would be "no work gets done by the
processes in the system, nobody makes good progress".

In that case load control is needed to make the system
survive in a useful way.

> I just made this up. It neatly resolves all arguments about when load
> control is appropriate. Yeah, so it's a circular definition. Sue me.

Knowing what your definitions are has definately made it
easier for me to understand your previous mails.

Still, sticking to the textbook definitions might make it
even easier to talk about things, and compare the plans
for Linux with what's been done for other OSes.

Also, it would make the job of a load control mechanism
really easy to define:

"Prevent the system from thrashing"

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
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/