Re: Stealing ur megahurts (no, really)

From: Panagiotis Issaris
Date: Fri May 19 2006 - 07:02:50 EST


Hi,

John Richard Moser wrote:

[...]
Scrambling for an old machine is ridiculous. Down-clocking makes sense
because you can adjust to varied levels; but it's difficult and usually
infeasible. Pulling memory and mix and matching is not much better.

On Linux we have mem= to toy with memory, which I personally HAVE used
to evaluate how various distributions and releases of GNOME operate
under memory pressure. This is a lot more convenient than pulling chips
and trying to find the right combination. This option was, apparently,
designed for situations where actual system memory capacity is
mis-detected (mandrake 7.2 and its insistence that a 256M memory stick
is 255M....); but is very useful in this application too.
[...]


An easier way might be to use a system emulator like Qemu.
You can specify the amount of memory the emulated system has,
and if you do not use the kernel accelerating module (kqemu)
it slows down considerably.

Of course, it would be nicer if you could actually specify performance
levels and an issue with this approach is that it does not uniformly
scale down performance: I think IO emulation performance is a lot worse
then CPU emulation performance (in Qemu).

With friendly regards,
Takis

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