Memtest86

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Memtest86
A blue text-mode screen displaying many statistics
A screenshot of Memtest86
Developer(s) PassMark Software
Stable release
7.1 / August 5, 2016; 5 months ago (2016-08-05)
Repository www.memtest86.com/download.htm
Written in C and assembly
Type Utility
License Proprietary software
Website www.memtest86.com
Memtest86+
A blue text-mode screen displaying many statistics
A screenshot of Memtest86+
Developer(s) Samuel Demeulemeester
Stable release
5.01 / September 27, 2013; 3 years ago (2013-09-27)
Repository www.memtest.org#downcode
Written in C and assembly
Type Utility
License GPL v2.0
Website www.memtest.org

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 a series of test patterns to most memory addresses, then reading back the data written, and comparing for errors.[1] 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[edit]

Memtest86 was developed by Chris Brady. After Memtest86 remained at v3.0 (2002 release) for two years, the Memtest86+ fork was created by Samuel Demeulemeester to add support for newer CPUs and chipsets. As of March 2016 the latest version of Memtest86+ is 5.01.[2][3]

Memtest86 is written in C and x86 assembly. The source code is released under the GNU General Public License (GPL). The bootloading code was originally derived from Linux 1.2.1. Both versions now support current dual- and quad-core-CPUs and the corresponding chipsets. The latest release of Memtest86+ supports Intel-based Macintosh computers.[citation needed]

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.[4][5] Grub2 is able to supply this same information to an unpatched kernel,[6] making the BadRAM patch unnecessary.

At some point[when?] the original Memtest86 was sold to PassMark who continued to improve it through version four. Version six provides support for DDR4 RAM, UEFI secure boot, plus a new row-hammer test based on research from Yoongu Kim et al.[7]

Description[edit]

Detections of faulty memory are displayed prominently. The application shows not only which memory locations failed, but also which patterns made them fail.

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, the current v6 release of MemTest86 adds 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.[4][5]

Memtest86 is designed to run as a stand-alone, self-contained program from a bootable floppy disk, CD-ROM, USB flash drive, or from a suitable bootmanager without an operating system present. This is because the program must directly control the hardware being tested and leave as much of the RAM space as possible for examination. It is also a quick and convenient way to start the program, and avoids running a complex operating system which could be endangered by hardware with memory problems (for example, a hard disk file system can be corrupted by writing erroneous data from faulty RAM.)

Memtest86's testing is very comprehensive so it can find otherwise hidden problems on machines that appear to work normally.[8] 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.[9]

Known issues[edit]

On some machines with the newer UEFI instead of BIOS, the Memtest86 website warns that PS2 keyboard input is no longer emulated, which can cause the keyboard to be completely or intermittently unresponsive.[10] In these cases it is suggested to leave the tests to run automatically.[10]

References[edit]

  1. ^ "MemTest86 Technical Information". Memtest86.com. PassMark Software. Retrieved 2015-10-22. 
  2. ^ "Memory Diagnostic Support Page". Memtest86.com. 
  3. ^ "History". Memtest.org. 
  4. ^ a b http://www.memtest86.com/change.html
  5. ^ a b http://www.memtest.org/#change
  6. ^ GNU GRUB Manual 1.99
  7. ^ 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. 
  8. ^ "MemTest86 Technical Information". Memtest86.com. PassMark Software. Retrieved 2014-11-01. 
  9. ^ "Detailed Descriptions". Memtest86.com. PassMark Software. Retrieved 2015-10-22. 
  10. ^ a b "Known Issues". Memtest86.com. PassMark Software. Retrieved 2015-10-22. 

External links[edit]