

Sign up now Get free account at a provider.Desktop & mobile apps Windows, macOS, Linux, Android, iOS.Enterprise solution For mission-critical use.Nextcloud Enterprise For mission-critical use.Nextcloud at home For families, students & you.Nextcloud Office Real time document collaboration.Nextcloud Groupware Calendar, Contacts & Mail.Nextcloud Talk Calls, chat and web meetings.

All of the Linux (and Windows) based VMs I've regularly used have performed well with a modest allocation of 2CPU's, 2GB RAM, + 128MB VRAM, but your use may, of course, be completely different. It may seem counter-intuitive but, unless the VM is regularly used for running 'heavyweight' applications, or intensive data management processes I would suggest scaling back to 2CPUs + 2 or 4Gb RAM and only consider increasing from that if you experience problems. The logs don't appear (to me) to point to any other obvious issues or problems, but it would be worthwhile to test performance with fewer resources being allocated to the Ubuntu VM as over-provisioning of VMs can have a negative impact on performance, as unused resources still have to be managed.

There are also comments about this issue (not limited to ubuntu) to be found involving the combination of Gnome Desktop and Wayland. Resetting the login to use X11 is probably the best option. It appears that part of the issue you've seen are linked to the fact, that from the release of Ubuntu 22.04, Canonical changed the default display protocol from X11 to Wayland and Wayland appears to be less suited to working with Virtual Graphics Adapters, as used by VirtualBox.

Thanks for the new Logs and supporting comments. My previous Ubuntu install, which shows the same problems under the new system, ran without any problems under the previous (MacOS 12.3.x, VBox 6.1.32) configuration. Note: VirtualBox ran without problems last time I used it, but that was before the Monterey update. One interesting side effect I see is that the screen capture (command-shift-4) does not work during the high load condition. Taken during the high load condition (approximately 4 minutes in). Ubuntu has the newest updates and Guest additions installed successfully. I upgraded the VirtualBox install from 6.1.32 to 6.1.34 today. Memory usage is sitting at 6GB during this time. This condition persists for several minutes and reoccurs when changes to the display setting are made (even something as simple as changing the resolution. The guest load average is at about 0.3, the host load average is above 6. Using an Ubuntu 22.04 guest new install with 4 cores/8GB/48GB assigned is a) sluggish/unresponsive when trying to change Ubuntu screen settings (200% so it becomes readable) and b) uses up to 600% CPU on the host. I am using a 2019 Core i9 16" Macbook Pro with 32GB of RAM and Monterey (12.4).
