Posted On August 12, 2021

Run Memory Tester On Ubuntu 20.04

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Run Memory Tester On Ubuntu 20.04

GNU Grub 2.04 does have memtest86+ that could be used to perform RAM load tests. Below are some lines to enable testing from within the Linux OS:

# Install the memory tester
sudo apt install memtester

# Perform the RAM test
testSize=100MB
iterations=1
sudo memtester $testSize $iterations

# Sample result
ramtest@linuxbox:~$ sudo memtester $testSize $iterations
memtester version 4.5.0 (64-bit)
Copyright (C) 2001-2020 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffffffffffff000
want 200MB (209715200 bytes)
got  200MB (209715200 bytes), trying mlock ...locked.
Loop 1/1:
  Stuck Address       : ok
  Random Value        : ok
  Compare XOR         : ok
  Compare SUB         : ok
  Compare MUL         : ok
  Compare DIV         : ok
  Compare OR          : ok
  Compare AND         : ok
  Sequential Increment: ok
  Solid Bits          : ok
  Block Sequential    : ok
  Checkerboard        : ok
  Bit Spread          : ok
  Bit Flip            : ok
  Walking Ones        : ok
  Walking Zeroes      : ok
  8-bit Writes        : ok
  16-bit Writes       : ok

Done.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PKGSRC

wget ftp://ftp.netbsd.org/pub/pkgsrc/stable/pkgsrc.tar.gz mkdir ~/usr tar -xzvf pkgsrc.tar.gz -C ~/usr ~/usr/pkgsrc/bootstrap/bootstrap --unprivileged # for permanence, put…

Linux: Copy File Contents Into Clipboard

Install XCLIP (if not already installed) sudo apt install xclip -y Reading package lists... Done…

How to Create USB Bootable Drive on Ubuntu

Navigate to Start Menu > System Tools > Startup Disk Creator Verify that the Source…