[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] RE: [PATCH] Align periodic vpts


  • To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Wei, Gang" <gang.wei@xxxxxxxxx>
  • Date: Thu, 12 Feb 2009 10:09:30 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Cc:
  • Delivery-date: Wed, 11 Feb 2009 18:09:57 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcmMOKb7clHaVWfpTWKVxXzVWUXrbAAA+rheAAAN2YAAALAdcAACfCnjAAAJt5AAGnlB0A==
  • Thread-topic: [PATCH] Align periodic vpts

On Wednesday, February 11, 2009 9:21 PM, Tian, Kevin wrote:
>> From: Keir Fraser [mailto:keir.fraser@xxxxxxxxxxxxx]
>> Sent: Wednesday, February 11, 2009 9:06 PM
>> 
>> I'd actually be interested in knowing how just bumping Xen
>> cmdline option
>> timer_slop= would influence power usage and guest timers. No new code
>> needed, a nice sliding dial (per host) for power usage versus timer accuracy.
...
> So range timer does affects latency, but in general is a power
> efficient feature to fit requirement where power matters more. It's
> especially useful at cpu over-commitment where more chances
> to align timers and reduce interrupts by a higher factor.
> 
> While range timer impacts all timers nondistinctively (xen timer
> itself is in essential one shot), Jimmy's patch tends to reach
> similar effect for periodical timer (since once align at 1st shot,
> so does latter), while leaving single shot timer as it is w/o touching
> global slop.
> 
> To me above two are not identical which reduces power in different
> level.:-)

Just as Kevin explained, aligning periodic timer in the beginning could bring 
powe gain with less impact to timer expiry accuracy, so it is suitable for 
using before we dig out most of the side effect for large slop range timer. I 
will try to make the option per-domain and then resend the patch. Meanwhile, I 
am also prefer to make this option default on. Any further comments?

Jimmy
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.