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

Useful Ubuntu Settings for VNC

# Disable screensaver Ubuntu (Gnome) gsettings set org.gnome.desktop.screensaver lock-enabled false # Purge screensaver and update…

Linux: how to make automounts persistent

# Step 1: discover the device using its current mount path mountPath=/media/kim/Data findmnt | grep…

Ubuntu: Install VMWare WorkStation

Easy. Run these three commands: wget -O ~/vmware.bin sudo apt install build-essentialsudo bash ~/vmware.bin Output:…