* [Qemu-devel] tsc=reliable in Linux guests
@ 2016-05-13 10:15 Richard W.M. Jones
0 siblings, 0 replies; only message in thread
From: Richard W.M. Jones @ 2016-05-13 10:15 UTC (permalink / raw)
To: qemu-devel
I was wondering why the Linux kernel was spending 21ms starting up
each secondary CPU when we boot it virtualized with qemu -smp >= 2.
It turns out the time was lost in check_tsc_sync_target().
This is easily avoided by using `tsc=reliable' on the command line,
saving 63ms when starting a guest with -smp 4 for example.
Is this option safe? If so, why don't we enable it automatically in
the kernel when we detect that we are a KVM guest?
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-13 10:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-13 10:15 [Qemu-devel] tsc=reliable in Linux guests Richard W.M. Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.