From: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: "Dong, Eddie" <eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: A testing for KVM
Date: Wed, 13 Jun 2007 13:58:36 +0300 [thread overview]
Message-ID: <466FCDDC.3060400@qumranet.com> (raw)
In-Reply-To: <10EA09EFD8728347A513008B6B0DA77A0198452F-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
Dong, Eddie wrote:
>> We found that using an hrtimer enabled host with
>> CONFIG_HZ=1000 improves
>> things. However I don't think that it's as accurate as 7
>> seconds in 20
>> minutes (that's better than 1% accuracy), so probably more work is
>> needed in qemu to correct time drift.
>>
>>
> Time virtualization for HVM is always a headache, no simple way can
> provide
> accurate source :-(
> Per current KVM time virtualization policy, drop of jiffies or redundant
> jiffies
> may happen frequently.
There is some code in kvm's qemu to track dropped ticks and reinject
them. The code is disabled because it doesn't work well.
> BTW, even in Xen, we are not satisfied with the
> time
> virtualization especially for TSC timer.
>
I don't think tsc can be virtualized well. It's too fast.
> Some modification in guest Linux side is really needed, maybe somebody
> can bring this issue to virtualization mini summit?
>
Linux already has support for paravirtualized time, we just need to use it.
--
error compiling committee.c: too many arguments to function
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
next prev parent reply other threads:[~2007-06-13 10:58 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-13 8:37 A testing for KVM Zhao, Yunfeng
[not found] ` <10EA09EFD8728347A513008B6B0DA77AA3EEA0-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-13 8:48 ` Avi Kivity
[not found] ` <466FAF56.4070802-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-13 10:16 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A0198452F-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-13 10:58 ` Avi Kivity [this message]
2007-06-13 11:02 ` Gregory Haskins
[not found] ` <1181732578.26394.9.camel-5CR4LY5GPkvLDviKLk5550HKjMygAv58XqFh9Ls21Oc@public.gmane.org>
2007-06-13 11:41 ` Dor Laor
2007-06-21 3:23 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01A562AD-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-21 9:01 ` Avi Kivity
[not found] ` <467A3E66.4090406-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-06-21 9:09 ` Dong, Eddie
[not found] ` <10EA09EFD8728347A513008B6B0DA77A01A56502-wq7ZOvIWXbNpB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2007-06-21 9:28 ` Avi Kivity
-- strict thread matches above, loose matches on Subject: below --
2007-06-21 5:12 Dong, Eddie
2007-06-21 11:06 Gregory Haskins
[not found] ` <467A23890200005A000262B7-Igcdv/6uVdMHoYOw/+koYqIwWpluYiW7@public.gmane.org>
2007-06-21 12:41 ` Dong, Eddie
2007-06-21 12:50 Gregory Haskins
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=466FCDDC.3060400@qumranet.com \
--to=avi-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=eddie.dong-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox