From: "Richard W.M. Jones" <rjones@redhat.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Is 'hwclock -u -s' in a modern Linux guest necessary?
Date: Sat, 19 Mar 2016 19:32:44 +0000 [thread overview]
Message-ID: <20160319193243.GA19398@redhat.com> (raw)
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
reply other threads:[~2016-03-19 19:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20160319193243.GA19398@redhat.com \
--to=rjones@redhat.com \
--cc=qemu-devel@nongnu.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 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.