WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] Align periodic vpts
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0A882F4D99BBF6449D58E61AAFD7EDD606C4EBD3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <0A882F4D99BBF6449D58E61AAFD7EDD606C4EBD2@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <C5B87DB5.292B%keir.fraser@xxxxxxxxxxxxx> <0A882F4D99BBF6449D58E61AAFD7EDD606C4EBD3@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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