Back to the catalog
Software — free catalog
Stuck Bits Detection Benchmark for Commodity Hardware
A NASA software catalog entry available for reuse or request.
About this technology
Overview
The program reserves memory_size megabytes of memory using malloc and writes an array of different repeating pattern to the reserved locations. After a user-specified wait time, the memory location is then read back again, and the read pattern compared to the written one. Errors are then logged to .csv in a CSV format. Kernel page information is also saved to allow logged virtual memory addresses to be converted to physical memory addresses. mlock is used to ensure that no memory is swapped out, while __clear__cache calls in between reads and writes ensure that data is read from DRAM and not the intermediate caches.