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: "Wei, Gang" <gang.wei@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH] Align periodic vpts
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 11 Feb 2009 11:23:05 +0000
Cc:
Delivery-date: Wed, 11 Feb 2009 03:23:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8FED46E8A9CA574792FC7AACAC38FE7701CB087ADD@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmMOKb7clHaVWfpTWKVxXzVWUXrbAAAnSRH
Thread-topic: [PATCH] Align periodic vpts
User-agent: Microsoft-Entourage/12.14.0.081024
On 11/02/2009 11:05, "Wei, Gang" <gang.wei@xxxxxxxxx> wrote:

> + * CAUTION:
> + * While vlapic timer ticking too close to the pit.  We saw a userspace
> + * application getting the wrong answer because long CPU bound sequences
> + * appeared to run with zero CPU time. This only showed up with old Linux
> + * kernels (IIRC, it was with Red Hat 3 U8). So this option may cause a
> + * regression in this case.
> + */
> +static int opt_align_periodic_vpt = 0;
> +boolean_param("align_periodic_vpt", opt_align_periodic_vpt);
> +

Presumably there are common cases where not aligning vlapic too has
significant power overheads? Personally I'm not sure I care too much about a
minor regression on RH3, if this patch is worthwhile at all I think it
should be always on and at most have a domain config option. I think a boot
option will never ever be used.

 -- Keir



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