Opened 15 years ago
Closed 10 years ago
#6152 closed defect (obsolete)
Pauses on Ubuntu 64 host (SetSystemTimeAdjustment => ERROR_PRIVILEGE_NOT_HELD?)
Reported by: | Charlie | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 3.1.2 |
Keywords: | pause, performance | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description (last modified by )
Hi
I have been using VirtualBox for a few years now on an Ubuntu host with an XP guest OS. Recently, I installed a Vista (Home Premium 32) guest, but have run into a problem.
Approximately every 10 seconds, I see a pause for about 2 sec. This seems to affect the whole guest OS- mouse animations, video pauses etc. I have installed guest additions, but I saw this problem before doing that- and before installation, the pause would even affect mouse cursor movement.
I then rebooted into the XP VM, and see that the effect is present there, too. It does seem to be a bit less pronounced there, though.
I've attached a screenshot with my settings. I have had a good old fiddle with them, to no good effect. Also attached is a log from the Vista VM.
I can't find much about pauses from googling or searching this site, but apologies if I've missed something. If there's any more information I need to include, please let me know, I'll be happy to do so.
Cheers Charlie
My PC Specs: Ubuntu 9.10 64 Acer 5920G, Intel C2D T7300 4 GB RAM NVidia 8600M
Attachments (7)
Change History (21)
by , 15 years ago
Attachment: | screenshot1.png added |
---|
by , 15 years ago
Attachment: | VB Vista on Ubuntu.log added |
---|
comment:1 by , 15 years ago
Summary: | Pauses on Ubuntu 64 host → Pauses on Ubuntu 64 host (SetSystemTimeAdjustment => ERROR_PRIVILEGE_NOT_HELD?) |
---|
comment:2 by , 15 years ago
comment:4 by , 15 years ago
Please could you repeat your last experiment? Make sure that you wait for some minutes before you shut down your guest. Make sure that your guest shows some of the paused states you described in the bug description. Then attach the (verbose) VBox.log file again.
You can also try if the additions of VBox 3.1.4 Beta 2 fix your problem.
comment:5 by , 15 years ago
Latest log attached.
VM was running for over 10 mins, and most certainly exhibited the pause behaviour many times!
I'll see if I can get the new version working later.
Charlie
by , 15 years ago
Attachment: | Vista-2010-02-12-09-14-43.log added |
---|
by , 15 years ago
Attachment: | Vista-2010-02-13-15-52-28.log added |
---|
comment:7 by , 15 years ago
Did you update the guest additions to 3.1.4? According to the logfile no ...
comment:8 by , 15 years ago
Hmmm.... I thought I had upgraded the Guest Additions. Anyway, I've installed again, and attach a new log file. I can't see where the G.A. version is in this log, but it's reported as 3.1.14 in the toolbar.
by , 15 years ago
Attachment: | Vista-2010-02-22-12-12-12.log added |
---|
by , 15 years ago
Attachment: | dmesg vb output added |
---|
comment:10 by , 15 years ago
Thanks. I have the following suspicion: Such pauses of the guest (the whole guest isn't responsive for a short amount of time) usually happen if some host system function is called which is supposed to return immediately but which returns after with such a delay. Because this host function is called from the main VM context, the whole VM pauses until this host function returns. Usually suspects are functions of the sound backend or host ACPI functions.
Could you do the following experiment:
sudo chmod u+s /usr/bin/strace strace -ftt -o ~/log -s256 /usr/lib/virtualbox/VirtualBox -startvm VM_NAME
The chmod for strace is necessary to allow it to strace VirtualBox which is an suid root process. The trace should show the called host OS functions including a timestamp. Please let this test run for a while and make sure that these delays occur. Then shutdown your guest. Finally compress the log file and send it to me via private E-mail at frank _dot_ mehnert _at_ sun _dot_ com. If this compressed file is too big I can tell you a server where you can upload the file. Thank you!
comment:12 by , 15 years ago
Thank you for this trace. Unfortunately I didn't spot anything unusual. A wild guess: Could you disable the sound for this VM and check if these pauses still occur?
comment:13 by , 15 years ago
Unfortunately, I still observe the pauses after disabling sound. I can try to disable other services to see if that has any effect?
Charlie
comment:14 by , 10 years ago
Description: | modified (diff) |
---|---|
Resolution: | → obsolete |
Status: | new → closed |
Could you please edit the following line in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VBoxService
, where value
"ImagePath" = "system32\VBoxService.exe" to "ImagePath" = "system32\VBoxService.exe -vvvv".
This enabled a more verbose output of our Guest Addition service in order to figure out what's going wrong.
After that please reboot the system and attach the new log here. Thanks!