{{ safesubst:#invoke:Unsubst||date=__DATE__ |$B= Template:Ambox }} Template:Short description Template:Use dmy dates {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters | check | showblankpositional=1 | unknown = Template:Main other | preview = Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y | AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo upright | logo size | logo title | logo_alt | logo_caption | logo_upright | logo_size | logo_title | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot upright | screenshot size | screenshot title | screenshot_alt | screenshot_upright | screenshot_size | screenshot_title | service_name | size | standard | title | ver layout | website | qid }}Template:Main other {{#invoke:Infobox|infobox}}Template:Template other{{#invoke:Check for unknown parameters | check | showblankpositional=1 | unknown = Template:Main other | preview = Page using Template:Infobox software with unknown parameter "_VALUE_"|ignoreblank=y | AsOf | author | background | bodystyle | caption | collapsetext | collapsible | developer | discontinued | engine | engines | genre | included with | language | language count | language footnote | latest preview date | latest preview version | latest release date | latest release version | latest_preview_date | latest_preview_version | latest_release_date | latest_release_version | licence | license | logo | logo alt | logo caption | logo upright | logo size | logo title | logo_alt | logo_caption | logo_upright | logo_size | logo_title | middleware | module | name | operating system | operating_system | other_names | platform | programming language | programming_language | released | replaced_by | replaces | repo | screenshot | screenshot alt | screenshot upright | screenshot size | screenshot title | screenshot_alt | screenshot_upright | screenshot_size | screenshot_title | service_name | size | standard | title | ver layout | website | qid }}Template:Main other

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.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> 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.

MemTest86Edit

HistoryEdit

MemTest86 was developed by Chris Brady in 1994.<ref name="86history">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> It was written in C and x86 assembly, and for all BIOS versions, was released under the GNU General Public License (GPL). The bootloading code was originally derived from Linux 1.2.1.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The program is compiled as position-independent code so as to be able to move itself around and test all the memory regions.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> The proprietary PassMark version does not have this ability.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

BadRAM patchEdit

Starting from MemTest86 2.3, the program can output a list of bad RAM regions in the format expected by the BadRAM patch for the Linux kernel.<ref name="86chg">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> GRUB2 is able to supply this same information to an unpatched kernel, making the BadRAM patch unnecessary.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Microsoft Windows has a similar feature (badmemorylist/badmemoryaccess), but manual conversion is required for setting it up.Template:Citation needed

PassMark purchaseEdit

In February 2013, the original MemTest86 was sold to PassMark. The BIOS version was updated under GPL until version 4.3.7.

MemTest86 Version 5.0 (3 December 2013) was rewritten for UEFI booting (initially with fallback to BIOS booting on non-UEFI systems), allowing for secure boot approval and mouse support. All UEFI versions are released under a proprietary freeware license. Version 6.0 (13 Feb 2015) adds support for DDR4 RAM, and a row-hammer test based on research from Yoongu Kim, et al..<ref name="86history" /><ref name="86chg" /><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Version 8.0 removed backward compatibility with non-UEFI systems, requiring a separate download of the older version 4.3.7.<ref name="86chg" />

Memtest86+Edit

HistoryEdit

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.

From version 1.60, the program can output a list of bad RAM regions in the format expected by the BadRAM patch for the Linux kernel<ref name="86+chg">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> (similar to MemTest86 2.3).

The BIOS-based line of Memtest86+ entered a stall after the release of version 5.01 (September 2013). In April 2020, the final BIOS-based version, 5.31 beta, was released with a short changelog claiming "many fixes".<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

In May 2020, Martin Whitaker forked Memtest86+ 5.31 into PCMemTest, rewriting it for UEFI support, DDR4 and DDR5 RAM, and supporting all current AMD and Intel chipsets and CPUs. In October 2022, this branch merged back, becoming Memtest86+ 6.0.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

AdoptionEdit

Memtest86+ is included, optionally or by default, in many Linux distributions, including Debian,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> the derived Ubuntu, and Arch Linux.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Ubuntu includes it as part of the default installation if the machine is booting in BIOS mode, showing it in the GRUB OS-select menu;<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> the version 6.0, UEFI-capable, is available from Ubuntu 23.04 Lunar Lobster.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> Whilst Memtest86+ version 5.01 required significant patching by distributions to keep the 2013 code base functional,<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> the 6.0 release did not require such extensive patching.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Common featuresEdit

File:Memtest86+ memory errors.png
Detections of faulty memory are displayed prominently. The application shows which memory locations failed and 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 until MemTest86 4.3 and Memtest86+ 5.0.<ref name="86history" />

Version 5.0 of MemTest86 added a mouse-driven graphical user interface (GUI) and UEFI support; the latter was added by Memtest86+ from version 6.0.Template:Citation needed

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.<ref name="86chg" /><ref name="86+chg" />

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.<ref name="Fisher 2018">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> 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.<ref name="Fisher 2018" /><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref> 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.<ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

Both versions now support current multi-core processors, the corresponding chipsets, and UEFI.<ref name="86+his">{{#invoke:citation/CS1|citation |CitationClass=web }}</ref><ref>{{#invoke:citation/CS1|citation |CitationClass=web }}</ref>

ReferencesEdit

Template:Reflist

External linksEdit

Template:Sister project Template:Portal