VirtualBox

Opened 14 years ago

Closed 9 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 Frank Mehnert)

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)

screenshot1.png (60.7 KB ) - added by Charlie 14 years ago.
VB Vista on Ubuntu.log (43.5 KB ) - added by Charlie 14 years ago.
Vista-2010-02-11-22-43-46.log (85.7 KB ) - added by Charlie 14 years ago.
Verbose log
Vista-2010-02-12-09-14-43.log (220.2 KB ) - added by Charlie 14 years ago.
Vista-2010-02-13-15-52-28.log (121.7 KB ) - added by Charlie 14 years ago.
Vista-2010-02-22-12-12-12.log (90.6 KB ) - added by Charlie 14 years ago.
dmesg vb output (705 bytes ) - added by Charlie 14 years ago.

Download all attachments as: .zip

Change History (21)

by Charlie, 14 years ago

Attachment: screenshot1.png added

by Charlie, 14 years ago

Attachment: VB Vista on Ubuntu.log added

comment:1 by Frank Mehnert, 14 years ago

Summary: Pauses on Ubuntu 64 hostPauses on Ubuntu 64 host (SetSystemTimeAdjustment => ERROR_PRIVILEGE_NOT_HELD?)

comment:2 by pentagonik, 14 years ago

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!

by Charlie, 14 years ago

Verbose log

comment:3 by Charlie, 14 years ago

There you go!

If it's not right, let me know.

Charlie

comment:4 by Frank Mehnert, 14 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 Charlie, 14 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 Charlie, 14 years ago

comment:6 by Charlie, 14 years ago

Behaviour still evident with VirtualBox 3.1.4. New log attached.

by Charlie, 14 years ago

comment:7 by Frank Mehnert, 14 years ago

Did you update the guest additions to 3.1.4? According to the logfile no ...

comment:8 by Charlie, 14 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 Charlie, 14 years ago

comment:9 by Charlie, 14 years ago

Attached is output from dmesg | grep vbox , in case that helps.

Charlie

by Charlie, 14 years ago

Attachment: dmesg vb output added

comment:10 by Frank Mehnert, 14 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:11 by Charlie, 14 years ago

I have emailed you as requested.

Charlie

comment:12 by Frank Mehnert, 14 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 Charlie, 14 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 Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use