I recently upgraded the RAM to 16 GB hoping that would solve these issues. However, after allocating 2GB more memory to the guest I have had unexpected results:
- RAM 16 GB host, 4 GB guest -- no change in performance
- RAM 16 GB host, 6 GB guest -- VM takes about 45-60 secs to boot, after boot it takes about 2 minutes to index my Downloads folder. Downloads has about 125 items in it. Launching Visual Studio Code takes about 20-30 extra seconds for the Markdown Preview extension to render the preview. Chrome in guest has a noticeable delay on launch and YouTube video lags a few seconds.
- I can run Chrome on host alongside the guest VM just fine now, and I get the poor guest results whether Chrome is running or not
I disabled large memory pages as advised by viewtopic.php?f=2&t=104086t using this command sequence:
Code: Select all
cd "C:\Program Files\Oracle\VirtualBox"
VBoxManage modifyvm "Win7Ult64_20220711" --largepages off
Does this strange behavior have to do with the RAM being a multiple of three? I ask this because in the past there were various numerical formula considerations a novice wouldn't necessarily know about such as if you had N MB of RAM you needed to have at least 4N MB of free space available on your hard drive for virtual memory. Also, at one point it was common (if not actually required) to have RAM chips in matched pairs. So you could have 2 4GB RAM DIMMS, but you would have issues if you tried one 8GB and one 2GB together.
What is causing my guest to lag after upgrading RAM?