Software:Memtest86
A screenshot of MemTest86 (ver. 8.3 Pro) | |
Initial release | 1994[1] |
---|---|
Written in | C and assembly |
Type | Utility |
A screenshot of Memtest86+ (ver. 6.00b2) | |
Initial release | early 2004[2] |
---|---|
Repository | github |
Written in | C and assembly |
Type | Utility |
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.[3] 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.
MemTest86
History
MemTest86 was developed by Chris Brady in 1994.[1] 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.[4] The program is compiled as position-independent code so as to be able to move itself around and test all the memory regions.[5] The proprietary PassMark version does not have this ability.[6]
BadRAM patch
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.[7] GRUB2 is able to supply this same information to an unpatched kernel, making the BadRAM patch unnecessary.[8] Microsoft Windows has a similar feature (badmemorylist/badmemoryaccess), but manual conversion is required for setting it up.[9]
PassMark purchase
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, 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 (13 Feb 2015) adds support for DDR4 RAM, and a row-hammer test based on research from Yoongu Kim, et al..[7][10][1] Version 10 states only UEFI boot and will not boot on non-UEFI systems, requiring separate download of the older 4.3.7 version which is also maintained on the official website downloads for that purpose.
Memtest86+
History
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[11] (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".[12]
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.[13][14]
Adoption
Memtest86+ is included, optionally or by default, in many Linux distributions, including Debian,[15] the derived Ubuntu, and Arch Linux.[16] 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,[17]; the version 6.0, UEFI-capable, is available from Ubuntu 23.04 Lunar Lobster.[18] Whilst Memtest86+ version 5.01 required significant patching by distributions to keep the 2013 code base functional,[19] the 6.0 release did not require such extensive patching.[20]
Common features
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, respectively, MemTest86 4.3 and Memtest86+ 5.0.[1]
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.
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.[7][11]
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.[21] 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.[21][22] 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.[23]
Both versions now support current multi-core processors, the corresponding chipsets, and UEFI.[24][2]
References
- ↑ 1.0 1.1 1.2 1.3 "MemTest86 History". https://www.memtest86.com/history.htm.
- ↑ 2.0 2.1 "Memtest86+ History". https://www.memtest.org/#history.
- ↑ "MemTest86 Technical Information". PassMark Software. https://www.memtest86.com/technical.htm. Retrieved 2015-10-22.
- ↑ "bootsect.S - chromiumos/third_party/memtest - Git at Google". https://chromium.googlesource.com/chromiumos/third_party/memtest/+/master/bootsect.S. "Copyright (C) 1991, 1992 Linus Torvalds 1-Jan-96 Modified by Chris Brady"
- ↑ "README.build-process - chromiumos/third_party/memtest - Git at Google". https://chromium.googlesource.com/chromiumos/third_party/memtest/+/master/README.build-process.
- ↑ "MemTest86 - Known Issues". https://www.memtest86.com/tech_blacklist-file.html. "MemTest86 cannot remap itself to different portions of memory in order to run tests in the section of memory it was occupying."
- ↑ 7.0 7.1 7.2 "PassMark MemTest86 - Version History". https://www.memtest86.com/support/ver_history.htm.
- ↑ "GNU GRUB Manual 1.99 § Badram". https://www.gnu.org/software/grub/manual/grub.html#badram.
- ↑ "How to block out or map out bad RAM in Windows..." (in en). 20 April 2015. https://thecomputerperson.wordpress.com/2015/04/20/how-to-block-out-or-map-out-bad-ram-in-windows/. Retrieved 19 May 2019.
- ↑ Kim, Yoongu; Daly, Ross; Kim, Jeremie; Fallin, Chris; Lee, Ji Hye; Lee, Donghyuk; Wilkerson, Chris; Lai, Konrad et al. (2014-07-08). "Flipping Bits in Memory Without Accessing Them: An Experimental Study of DRAM Disturbance Errors". Carnegie Mellon University. https://www.ece.cmu.edu/~safari/pubs/kim-isca14.pdf. Retrieved 2015-04-07.
- ↑ 11.0 11.1 "Memtest86+ - Advanced Memory Diagnostic Tool". https://www.memtest.org/#change.
- ↑ "Memtest86+ Archives" (in en). https://www.memtest.org/archives.; "728766 – sys-apps/memtest86+-5.31b version bump". https://bugs.gentoo.org/728766.
- ↑ Klotz, Aaron (2022-10-24). "Memtest86+ Is Back! New Version Released After 9 Years" (in en). https://www.tomshardware.com/news/memtest86-plus-is-back-after-9-years.
- ↑ "memtest86+ v6.0 Released As Rewritten Open-Source RAM Tester" (in en). https://www.phoronix.com/news/memtest86-6.0-Released.
- ↑ "Package: memtest86+". https://packages.debian.org/stable/memtest86+. Retrieved 15 January 2024.
- ↑ "Arch Linux - memtest86+ 5.01-3 (any)". https://www.archlinux.org/packages/extra/any/memtest86+/. Retrieved 7 April 2019.
- ↑ "MemoryTest". https://help.ubuntu.com/community/MemoryTest. 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+"
- ↑ "Memtest86+ 6.10-4 (amd64 binary) in Ubuntu Lunar". https://packages.debian.org/stable/memtest86+. Retrieved 16 January 2024.
- ↑ "Patch tracker: memtest86+". https://sources.debian.org/patches/memtest86%2B/5.01-3.1/. Retrieved 20 September 2023.
- ↑ "Patch tracker: memtest86+". https://sources.debian.org/patches/memtest86%2B/6.10-4/. Retrieved 20 September 2023.
- ↑ 21.0 21.1 Fisher, Tim (2018-02-06). "MemTest86 v7.5 Free Memory Testing Tool Review". Dotdash. https://www.lifewire.com/memtest86-review-2626145. Retrieved 2018-02-24.
- ↑ "MemTest86 Technical Information: Algorithms". PassMark Software. https://www.memtest86.com/technical.htm#algo. Retrieved 2014-11-01.
- ↑ "MemTest86 Technical Information: Detailed Descriptions". PassMark Software. https://www.memtest86.com/technical.htm#detailed. Retrieved 2015-10-22.
- ↑ "MemTest86 Support". https://www.memtest86.com/support.html.
External links
- Official website of MemTest86
- Official website of Memtest86+
- History and differences, MemTest86 vs Memtest86+
Original source: https://en.wikipedia.org/wiki/Memtest86.
Read more |