From: Antoine Martin <antoine@nagafix.co.uk>
To: dor.laor@qumranet.com
Cc: kvm-devel@lists.sourceforge.net
Subject: Re: idle load
Date: Sat, 05 Apr 2008 09:57:22 +0100 [thread overview]
Message-ID: <47F73EF2.6090104@nagafix.co.uk> (raw)
In-Reply-To: <1206823337.9594.50.camel@localhost.localdomain>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dor Laor wrote:
| On Fri, 2008-03-28 at 23:41 +0000, Antoine Martin wrote:
| Hi,
|
| Guests seem to be doing a lot of timer related polling, is there any way
| to reduce that (which would reduce load on the host):
|
|
|> It's weird we don't see any ioctl in the middle, are you sure kvm
|> modules are loaded?
Ooops, the guest I traced was started before loading them...
Here is one that got started after (sorry for the line noise):
select(5, [0 4], [], [], {0, 0}) = 0 (Timeout)
select(0, [], NULL, NULL, {0, 0}) = 0 (Timeout)
clock_gettime(CLOCK_MONOTONIC, {1685112, 356558791}) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1caff0) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1caff0) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1caff0) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1caff0) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 356664879}) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 356683016}) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 356703393}) = 0
timer_gettime(0x1, {it_interval={0, 0}, it_value={0, 0}}) = 0
timer_settime(0x1, 0, {it_interval={0, 0}, it_value={0, 19000000}},
NULL) = 0
ioctl(6, 0xae80, 0) = 0
ioctl(6, 0xae80, 0) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 356829961}) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1cb160) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 356866505}) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 356886845}) = 0
timer_gettime(0x1, {it_interval={0, 0}, it_value={0, 18844990}}) = 0
ioctl(6, 0xae80, 0) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 356959171}) = 0
ioctl(6, 0xae80, 0) = 0
ioctl(6, 0xae80, 0) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357036644}) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1cb160) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357072651}) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357092946}) = 0
timer_gettime(0x1, {it_interval={0, 0}, it_value={0, 18639127}}) = 0
timer_settime(0x1, 0, {it_interval={0, 0}, it_value={0, 9158000}}, NULL) = 0
ioctl(6, 0xae80, 0) = 0
ioctl(6, 0xae80, 0) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357235274}) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1cb160) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357271483}) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357293651}) = 0
timer_gettime(0x1, {it_interval={0, 0}, it_value={0, 8985696}}) = 0
ioctl(6, 0xae80, 0) = 0
ioctl(6, 0xae80, 0) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357386790}) = 0
ioctl(5, 0x4008ae61, 0x7fff4f1cb160) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357422880}) = 0
clock_gettime(CLOCK_MONOTONIC, {1685112, 357442799}) = 0
|
|> Another thing to do is run with -clock=[unix|rtc]
What about -clock dynticks?
Isn't that going to reduce unnecessary calls?
Cheers
Antoine
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREKAAYFAkf3PvIACgkQGK2zHPGK1rtVfgCcDqdt8zWS//HEUPHdVf9I+2t9
650AnjLM9HOOqyk/Rqsev4vQmXII37jr
=1f+t
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
prev parent reply other threads:[~2008-04-05 8:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 23:41 idle load Antoine Martin
2008-03-29 20:42 ` Dor Laor
2008-04-05 8:57 ` Antoine Martin [this message]
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=47F73EF2.6090104@nagafix.co.uk \
--to=antoine@nagafix.co.uk \
--cc=dor.laor@qumranet.com \
--cc=kvm-devel@lists.sourceforge.net \
/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