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

Re: [Xen-devel] How to Stop scheduler


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "James (song wei)" <jsong@xxxxxxxxxx>
  • Date: Tue, 3 Nov 2009 22:02:37 -0800 (PST)
  • Delivery-date: Tue, 03 Nov 2009 22:03:00 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

IMO, George have say it clearly, interrupt ïincluding timer interrupt) will
be losed until the VCPU or Domain unpaused.

-James (song wei)


Pankaj Parakh wrote:
> 
> So is that means there will be no interrupt loss, and also clock in
> the paused domain will be in right and expected time.. ??
> 
> On Wed, Nov 4, 2009 at 12:41 AM, George Dunlap
> <george.dunlap@xxxxxxxxxxxxx> wrote:
>> If you call vcpu_pause(), it atomically increments a counter in the vcpu
>> struct. ÂWhile that counter is non-zero, the vcpu *will not* be
>> scheduled,
>> interrupts or no. ÂInterrupts will be delivered when it's scheduled
>> again.
>>
>> -George
>>
>> Pankaj Parakh wrote:
>>>
>>> Â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
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-to-Stop-scheduler-tp26170683p26191458.html
Sent from the Xen - Dev mailing list archive at Nabble.com.


_______________________________________________
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®.