Re: 2.6.17-rc5-mm1

From: Andi Kleen
Date: Tue Jun 06 2006 - 01:57:47 EST


On Tuesday 06 June 2006 06:36, David Miller wrote:
> From: Andi Kleen <ak@xxxxxxx>
> Date: 02 Jun 2006 10:52:05 +0200
>
> > "Martin J. Bligh" <mbligh@xxxxxxxxxx> writes:
> > >
> > > All sounds very sensible ... but not sure why -mm would hit it all the
> > > time, and never mainline ...
> >
> > You can use memeat.c to test the machine with other kernels.
> > It tends to find such problems reliably. Let it run for some time
> >
> > http://www.firstfloor.org/~andi/memeat.c
>
> Wouldn't it be more useful for this program to use LowTotal instead of
> LowFree? It didn't grind my sparc64 machine much until I changed it
> like that. :)

The idea is that the memory that is already used is tested. And the machine should
be still usable.

If you want a generic memory eater you can use memhog from numactl.

It's mainly a quick test for machines that error out when they detect
a 2 bit errors using ECC. And when run for longer it tends to stress
other parts of the motherboard like VRMs.

At least on Opterons with ECC memory it seems to detect most memory problems
pretty reliably, that is why I suggested it to Martin.

-Andi


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