All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
To: Dario Faggioli <raistlin@linux.it>
Cc: Andre Przywara <andre.przywara@amd.com>,
	Ian Campbell <Ian.Campbell@citrix.com>,
	Stefano Stabellini <Stefano.Stabellini@eu.citrix.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>,
	Juergen Gross <juergen.gross@ts.fujitsu.com>,
	xen-devel <xen-devel@lists.xen.org>
Subject: Re: [PATCH 1 of 4 v6/leftover] libxl: enable automatic placement of guests on NUMA nodes
Date: Mon, 23 Jul 2012 16:50:37 +0100	[thread overview]
Message-ID: <20493.29389.201770.581611@mariner.uk.xensource.com> (raw)
In-Reply-To: <1343054379.4998.33.camel@Solace>

Dario Faggioli writes ("Re: [PATCH 1 of 4 v6/leftover] libxl: enable automatic placement of guests on NUMA nodes"):
> On Mon, 2012-07-23 at 12:38 +0100, Ian Jackson wrote:
> > This probably deserves a log message.
> 
> It's there: it's being printed by libxl__get_numa_candidate(). It's like
> that to avoid printing more of them, which would be confusing, e.g.,
> something like this:
> 
>  libxl: ERROR Too many nodes
>  libxl: ERROR No placement found
> 
> Is that acceptable?

Two messages is better than one vague one.  One message would be
better but then you have to make sure of course that every path
prints exactly one message.

...
> > Isn't this an argument that the limit should be 16 ?  (Also 65535
> > steps since placement on 0 nodes is typically not an option.)
> 
> Well, it is for me, but as we agreed on 8, I went for that. What I
> wanted was just make sure we (or whoever else) know/remember that 16
> cold work too, in case that turns out to be useful in future. That being
> said, if you agree on raising the cap to 16 right now, I'll be glad to
> do that. :-D

I don't have a particular opinion on exactly what the cap should be.
It should be sufficiently tight to prevent runaways.  A 2^16 worst
case computation on domain start is certainly arguably acceptable.

Thanks,
Ian.

  reply	other threads:[~2012-07-23 15:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-21  1:22 [PATCH 0 of 4 v6/leftover] Automatic NUMA placement for xl Dario Faggioli
2012-07-21  1:22 ` [PATCH 1 of 4 v6/leftover] libxl: enable automatic placement of guests on NUMA nodes Dario Faggioli
2012-07-23 11:38   ` Ian Jackson
2012-07-23 14:39     ` Dario Faggioli
2012-07-23 15:50       ` Ian Jackson [this message]
2012-07-23 16:16         ` Dario Faggioli
2012-07-21  1:22 ` [PATCH 2 of 4 v6/leftover] xl: inform libxl if there was a cpumap in the config file Dario Faggioli
2012-07-23 11:04   ` Ian Jackson
2012-07-23 13:35     ` Dario Faggioli
2012-07-21  1:22 ` [PATCH 3 of 4 v6/leftover] libxl: have NUMA placement deal with cpupools Dario Faggioli
2012-07-23 11:38   ` Ian Jackson
2012-07-23 13:21     ` Dario Faggioli
2012-07-21  1:22 ` [PATCH 4 of 4 v6/leftover] Some automatic NUMA placement documentation Dario Faggioli

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=20493.29389.201770.581611@mariner.uk.xensource.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=Stefano.Stabellini@eu.citrix.com \
    --cc=andre.przywara@amd.com \
    --cc=juergen.gross@ts.fujitsu.com \
    --cc=raistlin@linux.it \
    --cc=xen-devel@lists.xen.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 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.