* [Qemu-devel] Is 'hwclock -u -s' in a modern Linux guest necessary?
@ 2016-03-19 19:32 Richard W.M. Jones
0 siblings, 0 replies; only message in thread
From: Richard W.M. Jones @ 2016-03-19 19:32 UTC (permalink / raw)
To: qemu-devel
I've been examining the time taken to launch the libguestfs appliance[1].
One of the commands we run in our custom init is:
hwclock -u -s
This takes 0.3 seconds, which is over 10% of the total launch time,
and as far as I can tell it does nothing useful. It was added many
years ago, and no one knows what it does.
We can assume that we're running a modern Linux guest kernel, recent
qemu, have virtio, kvm-clock etc. Is there any need to run this
command?
Rich.
[1] http://libguestfs.org/guestfs-internals.1.html
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages. http://libguestfs.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-03-19 19:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-19 19:32 [Qemu-devel] Is 'hwclock -u -s' in a modern Linux guest necessary? 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.