Virtualbox Slow On Mac



VirtualBox is a great application for running various operating systems in a window on the desktop. However, the performance is sometimes not so good. In fact, it’s rotten. Why? Here is one solution you may not have considered.

Check Compatibility Issue. First, you need to check if your system is compatible with macOS new. So I plugged IT in to the mac, and plugged the USB3 drive into IT - anv voila, the VM sees it and can do whatever it wants to with it! This is a suitable workaround for our case. It is not a permanent solution - since we are attempting to deal with a really fast USB3 drive at the painfully slow USB2 speeds, but at least we can continue working. Thanx.I have installed the mac os el captain by going throw the steps but I want to run a software which require Heigh VGA specs and VirtualBox only allows me only 128mb of access from my grafic card can you please provide a solution for accessing 3D acceleration in mac os el captain. Immediately after switching back from the running VM (so I could see the htop display), I found that VirtualBox was using 50% of my CPU to run my idle VM. While sitting on the mac side, it's showing 30-35% CPU with excursions much higher (I saw 100+%). All this time, the VM was idle. 15 minute load average on the mac is 3.56. I have import an appliance in oracle virtualbox 5.1.14 to two PCs. One of them it works properly, and the other the mouse and keyboard are very slow and turned to not working.

If you want to try Linux or Windows 10 on your PC, but you do not want to replace the current operating system, it can be installed into a VirtualBox virtual machine.

This application (available for Windows, Mac and Linux) is a bit like an emulator or simulator for a retro computer, and it runs the operating system in a window on the desktop like a regular application.

If you have not yet discovered VirtualBox, you should try it. You can run old operating systems, so if you have a program that only works in Windows XP, you can install XP in a virtual machine and run it. You can even make the window full screen so it looks like you are really running the guest operating system.

* Top tips to speed up Windows and Linux in VirtualBox
* Speed up VirtualBox enormously with this simple tweak
* The one BIOS tweak you need to boost VirtualBox speed
* Download and run any version of Windows for free in VirtualBox

A moderately powerful processor is required, but it does not need to be the top of the range. The main requirement is for lots of memory and it is a struggle with just 4GB of RAM, but it can be done. It is best if you have at least 8GB though.

A problem arose when Ubuntu 15.04 was installed in VirtualBox and the performance was terrible. It was like wading through treacle navigating menus, windows and applications. It was almost unusable.

That was strange because various versions of Windows running in virtual machines, were a little slow, but not that bad. Linux Mint 17 was really slow too and it seemed that it was mainly Linux that was running very slowly in a virtual machine, especially Ubuntu 15.04.

It seemed like Ubuntu was working hard and when Ubuntu’s System Monitor was run, the CPU usage was a lot higher than it should be at around 60% when no programs were being run.

When Windows Task manager was run (Ubuntu was running in a window on the Windows desktop), and the Performance tab selected, the CPU was idling.

After some thought and experimentation, it was discovered that the Windows power plan was having a serious effect on the performance of the OS in the virtual machine.

The host computer running VirtualBox was a laptop and the power plan was set to Power saver.

Switch power plans to boost performance

Mac

In Power Options in the Control Panel there are at least two power plans – Power saver and High performance. With both of these, there are separate settings for when the computer is running on battery power and when it is plugged into the mains supply.

In the Power saver plan I had set the mains power options all to the maximum, with the idea being that when plugged in the laptop would run at full speed, but when on batteries it would use optimal power-saving settings.

Despite setting the battery and mains power settings correctly, or what I thought was correct, the performance of the OS in a virtual machine was still being affected. The CPU was idling at around 0.77GHz and the performance of Ubuntu reflected this.

Normally when extra processing power is required, the CPU speeds up, but it wasn’t doing this and rarely budged from 0.77GHz

When the High performance power plan was selected in the Control Panel, the CPU ran close to its maximum speed and hovered around of 3.29GHz most of the time. Ubuntu in the virtual machine was then able to run at a normal speed and was fast and responsive.

This is obviously the solution to the virtual machine performance problem.

Slow

You can actually see when I switched from the Power saver to the High performance plan in the Ubuntu System Monitor window and the CPU usage falls rapidly. Instead of working a 0.77GHz CPU really hard, Ubuntu now has access to a 3.29GHz CPU and doesn’t need to work as hard.

So it turned out to be a simple problem, partly caused by selecting the wrong power plan. Make sure that the High power plan is selected when running virtual machines VirtualBox.

I originally thought that this was a bug in VirtualBox, but maybe not. I think it could be VirtualBox respecting the power plans. So if you select a power saver plan then VirtualBox tries to save power by limiting the performance of the virtual machine, which is useful if you are running a laptop on the battery. If you choose a high power plan then it runs it at maximum speed. It makes sense.

Increase the CPU speed

After some more experiments, I found that by raising the minimum processor speed when running on mains power raised the CPU speed. Setting it to 80% made the minimum speed 2GHz on mains power, which was fine for running the virtual machine.

To do this, go to Power Options in the Control Panel and next to the Power saver plan, click Change plan settings.

On the next screen, click Change advanced power settings. Expand Processor power management, Minimum processor state, and set Plugged in Latest macos for macbook pro. to 80% or whatever value gives reasonable performance in the virtual machine.

Reported by:Owned by:
Component: other Version: VirtualBox 6.0.6
Keywords: Cc:
Guest type: Linux Host type: Mac OS X

Description

Attachments

VBox.log (209.2 KB) - added by Vek2 years ago.
VBox.log for affected guest
VoidLinux-2019-05-11-23-00-49.log (200.6 KB) - added by ferdek2 years ago.
VoidLinux+VBoxSVGA slow graphics
UbuntuVM_Logs.zip (66.1 KB) - added by Samuel H.23 months ago.
Ubuntu 16-2020-02-14-19-01-03.log (211.2 KB) - added by dcohen15 months ago.

Change History

Changed 2 years ago by Vek

Mac
  • attachmentVBox.log added

comment:2 Changed 2 years ago by boxer01

Changed 2 years ago by ferdek

  • attachmentVoidLinux-2019-05-11-23-00-49.log added

comment:5 Changed 2 years ago by ferdek

comment:6 Changed 2 years ago by michael

  • Host type changed from other to Mac OS X
  • Guest type changed from other to Linux

comment:8 Changed 2 years ago by Vek

comment:10 Changed 23 months ago by michael

comment:12 Changed 23 months ago by michael

comment:13 Changed 23 months ago by Samuel H.

Last edited 23 months ago by Samuel H. (previous) (diff)

Changed 23 months ago by Samuel H.

  • attachmentUbuntuVM_Logs.zip added

comment:15 Changed 23 months ago by Vek

Virtualbox Windows Slow On Mac

comment:16follow-up:↓ 17 Changed 23 months ago by Vek

Virtualbox Slow On Mac Catalina

comment:17 in reply to: ↑ 16 Changed 23 months ago by ferdek

Virtualbox Slow On Mac

comment:19 Changed 22 months ago by michael

Mac Os Virtualbox Slow

comment:21 Changed 22 months ago by Vek

comment:23 Changed 20 months ago by Vek

comment:25 Changed 17 months ago by Vek

Changed 15 months ago by dcohen

  • attachmentUbuntu 16-2020-02-14-19-01-03.log added

comment:28 Changed 14 months ago by Vek

comment:30 Changed 11 months ago by ashetos

comment:32 Changed 7 months ago by Vek