VMWare Workstation for Linux v16 has issues related to memory fragmentation. This will cause the CPU to choke with 100% after a time. The scripts provided will allow you to fix this at launch of vmware on Linux.
Instructions:
- Put vmware-workstation.sh to a good location on your computer like ~/bin or similar
- Make vmware-workstation.sh executable
- Edit vmware-workstation.desktop to have correct paths based on your setup
- Open shell, cd to directory with .desktop file and run:
desktop-file-install --dir=$HOME/.local/share/applications ./vmware-workstation.desktop
The above will create a new desktop launcher that will open a terminal window initially, prompt for su , drop vm caches, compact vm memory and then launch vmware
After a few days of running VMs, the kcompacd0 issue may come back and if it does, hybernate or shutdown vms and bounce vmware.