MemTest86
![]() A screenshot of MemTest86 | |
Developer(s) | Chris Brady and PassMark Software |
---|---|
Initial release | 1994[1] |
Stable release | |
Repository | www |
Written in | C and assembly |
Type | Utility |
License | Proprietary software |
Website | www |
![]() A screenshot of Memtest86+ | |
Developer(s) | Samuel Demeulemeester and Martin Whitaker |
---|---|
Initial release | early 2004[3] |
Stable release | 6.00[4]
/ 23 October 2022 |
Repository | github |
Written in | C and assembly |
Type | Utility |
License | GPL v2.0 |
Website | www |
MemTest86 and Memtest86+ are memory test software programs designed to test and stress test an x86 architecture computer's random-access memory (RAM) for errors, by writing test patterns to most memory addresses, reading back the data, and comparing for errors.[5] Each tries to verify that the RAM will accept and correctly retain arbitrary patterns of data written to it, that there are no errors where different bits of memory interact, and that there are no conflicts between memory addresses.
History
MemTest86 was developed by Chris Brady in 1994.[1] After MemTest86 remained at version 3.0 (2002 release) for two years, Samuel Demeulemeester created the Memtest86+ fork to add support for newer CPUs and chipsets. As of September 2013[update] the latest version of Memtest86+ is 5.01.[6][3]
MemTest86 is written in C and x86 assembly. The source code of MemTest86 (BIOS version) and of the MemTest86+ fork is released under the GNU General Public License (GPL). The bootloading code was originally derived from Linux 1.2.1.[7] The program is compiled as position-independent code so as to be able to move itself around and test all the memory regions.[8] Both versions now support current multi-core processors and the corresponding chipsets.[6][3]
Starting from MemTest86 2.3 and Memtest86+ 1.60, the program can output a list of bad RAM regions in the format expected by the BadRAM patch for the Linux kernel.[9][10] GRUB2 is able to supply this same information to an unpatched kernel, making the BadRAM patch unnecessary.[11] Microsoft Windows has a similar feature (badmemorylist/badmemoryaccess), but manual conversion is required for setting it up.[12]
In February 2013, the original MemTest86 was sold to PassMark. The BIOS version was updated under GPL until version 4.3.7. By then the feature set of the two forks were approximately equal.[1]
MemTest86 Version 5.0 (3 December 2013) was rewritten for UEFI booting, allowing for secure boot approval and mouse support. All UEFI versions are released under a proprietary freeware license. When UEFI is not available, Version 5.0 (and later) fall back to BIOS booting and loads the old version 4.3.7. Version 6.0.0 (13 Feb 2015) adds support for DDR4 RAM, and a row-hammer test based on research from Yoongu Kim, et al..[9][13][1]
MemTest86+ 6.0 was released in October 2022, being rewritten for UEFI support, DDR4 and DDR5 RAM, and supporting all current AMD and Intel chipsets and CPUs.[14][15]
Features
![](http://upload.wikimedia.org/wikipedia/commons/thumb/5/5d/Memtest86%2B_15_million_errors_2017.jpg/220px-Memtest86%2B_15_million_errors_2017.jpg)
There are two development streams of Memtest86. The original is simply known as MemTest86. The other, known as Memtest86+, is a development fork of the original MemTest86. Their on-screen appearance and functionality were almost identical up until the v4 releases. However, version 5 of MemTest86 added a mouse-driven graphical user interface (GUI) and UEFI support.
These programs work with nearly all PC-compatible computers from 80386- and 80486-based systems to the latest systems with 64-bit processors. Each new release adds support for newer processors and chipsets.[9][10]
MemTest86(+) is designed to run as a stand-alone, self-contained program from a bootable USB flash drive, CD-ROM, floppy disk, or from a suitable boot manager without an operating system present.[16] This is because the program must directly control the hardware being tested and leave as much of the RAM space as possible for examination.
MemTest86(+)'s testing is very comprehensive, so it can find otherwise hidden problems on machines that appear to work normally.[16][17] With many chipsets, MemTest86 allows counting of failures even in error-correcting ECC DRAM (without special handling, error correcting memory circuits can mask problems with the underlying memory chips).
Some errors manifest intermittently or depend on the precise bits being stored, and do not occur on each pass; such errors may be revealed by running many passes over an extended period. Some tests use different data each pass to reveal data-dependent errors.[18]
Adoption
MemTest86+ is a part of many Linux distributions, including Debian, the derived Ubuntu, and Arch Linux.[19] Ubuntu includes it as part of the default installation if the machine is booting in BIOS mode; it is available from the GRUB OS-select menu.[20] These distributions include many types of patches to keep the 2013 code base functional. For example, Debian has patches that update the makefile for GCC version 5 and makes the program Multiboot compliant.[21]
References
- ^ a b c d "MemTest86 History". MemTest86.com. Archived from the original on 2019-05-11. Retrieved 2018-02-09.
- ^ a b "PassMark MemTest86 - Version History". Jan 24, 2022. Retrieved Apr 14, 2022.
- ^ a b c "Memtest86+ History". Memtest.org.
- ^ "github.com memtest86plus tags". Retrieved Oct 23, 2022.
- ^ "MemTest86 Technical Information". MemTest86.com. PassMark Software. Retrieved 2015-10-22.
- ^ a b "MemTest86 Support". MemTest86.com.
- ^ "bootsect.S - chromiumos/third_party/memtest - Git at Google". ChromiumOS Source.
Copyright (C) 1991, 1992 Linus Torvalds 1-Jan-96 Modified by Chris Brady
- ^ "README.build-process - chromiumos/third_party/memtest - Git at Google". chromium.googlesource.com.
- ^ a b c "PassMark MemTest86 - Version History".
- ^ a b "Memtest86+ - Advanced Memory Diagnostic Tool".
- ^ "GNU GRUB Manual 1.99 § Badram".
- ^ "How to block out or map out bad RAM in Windows..." thecomputerperson. 20 April 2015. Retrieved 19 May 2019.
- ^ Kim, Yoongu; Daly, Ross; Kim, Jeremie; Fallin, Chris; Lee, Ji Hye; Lee, Donghyuk; Wilkerson, Chris; Lai, Konrad; Mutlu, Onur (2014-07-08). "Flipping Bits in Memory Without Accessing Them: An Experimental Study of DRAM Disturbance Errors" (PDF). Carnegie Mellon University. Retrieved 2015-04-07.
- ^ Klotz, Aaron (2022-10-24). "Memtest86+ Is Back! New Version Released After 9 Years". Tom's Hardware. Retrieved 2022-10-25.
- ^ "memtest86+ v6.0 Released As Rewritten Open-Source RAM Tester". www.phoronix.com. Retrieved 2022-10-25.
- ^ a b Fisher, Tim (2018-02-06). "MemTest86 v7.5 Free Memory Testing Tool Review". Lifewire. Dotdash. Retrieved 2018-02-24.
- ^ "MemTest86 Technical Information: Algorithms". MemTest86.com. PassMark Software. Retrieved 2014-11-01.
- ^ "MemTest86 Technical Information: Detailed Descriptions". MemTest86.com. PassMark Software. Retrieved 2015-10-22.
- ^ "Arch Linux - memtest86+ 5.01-3 (any)". Retrieved 7 April 2019.
- ^ "MemoryTest". Ubuntu Help Wiki. Retrieved 7 April 2019.
Hold down Shift to bring up the GRUB menu. Use the arrow keys to move to the entry labeled Ubuntu, memtest86+
- ^ "Patch tracker: memtest86+". Debian Sources. Retrieved 7 April 2019.
External links
![](http://upload.wikimedia.org/wikipedia/en/thumb/4/4a/Commons-logo.svg/30px-Commons-logo.svg.png)