[CFT] Paravirtualized KVM clock

Peter Jeremy peter at rulingia.com
Wed Jan 21 21:58:07 UTC 2015


On 2015-Jan-04 11:56:14 -0600, Bryan Venteicher <bryanv at daemoninthecloset.org> wrote:
>For the last few weeks, I've been working on adding support for KVM clock
>in the projects/paravirt branch. Currently, a KVM VM guest will end up
>selecting either the HPET or ACPI as the timecounter source. Unfortunately,
>this is very costly since every timecounter fetch causes a VM exit. KVM
>clock allows the guest to use the TSC instead; it is very similar to the
>existing Xen timer.

A somewhat late response but have you looked at
https://github.com/blitz/freebsd/commit/cdc5f872b3e48cc0dda031fc7d6bdedc65c3148f
I've been running this[*] on a Google Compute Engine instance for about 6
months without problems.

[*] I had to patch out the test for KVM_FEATURE_CLOCKSOURCE_STABLE_BIT but
    I think that's a GCE issue.

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20150122/571d605b/attachment.sig>


More information about the freebsd-current mailing list