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] How to Stop scheduler

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] How to Stop scheduler
From: Pankaj Parakh <me.pankajparakh@xxxxxxxxx>
Date: Wed, 4 Nov 2009 00:32:23 +0530
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 03 Nov 2009 11:02:45 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+U98fXeN9lWNJAn7uBeVv4YF1exu8n82BQJSqODIO88=; b=tb/F8UDcXeW+Jny21dK6hlN1Zjl1E1Cl/K7kxuaDfUYgW7WHrA+gNqAhZShdmnffnQ tLL57ZAZRSdGuul4inJ4P/90Cm7Bf/VN9yOMiRN5HYvXmf0TN16/xTzBIpxMpiikwsnD mrBvoqXk33LyK++tc4MWkHC8cHI1yd9Chqwg8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lDOnIG9g31BZJve+9P/NQrrVz2Kl5z1VAMIlBMQx68w/8OBL3eR36pZtevfIVV2ylZ 0TeTLC3hJGNViAHSFSUJGeSwIFJvBmCjzcVccsw5BDozhFsyI0ljaJgkmC1GA8/20vTp i1otjJpAmuPocLqDNewEM7eqLzYM9aUxUqglI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <de76405a0911030348v2c127fa1j760ed5d8e1d3384@xxxxxxxxxxxxxx>
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: <27a8ee1b0911021302n37b76a0bw5259c7b594147abd@xxxxxxxxxxxxxx> <de76405a0911030348v2c127fa1j760ed5d8e1d3384@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
 If I pause a vcpu/domain using those functions, say if a domain's I/O
request over then its interrupt will raise and it can restart its
scheduling rite..?? How this interrupts are/ can be queued so that
when the vcpu is in pause state, it should nat change its state and
when it come back to wait state, those interrupt will not be lost..

On Tue, Nov 3, 2009 at 5:18 PM, George Dunlap
<George.Dunlap@xxxxxxxxxxxxx> wrote:
> Do you mean that you want to stop one specific vcpu / domain from
> being scheduled?
>
> If so, you're looking for the following functions:
> vcpu_pause(), vcpu_unpause()
> domain_pause(), domain_unpause().
>
> They're defined in xen/common/domain.c.
>
>  -George
>
>
> On Mon, Nov 2, 2009 at 9:02 PM, Pankaj Parakh <me.pankajparakh@xxxxxxxxx> 
> wrote:
>> Hi All,
>>
>> I am working on a project wherein I wanted to stop the scheduling
>> activity in hypervisor through 'generic' part of scheduler, I have lil
>> confusion as to what all things I need to mask/stop for disabling
>> hypervisor to schedule any vcpu untill I want.
>>
>> Issues which I can think are about I/O waits or Zombie VCPUs. But how
>> to tackle them... I dont know..
>>
>> I wanted to know what all responsibility the generic scheduler holds
>> in hypervisor,
>>
>> Any type of info or pointer can be useful.
>>
>> Thanks
>> Pankaj Parakh
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-devel
>>
>



-- 
Pankaj Parakh

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