VirtualBox

Opened 8 years ago

Last modified 8 years ago

#15359 reopened defect

20% clock drift in the guest

Reported by: meixner Owned by:
Component: other Version: VirtualBox 5.0.18
Keywords: clock drift Cc:
Guest type: other Host type: other

Description

The clock of my guest runs at 80% of the speed of the host clock: Invoking date and 60s later invoking it again, only 48s have passed in the guest.

Host: Windows 7 Professional 64bit Guest: Linux Mint 17.1 64bit

Attachments (3)

VBox.log (89.6 KB ) - added by meixner 8 years ago.
VBox.2.log (112.6 KB ) - added by meixner 8 years ago.
Log of the CentOS 6.x guest
VBox.3.log (86.1 KB ) - added by meixner 8 years ago.
After switching to 4 VCPUs

Download all attachments as: .zip

Change History (13)

by meixner, 8 years ago

Attachment: VBox.log added

comment:1 by meixner, 8 years ago

A CentOS 6.x (32 bit) guest on the same host does not show this clock drift.

Last edited 8 years ago by meixner (previous) (diff)

by meixner, 8 years ago

Attachment: VBox.2.log added

Log of the CentOS 6.x guest

comment:2 by Frank Mehnert, 8 years ago

Resolution: invalid
Status: newclosed

Sorry, 4 phyiscal host cores but 8 VCPUs configured, that will not reliably work.

comment:3 by meixner, 8 years ago

I switched back to 4 VCPUs, without any difference. Still losing 12s per minute.

by meixner, 8 years ago

Attachment: VBox.3.log added

After switching to 4 VCPUs

comment:4 by meixner, 8 years ago

So what next? Even with the updated configuration the bug is still there, but the ticket has been closed and the resolution set to invalid. Do I have to open a new ticket?

comment:5 by Frank Mehnert, 8 years ago

Resolution: invalid
Status: closedreopened

comment:6 by Frank Mehnert, 8 years ago

Re-opened the ticket for you :-) The CPU measurement on the host is somehow incorrect. It's incorrect for the CentOS 6 guest as well but has apparently no effect there.

comment:7 by meixner, 8 years ago

BTW. CPU is Core i7-6700 with 3.40GHz

comment:8 by Frank Mehnert, 8 years ago

I know, Skylake, that's visible from the log as well.

comment:9 by Frank Mehnert, 8 years ago

You might want to try the following workaround:

VBoxManage setextradata VM_NAME VBoxInternal/
TM/TSCTicksPerSecond 3400000000

where VM_NAME is the VM you attempt to start.

in reply to:  9 comment:10 by meixner, 8 years ago

Replying to frank:

You might want to try the following workaround:

VBoxManage setextradata VM_NAME VBoxInternal/
TM/TSCTicksPerSecond 3400000000

where VM_NAME is the VM you attempt to start.

Yes, that seems to fix the issue.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use