memtest
Go to https://www.memtest86.com/ and download/run their free memtest
to test your memory. Get at least one complete pass of all the 4/4 tests to confirm good memory. This may take many hours to complete.
BIOS
MSI-Z490 Gaming Edge Wifi
You have BIOS version 1.00.
There's a newer BIOS available that might help solve your problem, version 1.30, dated 10/14/2020, and can be downloaded here.
Note: Confirm that I have the correct web page for your motherboard model #.
Note: Have good backups before updating the BIOS.
/swapfile
Even though you have a lot of memory, a swap partition or /swapfile is still recommended. Let's create a fresh /swapfile...
Note: Incorrect use of the dd
command can cause data loss. Suggest copy/paste.
In the terminal
...
sudo swapoff -a # turn off swap
sudo rm -i /swapfile # remove old /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1M count=4096
sudo chmod 600 /swapfile # set proper file protections
sudo mkswap /swapfile # init /swapfile
sudo swapon /swapfile # turn on swap
free -h # confirm 32G RAM and 4G swap
Confirm this /swapfile line at the end of /etc/fstab... and confirm no other “swap” lines...
To edit, use sudo -H gedit /etc/fstab
or sudo pico /etc/fstab
/swapfile none swap sw 0 0
reboot # reboot and verify operation
vm.swappiness
Since you have 32G RAM, to minimize swapping, let's change this value...
Set vm.swappiness=10 (based on 32G RAM and 4G SWAP), this way...
sudo -H gedit /etc/sysctl.conf
# edit this file
Search for an existing vm.swappiness=
entry...
CTRL+f vm.swappiness
If found, edit it to say vm.swappiness=10
If not found, add vm.swappiness=10
at the end of the file
Save your edits and quit gedit
sudo sysctl -p
Update #1:
Set intel_idle.max_cstate=1
in /etc/default/grub, and then sudo update-grub
and reboot
solved the problem.
memtest
to test your memory. Get at least one complete pass of all the 4/4 tests to confirm good memory. This may take many hours to complete. – heynnema Dec 02 '20 at 23:13sudo dmidecode -s bios-version
and tell me the EXACT model # of your motherboard. MSI Z490-what? Show mefree -h
andsudo lshw -C memory
andsysctl vm.swappiness
. If you turn off "Game Boost" in the BIOS, any difference? Start comments to me with @heynnema or I'll miss them. – heynnema Dec 08 '20 at 18:41description: BIOS vendor: American Megatrends Inc. physical id: 0 version: 1.00 date: 03/24/2020 size: 64KiB capacity: 32MiB capabilities: pci upgrade shadowing cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer acpi usb biosbootspecification uefi – Matthew Vella Dec 09 '20 at 18:26