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

Re: [Xen-devel] pv_ops (2.6.31) and CONFIG_NO_HZ

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] pv_ops (2.6.31) and CONFIG_NO_HZ
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 03 Nov 2009 07:41:07 +0000
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Delivery-date: Mon, 02 Nov 2009 23:41:37 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6c9241c6-23c6-4471-b6cb-35754116a8a8@default>
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: AcpcDARSMeY/RIsAQzWe09TFzbvsNQATPyOk
Thread-topic: [Xen-devel] pv_ops (2.6.31) and CONFIG_NO_HZ
User-agent: Microsoft-Entourage/12.20.0.090605
On 02/11/2009 22:29, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

> But as long as we are on the PV topic: Does this mean that
> a PV guest that is idle will never get scheduled due to
> needing to process a tick?  I do see that an idle
> PV domain is doing about 250 kernel rdtsc/second, so
> is this just because the Xen scheduler has nothing
> better to do with a pcpu so it schedules an "idle"
> vcpu on it?

A PV guest is supposed to set a one-shot timer on the next event in its
timer queues. So it depends what sorts of events get put on its timer queues
-- if there are periodic events, it will still request seemingly periodic
one-shot wakeups.

 -- Keir



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