memtest help
Hello everyone,
I need to test all RAM cells on a linux ARM embedded system. My use case is very similar to the one described in [1] expect the fact I also have strong requirements on minimizing the boot time impact. Instead of doing that from the bootloader, I decided to evaluate the linux memtest feature introduced with [2].
My questions are:
1)
Does the early_memtest() as called in [3] really covers *all* RAM cells?
2)
As memtest happens very early in boot stage, what primitives I can use to measure duration of early_memtest()? Are there any known heuristics? I need to test ~2GB of RAM. This is my major concern.
3)
It seems reasonable to expose the number of detected bad cells to user space. I was thinking about sysfs. Are the patches welcomed?
[1]
http://www.linuxforums.org/forum/newbie/173847-how-do-memory-ram-test-when-linux-running.html
[2]
http://lkml.iu.edu/hypermail/linux/kernel/1503.1/00566.html
[3]
http://lxr.free-electrons.com/source/arch/arm/mm/init.c#L291
Thanks,
Bojan
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 8 lines · Bojan Prtvar
Hello everyone,
I need to test all RAM cells on a linux ARM embedded system. My use case is very similar to the one described in [1] expect the fact I also have strong requirements on minimizing the boot time impact. Instead of doing that from the bootloader, I decided to evaluate the linux memtest feature introduced with [2].
Quoted 4 lines
My questions are:
1)
Does theearly_memtest()as called in [3] really covers *all* RAM cells?
No.
Quoted 6 lines
2)
As memtest happens very early in boot stage, what primitives I can use to measure duration ofearly_memtest()? Are there any known heuristics? I need to test ~2GB of RAM.
This is my major concern.
Stopwatch?
Quoted 5 lines
3)
It seems reasonable to expose the number of detected bad cells to user space. I was thinking about sysfs. Are the patches welcomed?
$ dmesg | grep "bad mem"
Cheers
Vladimir
Quoted 18 lines
[1]
http://www.linuxforums.org/forum/newbie/173847-how-do-memory-ram-test-when-linux-running.html[2]
http://lkml.iu.edu/hypermail/linux/kernel/1503.1/00566.html
[3]
http://lxr.free-electrons.com/source/arch/arm/mm/init.c#L291Thanks,
BojanSignature · 4 lines
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>