xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dfaggioli@suse.com>
To: Steven Haigh <netwiz@crc.id.au>, Jan Beulich <JBeulich@suse.com>
Cc: George Dunlap <George.Dunlap@eu.citrix.com>,
	xen-devel <xen-devel@lists.xenproject.org>,
	Juergen Gross <jgross@suse.com>
Subject: Re: BUG: sched=credit2 crashes system when using cpupools
Date: Wed, 12 Sep 2018 17:11:20 +0200	[thread overview]
Message-ID: <9d3beeffa3ed724f751dc190b3de4d34a22f1ea3.camel@suse.com> (raw)
In-Reply-To: <faf61a4a900b3404de8077357e898159@crc.id.au>


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

On Thu, 2018-08-30 at 18:49 +1000, Steven Haigh wrote:
> On 2018-08-30 18:33, Jan Beulich wrote:
> > > > > 
> > Anyway - as Jürgen says, something for the scheduler
> > maintainers to look into.
> 
Ok, I'm back.

> Yep - I just want to confirm that we tested this in BOTH NUMA 
> configurations - and credit2 crashed on both.
> 
> I switched back to sched=credit, and it seems to work as expected:
> # xl cpupool-list
> Name               CPUs   Sched     Active   Domain count
> Pool-node0          12    credit       y          3
> Pool-node1          12    credit       y          0
> 
Wait, in a previous message, you said: "A machine where we could get
this working every time shows". Doesn't that mean creating a separate
pool for node 1 works with both Credit and Credit2, if the node has
memory?

I mean, trying to clarifying, my understanding is that you have to
systems:

system A: node 1 has *no* memory
system B: both node 0 and node 1 have memory

Creating a Credit pool with pcpus from node 1 always work on both
systems.

OTOH, when you try to create a Credit2 pool with pcpus from node 1,
does it always crash on both systems, or does it work on system B and
crashes on system A ?

I do have a NUMA box with RAM in both nodes (so similar to system B).
Last time I checked, what you're trying to do worked there, pretty much
with any scheduler combination, but I'll recheck.

I don't have a box similar to system A. I'll try to remove some of the
RAM from that NUMA box, and check what happens.

Regards,
Dario
-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Software Engineer @ SUSE https://www.suse.com/

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2018-09-12 15:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29  5:33 RFE: Detect NUMA misconfigurations and prevent machine freezes Steven Haigh
2018-08-29  5:49 ` Juergen Gross
2018-08-30  4:01   ` Steven Haigh
2018-08-30  7:13     ` Juergen Gross
2018-08-30  8:33     ` Jan Beulich
2018-08-30  8:49       ` BUG: sched=credit2 crashes system when using cpupools Steven Haigh
2018-09-12 15:11         ` Dario Faggioli [this message]
2018-09-12 15:27           ` Steven Haigh
2018-09-12 15:13     ` RFE: Detect NUMA misconfigurations and prevent machine freezes Dario Faggioli
2018-09-13 11:49       ` Dario Faggioli
2018-08-29  6:39 ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9d3beeffa3ed724f751dc190b3de4d34a22f1ea3.camel@suse.com \
    --to=dfaggioli@suse.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=jgross@suse.com \
    --cc=netwiz@crc.id.au \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).