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

Linux: Commands to Add a New Disk

# Step 1: create partitioning table (gpt or msdos/mbr) device=/dev/sdc sudo parted $device mklabel gpt…

Fix Ubuntu / Lubuntu ‘Hypernation Button Does Nothing’ Problem

# Step 0: find swap # Option A: root@kimlinux:/home/kim# cat /proc/swaps Filename Type Size Used…

Linux Mint How To Remove Repository

Following is an exercise in removing erroneous repo config that would cause apt update to…