All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
       [not found] ` <1324163226.639762.1310740209589.JavaMail.root@sz0032a.westchester.pa.mail.comcast.net>
@ 2011-07-21 12:58   ` Pasi Kärkkäinen
  2011-07-21 13:15     ` [Xen-devel] " Juergen Gross
  0 siblings, 1 reply; 12+ messages in thread
From: Pasi Kärkkäinen @ 2011-07-21 12:58 UTC (permalink / raw)
  To: andrewpitman; +Cc: xen-devel, xen-users

On Fri, Jul 15, 2011 at 02:30:09PM +0000, andrewpitman@comcast.net wrote:
>    Hi all!
> 
>    I've been trying to make use of the credit2 scheduler for my guests
>    running real-time (audio) applications, and to facilitate this I'm using
>    cpupools to separate Domain-0 and less time critical guests which run fine
>    under the regular credit scheduler, and the others which need to use
>    credit2.  However, I seem to be able to reliably crash the hypervisor when
>    I try to move virtual cpus (hyperthreads) or domains between cpupools.
>    Sometimes it even crashes when I simply try to set the credit2 scheduler
>    weight for a domain.  All domains are fully virtualized and running CentOS
>    5.  Dom-0 is running Fedora 13 with pvops 2.6.32.40 kernel.
> 
>    The panic message displays a register dump and stack trace, as well as:
>    (XEN) Panic on CPU 0:
>    (XEN) Xen BUG at sched_credit.c:991
> 
>    Hardware is a Dell R810 server with one 10-core Xeon E7, 128 GB RAM and
>    the guests reside on NAS storage.
> 
>    If I simply use Pool-0 for everything and set the default scheduler to
>    credit2 in the Xen boot string everything runs fine, but this workaround
>    is not ideal since it removes some flexibility for me.
> 
>    Any ideas where I should look to determine how to resolve this?
> 

(Added xen-devel to CC).

Can you please post the exact steps to reproduce the hypervisor crash?

-- Pasi

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] Re: Xen 4.1.1 crash when manipulating cpupools.
  2011-07-21 12:58   ` [Xen-users] Xen 4.1.1 crash when manipulating cpupools Pasi Kärkkäinen
@ 2011-07-21 13:15     ` Juergen Gross
  2011-07-21 13:47       ` Re: [Xen-users] " George Dunlap
  0 siblings, 1 reply; 12+ messages in thread
From: Juergen Gross @ 2011-07-21 13:15 UTC (permalink / raw)
  To: Pasi Kärkkäinen
  Cc: George Dunlap, xen-devel, xen-users, andrewpitman

On 07/21/11 14:58, Pasi Kärkkäinen wrote:
> On Fri, Jul 15, 2011 at 02:30:09PM +0000, andrewpitman@comcast.net wrote:
>>     Hi all!
>>
>>     I've been trying to make use of the credit2 scheduler for my guests
>>     running real-time (audio) applications, and to facilitate this I'm using
>>     cpupools to separate Domain-0 and less time critical guests which run fine
>>     under the regular credit scheduler, and the others which need to use
>>     credit2.  However, I seem to be able to reliably crash the hypervisor when
>>     I try to move virtual cpus (hyperthreads) or domains between cpupools.
>>     Sometimes it even crashes when I simply try to set the credit2 scheduler
>>     weight for a domain.  All domains are fully virtualized and running CentOS
>>     5.  Dom-0 is running Fedora 13 with pvops 2.6.32.40 kernel.
>>
>>     The panic message displays a register dump and stack trace, as well as:
>>     (XEN) Panic on CPU 0:
>>     (XEN) Xen BUG at sched_credit.c:991
>>
>>     Hardware is a Dell R810 server with one 10-core Xeon E7, 128 GB RAM and
>>     the guests reside on NAS storage.
>>
>>     If I simply use Pool-0 for everything and set the default scheduler to
>>     credit2 in the Xen boot string everything runs fine, but this workaround
>>     is not ideal since it removes some flexibility for me.
>>
>>     Any ideas where I should look to determine how to resolve this?

You could try to make credit2 cpupool-ready ;-)

I don't think credit2 is supporting cpupools up to now (at least not any other
cpupool than Pool-0). George?

I wanted to address this topic on the upcoming Xen Hackathon here in Munich, as
George will be here, too, to answer my questions...

Hope you can wait until then...
As I'm very busy now, I won't have much time to look into this earlier.


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-07-21 13:15     ` [Xen-devel] " Juergen Gross
@ 2011-07-21 13:47       ` George Dunlap
  2011-08-02 19:44         ` [Xen-devel] " andrewpitman
  0 siblings, 1 reply; 12+ messages in thread
From: George Dunlap @ 2011-07-21 13:47 UTC (permalink / raw)
  To: Juergen Gross
  Cc: George Dunlap, xen-devel@lists.xensource.com,
	xen-users@lists.xensource.com, andrewpitman@comcast.net

On Thu, 2011-07-21 at 14:15 +0100, Juergen Gross wrote:
> I don't think credit2 is supporting cpupools up to now (at least not any other
> cpupool than Pool-0). George?

I think that here were some unfortunate corner cases wrt credit2 +
cpupools that I didn't get worked out.  In any case, it's certainly not
being tested regularly, so it would be no surprise of something broke.

I'll take a look at it in the next few [working] days in hope that
there's a relatively simple fix.

 -George

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] Re: Xen 4.1.1 crash when manipulating cpupools.
  2011-07-21 13:47       ` Re: [Xen-users] " George Dunlap
@ 2011-08-02 19:44         ` andrewpitman
  2011-08-03 18:09           ` Re: [Xen-users] " George Dunlap
  0 siblings, 1 reply; 12+ messages in thread
From: andrewpitman @ 2011-08-02 19:44 UTC (permalink / raw)
  To: George Dunlap
  Cc: George Dunlap, Juergen Gross, xen-devel, xen-users,
	Pasi Kärkkäinen


[-- Attachment #1.1: Type: text/plain, Size: 1406 bytes --]

George, 

Thanks, that would be great! It would definitely be useful to have the credit2 scheduler fully support cpupools. 

One other thing I did notice was that when I try to weight Domain-0 it crashes the hypervisor as well (example: "xm sched-credit2 -d Domain-0 -w 512"). 

Thanks, 
Andy 

----- Original Message -----
From: "George Dunlap" <george.dunlap@citrix.com> 
To: "Juergen Gross" <juergen.gross@ts.fujitsu.com> 
Cc: "George Dunlap" <George.Dunlap@eu.citrix.com>, xen-devel@lists.xensource.com, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi>, andrewpitman@comcast.net 
Sent: Thursday, July 21, 2011 9:47:19 AM 
Subject: Re: [Xen-devel] Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools. 

On Thu, 2011-07-21 at 14:15 +0100, Juergen Gross wrote: 
> I don't think credit2 is supporting cpupools up to now (at least not any other 
> cpupool than Pool-0). George? 

I think that here were some unfortunate corner cases wrt credit2 + 
cpupools that I didn't get worked out. In any case, it's certainly not 
being tested regularly, so it would be no surprise of something broke. 

I'll take a look at it in the next few [working] days in hope that 
there's a relatively simple fix. 

-George 


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

[-- Attachment #1.2: Type: text/html, Size: 1721 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-08-02 19:44         ` [Xen-devel] " andrewpitman
@ 2011-08-03 18:09           ` George Dunlap
  2011-11-08 16:14             ` [Xen-devel] " andrewpitman
  0 siblings, 1 reply; 12+ messages in thread
From: George Dunlap @ 2011-08-03 18:09 UTC (permalink / raw)
  To: andrewpitman@comcast.net
  Cc: Juergen Gross, xen-devel@lists.xensource.com,
	xen-users@lists.xensource.com


[-- Attachment #1.1: Type: text/plain, Size: 1720 bytes --]

Yes, I'm aware of the crash when setting weight.  I've had a quick look, 
and it's not obvious what the problem is, and I haven't had a chance to 
look deeper.
  -George

On 08/02/2011 12:44 PM, andrewpitman@comcast.net wrote:
> George,
>
> Thanks, that would be great!  It would definitely be useful to have 
> the credit2 scheduler fully support cpupools.
>
> One other thing I did notice was that when I try to weight Domain-0 it 
> crashes the hypervisor as well (example: "xm sched-credit2 -d Domain-0 
> -w 512").
>
> Thanks,
> Andy
>
> ------------------------------------------------------------------------
> *From: *"George Dunlap" <george.dunlap@citrix.com>
> *To: *"Juergen Gross" <juergen.gross@ts.fujitsu.com>
> *Cc: *"George Dunlap" <George.Dunlap@eu.citrix.com>, 
> xen-devel@lists.xensource.com, xen-users@lists.xensource.com, "Pasi 
> Kärkkäinen" <pasik@iki.fi>, andrewpitman@comcast.net
> *Sent: *Thursday, July 21, 2011 9:47:19 AM
> *Subject: *Re: [Xen-devel] Re: [Xen-users] Xen 4.1.1 crash when 
> manipulating        cpupools.
>
> On Thu, 2011-07-21 at 14:15 +0100, Juergen Gross wrote:
> > I don't think credit2 is supporting cpupools up to now (at least not 
> any other
> > cpupool than Pool-0). George?
>
> I think that here were some unfortunate corner cases wrt credit2 +
> cpupools that I didn't get worked out.  In any case, it's certainly not
> being tested regularly, so it would be no surprise of something broke.
>
> I'll take a look at it in the next few [working] days in hope that
> there's a relatively simple fix.
>
>  -George
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@lists.xensource.com
> http://lists.xensource.com/xen-users


[-- Attachment #1.2: Type: text/html, Size: 3490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Xen-devel] Re: Xen 4.1.1 crash when manipulating cpupools.
  2011-08-03 18:09           ` Re: [Xen-users] " George Dunlap
@ 2011-11-08 16:14             ` andrewpitman
  2011-11-09  9:55               ` Re: [Xen-users] " Juergen Gross
  0 siblings, 1 reply; 12+ messages in thread
From: andrewpitman @ 2011-11-08 16:14 UTC (permalink / raw)
  To: George Dunlap
  Cc: Juergen Gross, xen-devel, xen-users, Pasi Kärkkäinen


[-- Attachment #1.1: Type: text/plain, Size: 2128 bytes --]

George, 

Do you know if this was addressed in 4.1.2? 

Thanks, 
Andy 

----- Original Message -----
From: "George Dunlap" <george.dunlap@eu.citrix.com> 
To: andrewpitman@comcast.net 
Cc: xen-devel@lists.xensource.com, xen-users@lists.xensource.com, "Pasi Kärkkäinen" <pasik@iki.fi>, "Juergen Gross" <juergen.gross@ts.fujitsu.com> 
Sent: Wednesday, August 3, 2011 2:09:08 PM 
Subject: Re: [Xen-devel] Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools. 

Yes, I'm aware of the crash when setting weight. I've had a quick look, and it's not obvious what the problem is, and I haven't had a chance to look deeper. 
-George 

On 08/02/2011 12:44 PM, andrewpitman@comcast.net wrote: 


George, 

Thanks, that would be great! It would definitely be useful to have the credit2 scheduler fully support cpupools. 

One other thing I did notice was that when I try to weight Domain-0 it crashes the hypervisor as well (example: "xm sched-credit2 -d Domain-0 -w 512"). 

Thanks, 
Andy 

----- Original Message -----
From: "George Dunlap" <george.dunlap@citrix.com> 
To: "Juergen Gross" <juergen.gross@ts.fujitsu.com> 
Cc: "George Dunlap" <George.Dunlap@eu.citrix.com> , xen-devel@lists.xensource.com , xen-users@lists.xensource.com , "Pasi Kärkkäinen" <pasik@iki.fi> , andrewpitman@comcast.net 
Sent: Thursday, July 21, 2011 9:47:19 AM 
Subject: Re: [Xen-devel] Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools. 

On Thu, 2011-07-21 at 14:15 +0100, Juergen Gross wrote: 
> I don't think credit2 is supporting cpupools up to now (at least not any other 
> cpupool than Pool-0). George? 

I think that here were some unfortunate corner cases wrt credit2 + 
cpupools that I didn't get worked out. In any case, it's certainly not 
being tested regularly, so it would be no surprise of something broke. 

I'll take a look at it in the next few [working] days in hope that 
there's a relatively simple fix. 

-George 


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




[-- Attachment #1.2: Type: text/html, Size: 4222 bytes --]

[-- Attachment #2: Type: text/plain, Size: 137 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-11-08 16:14             ` [Xen-devel] " andrewpitman
@ 2011-11-09  9:55               ` Juergen Gross
  2011-11-11 21:18                 ` andrewpitman
  0 siblings, 1 reply; 12+ messages in thread
From: Juergen Gross @ 2011-11-09  9:55 UTC (permalink / raw)
  To: andrewpitman; +Cc: George Dunlap, xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 3160 bytes --]

Andy,

the last problem with credit2 and cpupools I'm aware of was fixed with
cs 23156 in xen 4.1, which is included in 4.1.2. I think this addressed
your original problem.


Juergen

On 11/08/2011 05:14 PM, andrewpitman@comcast.net wrote:
> George,
>
> Do you know if this was addressed in 4.1.2?
>
> Thanks,
> Andy
>
> ------------------------------------------------------------------------------
> *From: *"George Dunlap" <george.dunlap@eu.citrix.com>
> *To: *andrewpitman@comcast.net
> *Cc: *xen-devel@lists.xensource.com, xen-users@lists.xensource.com, "Pasi 
> Kärkkäinen" <pasik@iki.fi>, "Juergen Gross" <juergen.gross@ts.fujitsu.com>
> *Sent: *Wednesday, August 3, 2011 2:09:08 PM
> *Subject: *Re: [Xen-devel] Re: [Xen-users] Xen 4.1.1 crash when manipulating 
> cpupools.
>
> Yes, I'm aware of the crash when setting weight.  I've had a quick look, and 
> it's not obvious what the problem is, and I haven't had a chance to look 
> deeper.
>  -George
>
> On 08/02/2011 12:44 PM, andrewpitman@comcast.net wrote:
>
>     George,
>
>     Thanks, that would be great!  It would definitely be useful to have the
>     credit2 scheduler fully support cpupools.
>
>     One other thing I did notice was that when I try to weight Domain-0 it
>     crashes the hypervisor as well (example: "xm sched-credit2 -d Domain-0
>     -w 512").
>
>     Thanks,
>     Andy
>
>     ------------------------------------------------------------------------------
>     *From: *"George Dunlap" <george.dunlap@citrix.com>
>     *To: *"Juergen Gross" <juergen.gross@ts.fujitsu.com>
>     *Cc: *"George Dunlap" <George.Dunlap@eu.citrix.com>,
>     xen-devel@lists.xensource.com, xen-users@lists.xensource.com, "Pasi
>     Kärkkäinen" <pasik@iki.fi>, andrewpitman@comcast.net
>     *Sent: *Thursday, July 21, 2011 9:47:19 AM
>     *Subject: *Re: [Xen-devel] Re: [Xen-users] Xen 4.1.1 crash when
>     manipulating        cpupools.
>
>     On Thu, 2011-07-21 at 14:15 +0100, Juergen Gross wrote:
>     > I don't think credit2 is supporting cpupools up to now (at least not
>     any other
>     > cpupool than Pool-0). George?
>
>     I think that here were some unfortunate corner cases wrt credit2 +
>     cpupools that I didn't get worked out.  In any case, it's certainly not
>     being tested regularly, so it would be no surprise of something broke.
>
>     I'll take a look at it in the next few [working] days in hope that
>     there's a relatively simple fix.
>
>      -George
>
>
>     _______________________________________________
>     Xen-users mailing list
>     Xen-users@lists.xensource.com
>     http://lists.xensource.com/xen-users
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel


-- 
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


[-- Attachment #1.2: Type: text/html, Size: 7134 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-11-09  9:55               ` Re: [Xen-users] " Juergen Gross
@ 2011-11-11 21:18                 ` andrewpitman
  2011-11-14  9:20                   ` Juergen Gross
  0 siblings, 1 reply; 12+ messages in thread
From: andrewpitman @ 2011-11-11 21:18 UTC (permalink / raw)
  To: Juergen Gross; +Cc: George Dunlap, xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 819 bytes --]

Juergen, 

It doesn't look like this has been fixed. I managed to get my 4.1.2 server to crash when setting the weight of Domain-0 (running in Pool-0 using credit2) and again when moving some cpus into a new cpupool which was set up to use the credit2 scheduler. 

Andy 

----- Original Message -----
From: "Juergen Gross" <juergen.gross@ts.fujitsu.com> 
To: andrewpitman@comcast.net 
Cc: "George Dunlap" <george.dunlap@eu.citrix.com>, xen-devel@lists.xensource.com, xen-users@lists.xensource.com 
Sent: Wednesday, November 9, 2011 4:55:41 AM 
Subject: Re: [Xen-devel] Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools. 

Andy, 

the last problem with credit2 and cpupools I'm aware of was fixed with 
cs 23156 in xen 4.1, which is included in 4.1.2. I think this addressed 
your original problem. 


Juergen 

[-- Attachment #1.2: Type: text/html, Size: 1158 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-11-11 21:18                 ` andrewpitman
@ 2011-11-14  9:20                   ` Juergen Gross
  2011-11-14  9:58                     ` Juergen Gross
  2011-11-14 11:13                     ` George Dunlap
  0 siblings, 2 replies; 12+ messages in thread
From: Juergen Gross @ 2011-11-14  9:20 UTC (permalink / raw)
  To: andrewpitman, George Dunlap; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 1285 bytes --]

On 11/11/2011 10:18 PM, andrewpitman@comcast.net wrote:
> Juergen,
>
> It doesn't look like this has been fixed.  I managed to get my 4.1.2 server 
> to crash when setting the weight of Domain-0 (running in Pool-0 using 
> credit2) and again when moving some cpus into a new cpupool which was set up 
> to use the credit2 scheduler.

Yeah, I could reproduce your problems on my machine.

George, I see two problems in credit2:

- when setting the weight of dom0, vcpu_schedule_lock_irq(current) will be
   taken in sched_adjust() of schedule.c and again in csched_dom_cntl() of
   sched_credit2.c resulting in a deadlock.

- removing a cpu from a cpupool seems not to work for credit2. I removed all
   but cpu 0 from Pool-0 and the dom0 vcpus were all active on cpus 1-3. It
   took some time until they moved to cpu 0 (verified via 'r' hotkey on the
   xen console).

I tested on xen-4.1-testing cs 23182.


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


[-- Attachment #1.2: Type: text/html, Size: 2314 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-11-14  9:20                   ` Juergen Gross
@ 2011-11-14  9:58                     ` Juergen Gross
  2011-11-14 11:13                     ` George Dunlap
  1 sibling, 0 replies; 12+ messages in thread
From: Juergen Gross @ 2011-11-14  9:58 UTC (permalink / raw)
  To: andrewpitman, George Dunlap; +Cc: xen-devel, xen-users


[-- Attachment #1.1: Type: text/plain, Size: 1572 bytes --]

On 11/14/2011 10:20 AM, Juergen Gross wrote:
> On 11/11/2011 10:18 PM, andrewpitman@comcast.net wrote:
>> Juergen,
>>
>> It doesn't look like this has been fixed.  I managed to get my 4.1.2 server 
>> to crash when setting the weight of Domain-0 (running in Pool-0 using 
>> credit2) and again when moving some cpus into a new cpupool which was set 
>> up to use the credit2 scheduler.
>
> Yeah, I could reproduce your problems on my machine.
>
> George, I see two problems in credit2:
>
> - when setting the weight of dom0, vcpu_schedule_lock_irq(current) will be
>   taken in sched_adjust() of schedule.c and again in csched_dom_cntl() of
>   sched_credit2.c resulting in a deadlock.
>
> - removing a cpu from a cpupool seems not to work for credit2. I removed all
>   but cpu 0 from Pool-0 and the dom0 vcpus were all active on cpus 1-3. It
>   took some time until they moved to cpu 0 (verified via 'r' hotkey on the
>   xen console).

IMO the problem is choose_cpu() not using CSCHED_CPUONLINE(). The comment

         /* Leave it where it is for now.  When we actually pay attention
          * to affinity we'll have to figure something out... */

suggests the solution isn't too easy...


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html


[-- Attachment #1.2: Type: text/html, Size: 2935 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-11-14  9:20                   ` Juergen Gross
  2011-11-14  9:58                     ` Juergen Gross
@ 2011-11-14 11:13                     ` George Dunlap
  2011-11-14 11:27                       ` Juergen Gross
  1 sibling, 1 reply; 12+ messages in thread
From: George Dunlap @ 2011-11-14 11:13 UTC (permalink / raw)
  To: Juergen Gross
  Cc: George Dunlap, xen-devel@lists.xensource.com,
	xen-users@lists.xensource.com, andrewpitman@comcast.net

On Mon, 2011-11-14 at 09:20 +0000, Juergen Gross wrote:
> On 11/11/2011 10:18 PM, andrewpitman@comcast.net wrote: 
> > Juergen,
> > 
> > It doesn't look like this has been fixed.  I managed to get my 4.1.2
> > server to crash when setting the weight of Domain-0 (running in
> > Pool-0 using credit2) and again when moving some cpus into a new
> > cpupool which was set up to use the credit2 scheduler.
> > 
> 
> Yeah, I could reproduce your problems on my machine.
> 
> George, I see two problems in credit2:
> 
> - when setting the weight of dom0, vcpu_schedule_lock_irq(current)
> will be
>   taken in sched_adjust() of schedule.c and again in csched_dom_cntl()
> of
>   sched_credit2.c resulting in a deadlock.

Yes, this one was recently brought to my attention.  Unfortunately I'm
not sure when I'm going to be able to get to it.  

My big problem is actually testing; I don't have a good way to test
xen-unstable effectively right now.  Juergen, if I were to send you a
prototype patch, could you test it and fix it up if it doesn't work
exactly right?


> 
> - removing a cpu from a cpupool seems not to work for credit2. I
> removed all
>   but cpu 0 from Pool-0 and the dom0 vcpus were all active on cpus
> 1-3. It
>   took some time until they moved to cpu 0 (verified via 'r' hotkey on
> the
>   xen console).
> 
> I tested on xen-4.1-testing cs 23182.
> 
> 
> Juergen
> -- 
> Juergen Gross                 Principal Developer Operating Systems
> PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
> Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
> Domagkstr. 28                           Internet: ts.fujitsu.com
> D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Re: [Xen-users] Xen 4.1.1 crash when manipulating cpupools.
  2011-11-14 11:13                     ` George Dunlap
@ 2011-11-14 11:27                       ` Juergen Gross
  0 siblings, 0 replies; 12+ messages in thread
From: Juergen Gross @ 2011-11-14 11:27 UTC (permalink / raw)
  To: George Dunlap
  Cc: George Dunlap, xen-devel@lists.xensource.com,
	xen-users@lists.xensource.com, andrewpitman@comcast.net

On 11/14/2011 12:13 PM, George Dunlap wrote:
> On Mon, 2011-11-14 at 09:20 +0000, Juergen Gross wrote:
>> On 11/11/2011 10:18 PM, andrewpitman@comcast.net wrote:
>>> Juergen,
>>>
>>> It doesn't look like this has been fixed.  I managed to get my 4.1.2
>>> server to crash when setting the weight of Domain-0 (running in
>>> Pool-0 using credit2) and again when moving some cpus into a new
>>> cpupool which was set up to use the credit2 scheduler.
>>>
>> Yeah, I could reproduce your problems on my machine.
>>
>> George, I see two problems in credit2:
>>
>> - when setting the weight of dom0, vcpu_schedule_lock_irq(current)
>> will be
>>    taken in sched_adjust() of schedule.c and again in csched_dom_cntl()
>> of
>>    sched_credit2.c resulting in a deadlock.
> Yes, this one was recently brought to my attention.  Unfortunately I'm
> not sure when I'm going to be able to get to it.
>
> My big problem is actually testing; I don't have a good way to test
> xen-unstable effectively right now.  Juergen, if I were to send you a
> prototype patch, could you test it and fix it up if it doesn't work
> exactly right?

Sure.


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
PDG ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-11-14 11:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <95606920.636453.1310736697756.JavaMail.root@sz0032a.westchester.pa.mail.comcast.net>
     [not found] ` <1324163226.639762.1310740209589.JavaMail.root@sz0032a.westchester.pa.mail.comcast.net>
2011-07-21 12:58   ` [Xen-users] Xen 4.1.1 crash when manipulating cpupools Pasi Kärkkäinen
2011-07-21 13:15     ` [Xen-devel] " Juergen Gross
2011-07-21 13:47       ` Re: [Xen-users] " George Dunlap
2011-08-02 19:44         ` [Xen-devel] " andrewpitman
2011-08-03 18:09           ` Re: [Xen-users] " George Dunlap
2011-11-08 16:14             ` [Xen-devel] " andrewpitman
2011-11-09  9:55               ` Re: [Xen-users] " Juergen Gross
2011-11-11 21:18                 ` andrewpitman
2011-11-14  9:20                   ` Juergen Gross
2011-11-14  9:58                     ` Juergen Gross
2011-11-14 11:13                     ` George Dunlap
2011-11-14 11:27                       ` Juergen Gross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.