On Wed, Feb 13, 2008 at 02:00:38PM +0100, [EMAIL PROTECTED] wrote: > Hi Dan, > > > On Wed, Feb 13, 2008 at 10:41:44AM +0100, Koen Vermeer wrote: > >> I'm running an Linux AMD64 guest on an AMD64 host. The host is running a > >> 2.6.23 kernel (self compiled), the guest is running a stock > >> linux-image-2.6.22-3-amd64 Debian kernel. > >> My problem is that the clock on the guest is off (slow), while the clock > >> on the host seems to be OK. When doing 'time sleep 10' on the guest, it > >> takes about 16 'real' seconds for it to finish. > > What is the clock source of your guest? If it is the traditional PIT, > > you describe a known problem in busy hosts. You may try to set > > clocksource=tsc in the guest kerenl parameters. > > Thanks for your reply. I tried looking for PIT in dmesg, which didn't give > me anything. Then I tried 'dmesg|grep -i tsc' and I got > > Time: tsc clocksource has been installed.
If this was done in the guest then, yes, your guest's clocksource is tsc. However, as Uri mentioned earlier, this is useful only with newer KVMs. I assume that your host runs the kvm from 2.6.23 which is pretty old in kvm timescale. Try downloading kvm-60, insmod it to your host and try running your guest. regards, Dan. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel