Bugs item #1674822, was opened at 2007-03-06 08:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1674822&group_id=180599

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Tuttle (thomastuttle)
Assigned to: Nobody/Anonymous (nobody)
Summary: Guest clock runs at 2x host clock

Initial Comment:
(This question was already mentioned on the mailing list 
<http://sourceforge.net/mailarchive/message.php?msg_id=38063609> but, as far as 
I can tell, a solution was not found.)

Host:

[EMAIL PROTECTED] ~ $ uname -a
Linux lion 2.6.20-gentoo #8 SMP Sat Mar 3 17:46:53 EST 2007 x86_64 Intel(R) 
Core(TM)2 CPU         T7200  @ 2.00GHz GenuineIntel GNU/Linux
[EMAIL PROTECTED] ~ $ cat /proc/sys/dev/rtc/max-user-freq
1024
[EMAIL PROTECTED] ~ $ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6
cpu MHz         : 2000.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm 
constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 4000.07
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name      : Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
stepping        : 6
cpu MHz         : 2000.000
cache size      : 4096 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm 
constant_tsc pni monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr lahf_lm
bogomips        : 3994.80
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

Guest:

gentoo-qemu ~ # uname -a
Linux gentoo-qemu 2.6.19-gentoo-r5 #1 Sun Mar 4 15:01:51 EST 2007 x86_64 QEMU 
Virtual CPU version 0.9.0 GenuineIntel GNU/Linux

The clock in my 64-bit virtual machine runs at two times the speed of the clock 
on my 64-bit, dual core host.  For example, if I run `sleep 10', it only sleeps 
for 5 real seconds.  And `watch -n 0.1 date' clearly shows the clock running 
faster than normal.

As you can see, I've properly set rtc/max-user-freq to 1024 on the host before 
I started the virtual machine.

I've tried passing `notsc' and/or `clock=pit' to the (64-bit) guest kernel, but 
that doesn't help.

I am going to try rebooting my machine with only one core enabled, to see if 
perhaps that fixes the problem.  (It's just a hunch, but it's worth a shot.)

Thanks,

Thomas Tuttle

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1674822&group_id=180599

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to