xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dario Faggioli <dario.faggioli@citrix.com>
To: George Dunlap <george.dunlap@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Tim Deegan <tim@xen.org>, Jan Beulich <JBeulich@suse.com>,
	Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: [Hackathon minutes] PV frontends/backends and NUMA machines
Date: Sat, 25 May 2013 15:57:18 +0200	[thread overview]
Message-ID: <1369490238.9550.12.camel@Abyss> (raw)
In-Reply-To: <519F8EA0.8080301@eu.citrix.com>


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

On ven, 2013-05-24 at 17:00 +0100, George Dunlap wrote:
> On 21/05/13 14:43, Dario Faggioli wrote:
> > However, to do that, we, I think, need to be able not only to specify
> > that we want 1G worth of memory on one specific node, but also to
> > request explicitly for some of Dom0's PFN to be here and for some others
> > to be there, as we were saying earlier in the thread with Tim.
> 
> One thing that I wanted to add to this discussion -- unless there's some 
> way for the toolstack to figure out, for each node, how much memory is 
> currently free *and* how much memory could be freed by dom0 on that 
> node, 
>
"A way to tell how much free memory there is on a node", yes, there is
already. "A way to tell how much memory could be freed by dom0 on a
node", no, there isn't anything like that.

This has to do with NUMA aware ballooning, which is another big bullet
on my NUMA roadmap/TODO list, although it hasn't been mentioned in the
hackathon (or at least, I don't remember it being mentioned).

I proposed it for GSoC, and got mails from several people interested in
working on it. Among them, there is one that seems to be keen on doing
the job, even outside of GSoC, but he can't start right away, as he's
otherwise engaged for the forthcoming weeks. I can double check his
availability and investigate better his commitment...

Also, I think NUMA aware ballooning requires (or, at least, would be
easier to implement with) NUMA awareness in the guest (dom0 in this
case), so we have sort of a circular dependency here. :-D

> and a way to ask dom0 to free memory from a specific a node, then 
> booting with dom0 having all the memory is basically going to make all 
> of our NUMA work a noop.
> 
Booting *without* dom0_mem=XXX already hurts quite a bit, since the
current automatic NUMA placement code needs to know how much free memory
we have on each node, and having them completely filled by dom0 is all
but the best situation for it to reach a decent solution! :-(

> We may end up having to switch from defaulting to giving dom0 and 
> autoballooning to giving dom0 a fixed amount.
> 
Well, from a NUMA only point of view, that would be really desirable....
But I'm not sure we can go that far, especially because I see it very
hard to find a value that would make everyone happy.

Regards,
Dario

-- 
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)


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

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

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

  reply	other threads:[~2013-05-25 13:57 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20 13:44 [Hackathon minutes] PV frontends/backends and NUMA machines Stefano Stabellini
2013-05-20 13:48 ` George Dunlap
2013-05-21  8:32   ` Tim Deegan
2013-05-21  8:47     ` George Dunlap
2013-05-21  8:49       ` George Dunlap
2013-05-21 10:03         ` Dario Faggioli
2013-05-21  9:20       ` Tim Deegan
2013-05-21  9:45         ` George Dunlap
2013-05-21 10:24           ` Tim Deegan
2013-05-21 10:28             ` George Dunlap
2013-05-21 11:12               ` Dario Faggioli
2013-05-21  9:53         ` Dario Faggioli
2013-05-21 10:06       ` Jan Beulich
2013-05-21 10:30         ` Dario Faggioli
2013-05-21 10:43           ` Jan Beulich
2013-05-21 10:58             ` Dario Faggioli
2013-05-21 11:47               ` Jan Beulich
2013-05-21 13:43                 ` Dario Faggioli
2013-05-24 16:00                   ` George Dunlap
2013-05-25 13:57                     ` Dario Faggioli [this message]
2013-05-21  8:44   ` Roger Pau Monné
2013-05-21  9:24     ` Wei Liu
2013-05-21  9:53       ` George Dunlap
2013-05-21 10:17         ` Dario Faggioli
2013-05-21 11:10   ` Dario Faggioli
2013-05-23 17:21     ` Dario Faggioli
2013-05-22  1:28   ` Konrad Rzeszutek Wilk
2013-05-22  7:44     ` 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=1369490238.9550.12.camel@Abyss \
    --to=dario.faggioli@citrix.com \
    --cc=JBeulich@suse.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xensource.com \
    /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).