Bad performance after upgrading to Linux Mint 20 (Ubuntu 20.04 based). Solved by disabling transparent hugepage in kernel.
The grub approach survives a restart:
1 |
# sudo vi /etc/default/grub |
Find and replace GRUB_CMDLINE_LINUX
line to:
1 |
GRUB_CMDLINE_LINUX="transparent_hugepage=never" |
Update grub and reboot:
1 |
# sudo update-grub |
Updated Oct 4, 2021: if using Windows guest, also use OpenGL render to avoid high CPU usage. Edit *.vmx file and add:
1 2 |
mks.enableMTLRenderer = "FALSE" mks.enableGLRenderer = "TRUE" |