xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: George Dunlap <dunlapg@umich.edu>
To: Dario Faggioli <dario.faggioli@citrix.com>
Cc: Ian Campbell <Ian.Campbell@citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Juergen Gross <juergen.gross@ts.fujitsu.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	xen-devel <xen-devel@lists.xen.org>,
	Jan Beulich <JBeulich@suse.com>,
	Daniel De Graaf <dgdegra@tycho.nsa.gov>
Subject: Re: [PATCH 2/4] libxc: report how much memory a domain has on each NUMA node
Date: Thu, 13 Mar 2014 11:54:46 +0000	[thread overview]
Message-ID: <CAFLBxZbZSTeUUJhv1pfJ6Sp3RgW7_h5yU1s3hgG7Kp67OdG8Bw@mail.gmail.com> (raw)
In-Reply-To: <1394564642.17832.78.camel@Solace>

On Tue, Mar 11, 2014 at 7:04 PM, Dario Faggioli
<dario.faggioli@citrix.com> wrote:
> On mar, 2014-03-11 at 18:16 +0000, Ian Jackson wrote:
>> Dario Faggioli writes ("Re: [Xen-devel] [PATCH 2/4] libxc: report how much memory a domain has on each NUMA node"):
>> > In the current NUMA placement implementation, in libxl, what we need to
>> > know is how much memory is free on each node, rather than how much
>> > memory each domain occupies there.
>> >
>> > So, what is it that I should try to show you?
>>
>> I want a sketch of a race-free memory assignment approach that works
>> with ballooning (and domain self-directed numa migration), and doesn't
>> depend on arbitrating memory usage by having Xen fail certain memory
>> allocations.
>>
> Mmm... I think I see what you mean now (except perhaps for the "domain
> self-directed numa migration" part).
>
> I also still don't think that this specific call/functionality should be
> subject to (that much) locking, at least not at this level, but I see
> the value of having a plan.

I think it's worth taking a little bit of time seeing if we can make
an interface that could be used by a toolstack for such a purpose.
But if it's overly complicated, I don't see a problem with having one
interface just for information, and come up with a new race-free
interface once someone shows up that actually needs it.  Otherwise we
risk spending a lot of time inventing an API that turns out not to be
suitable for purpose anyway.

 -George

  reply	other threads:[~2014-03-13 11:54 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-05 14:36 [PATCH 0/4] report how much memory a domain has on each NUMA node Dario Faggioli
2014-03-05 14:36 ` [PATCH 1/4] xen: " Dario Faggioli
2014-03-05 14:50   ` Juergen Gross
2014-03-05 16:31     ` Dario Faggioli
2014-03-05 16:49       ` Jan Beulich
2014-03-05 17:14         ` Dario Faggioli
2014-03-05 15:04   ` Jan Beulich
2014-03-05 16:13     ` Dario Faggioli
2014-03-05 16:44       ` Jan Beulich
2014-03-05 14:36 ` [PATCH 2/4] libxc: " Dario Faggioli
2014-03-05 15:05   ` Andrew Cooper
2014-03-05 15:40     ` Dario Faggioli
2014-03-10 16:39   ` Ian Jackson
2014-03-10 17:07     ` Dario Faggioli
2014-03-10 17:09       ` Andrew Cooper
2014-03-10 17:20       ` Ian Jackson
2014-03-10 17:35         ` Dario Faggioli
2014-03-11 11:15           ` Ian Jackson
2014-03-11 17:37             ` Dario Faggioli
2014-03-11 18:16               ` Ian Jackson
2014-03-11 19:04                 ` Dario Faggioli
2014-03-13 11:54                   ` George Dunlap [this message]
2014-03-05 14:36 ` [PATCH 3/4] libxl: " Dario Faggioli
2014-03-10 16:40   ` Ian Jackson
2014-03-10 17:28     ` Dario Faggioli
2014-03-13 17:26       ` Ian Jackson
2014-03-05 14:36 ` [PATCH 4/4] xl: " Dario Faggioli
2014-03-10 16:42   ` Ian Jackson
2014-03-10 17:09     ` Dario Faggioli
2014-03-05 14:40 ` [PATCH 0/4] " Juergen Gross
2014-03-05 14:44   ` Dario Faggioli
2014-03-10 16:37 ` Ian Jackson
2014-03-10 17:12   ` 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=CAFLBxZbZSTeUUJhv1pfJ6Sp3RgW7_h5yU1s3hgG7Kp67OdG8Bw@mail.gmail.com \
    --to=dunlapg@umich.edu \
    --cc=Ian.Campbell@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=dario.faggioli@citrix.com \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=juergen.gross@ts.fujitsu.com \
    --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 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).