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

Firewall-Cmd

# Show all zonesfirewall-cmd --get-zones# Show Active Zonesfirewall-cmd --get-active-zones# Show Trusted Zonefirewall-cmd --list-all --zone=trusted# Set…

Installing ScreenConnect Client on Ubuntu 20.04

Installation: # CLI installation method after setup file has been downloaded sudo apt install default-jre…

How to Upgrade Kubernetes Ingress Nginx Deployed via Helm

# How to upgrade ingress-nginx: helm upgrade --reuse-values ingress-nginx ingress-nginx/ingress-nginx -n ingress-nginx # Sample output of a failure scenario: brucelee@k8-controller:~$ helm…
Other project: DragonCoin.com