From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Yu Ke <mr.yuke@gmail.com>
Cc: "Liu, Jinsong" <jinsong.liu@intel.com>,
"Tian, Kevin" <kevin.tian@intel.com>,
"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
"Wei, Gang" <gang.wei@intel.com>, "Yu, Ke" <ke.yu@intel.com>
Subject: Re: [PATCH 0/2] range timer support
Date: Tue, 28 Oct 2008 15:37:09 +0000 [thread overview]
Message-ID: <C52CE225.287D7%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <631d03500810280815y3a415fb2n358f1ebd74111571@mail.gmail.com>
On 28/10/08 15:15, "Yu Ke" <mr.yuke@gmail.com> wrote:
> and IMHO, the power consumption and inaccuracy trade-off is not a
> central policy, each user know better about its tolerance, so it may
> be better to let user to decide.
Yes, I can see there is a fundamental difference in points of view here. I
would point out that, in your second patch, it's not clear there's any
particular reason for the constants chosen in:
MIN(pt->period/8, MILLISECS(1))
How did you arrive at this formula? Why 1ms rather than 2ms, 10ms, or 500us?
Why 8 rather than 16 or 4? Ultimately the entity that really knows what
bounds are reasonable on sloppiness of a guest timer device would be the
guest itself: the kernel, or applications running on it, or users
interacting with that guest software. Otherwise I think you're making a
somewhat uninformed tradeoff between performance and power. And in that
case, if the balance point doesn't need to be chosen all that accurately,
then centralising and hiding the sloppiness seems a good idea to me. Also
that allows the potential for easier central tunability: do you want
performance more than power, or vice versa?
-- Keir
next prev parent reply other threads:[~2008-10-28 15:37 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-28 6:57 [PATCH 0/2] range timer support Yu, Ke
2008-10-28 10:54 ` Keir Fraser
2008-10-28 14:40 ` Yu Ke
2008-10-28 14:50 ` Keir Fraser
2008-10-28 11:00 ` Keir Fraser
2008-10-28 14:43 ` Yu Ke
2008-10-28 14:52 ` Keir Fraser
2008-10-28 11:38 ` Keir Fraser
2008-10-28 15:15 ` Yu Ke
2008-10-28 15:37 ` Keir Fraser [this message]
2008-10-29 2:29 ` Tian, Kevin
2008-10-29 8:28 ` Keir Fraser
2008-10-29 10:45 ` Yu Ke
2008-10-29 15:53 ` Dan Magenheimer
2008-10-30 8:31 ` Yu, Ke
2008-10-30 8:35 ` Keir Fraser
2008-10-30 8:08 ` Yu, Ke
2008-10-30 8:28 ` Keir Fraser
2008-10-30 12:47 ` Yu Ke
2008-10-31 2:23 ` Yu, Ke
2008-10-31 7:12 ` Keir Fraser
2008-10-31 7:50 ` Yu, Ke
2008-10-31 7:59 ` Keir Fraser
2008-10-31 8:37 ` Yu, Ke
2008-10-31 14:03 ` Keir Fraser
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=C52CE225.287D7%keir.fraser@eu.citrix.com \
--to=keir.fraser@eu.citrix.com \
--cc=gang.wei@intel.com \
--cc=jinsong.liu@intel.com \
--cc=ke.yu@intel.com \
--cc=kevin.tian@intel.com \
--cc=mr.yuke@gmail.com \
--cc=xen-devel@lists.xensource.com \
/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.