Virtual machines with ACPI enabled keep freezing temporarily on a MacBook => Fixed in SVN
|Reported by:||Sebastian Thürrschmidt||Owned by:|
|Guest type:||other||Host type:||Linux|
I have a MacBook 4,1, running Ubuntu 8.10 Intrepid Ibex (amd64) and VirtualBox 2.1 (PUEL).
Guest machines with any operating system and ACPI enabled are practically unusable because, after running for some time, they will begin to freeze temporarily every few seconds. I can move the mouse pointer while the guest is in its frozen state, but otherwise everything comes to a standstill. No input is possible, and the display isn't being updated so that things like animated cursors or the hands of analog clocks won't move. When the guest becomes responsive again after a few seconds, it looks like it's trying to make good for the time lost by running faster for a few moments. Animated cursors, analog clocks etc. will run in an accelerated, jumpy way during this catch-up phase, which lasts for about two to four seconds. Shortly after that, the guest will freeze again, and so on and so forth. The host machine is not affected and remains responsive all the time.
This behavior becomes the more pronounced the longer the guest machine has been running. First there are only the slightest of delays, but within half an hour or so it becomes impossible to do anything inside the guest. Pausing and resuming, saving and restoring, or rebooting the guest, quitting and restarting VirtualBox or restarting the VirtualBox daemon make no difference at all. Only rebooting the host machine helps for a short while. Booting the host machine with the nohz=off option and/or inserting force_async_tsc=1 into /etc/init.d/vboxdrv, as suggested in the FAQ and in various forum posts, won't help. The only thing that helps is to disable ACPI for the guest in its advanced settings.
The problems began right after I upgraded Ubuntu from 8.04 to 8.10, initially with VirtualBox 2.0.2 (OSE), and they persisted as I switched to the PUEL version and updated it to the 2.0.4, 2.0.6 and 2.1 releases. Guest machines running Windows XP, Windows 2000, Ubuntu, as well as OpenSolaris are all affected. The freezes are more frequent and become longer earlier during a guest session on Windows guests than on Linux/Unix guests. This is in addition to the fact that existing Windows guests will most likely become inoperable when ACPI is disabled after installing the operating system.
A number of users, all of them using either Ubuntu or Archlinux on MacBook or MacBook Pro computers, have reported very similar problems in a forum thread started by me (http://forums.virtualbox.org/viewtopic.php?t=11206).
The attached VBox.log file is from a Windows XP guest with ACPI enabled that I left running for about 15 hours with almost no interaction. It showed all of symptoms described here.
Change History (70)
comment:49 by , 14 years ago
|Summary:||Virtual machines with ACPI enabled keep freezing temporarily on a MacBook → Virtual machines with ACPI enabled keep freezing temporarily on a MacBook => Fixed in SVN|