All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh@us.ibm.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: numa=on broken
Date: Sun, 1 Apr 2007 08:46:29 -0500	[thread overview]
Message-ID: <20070401134629.GB28736@us.ibm.com> (raw)
In-Reply-To: <C2352BDF.538E%Keir.Fraser@cl.cam.ac.uk>

* Keir Fraser <Keir.Fraser@cl.cam.ac.uk> [2007-04-01 03:28]:
> On 1/4/07 06:20, "Ryan Harper" <ryanh@us.ibm.com> wrote:
> 
> >>> I'm getting ready to re-submit patches to export the topology information
> >>> so the userspace tools can use that info to make intelligent selections.
> >>> This was available back in October, but was never picked up, or even
> >>> commented upon.
> >> 
> >> But can tools make sane automatic decisions on domain creation? And if tools
> > 
> > I don't think the tools would do any worse than what an admin would do:
> > keep the domains within a node.
> 
> Well, for example it's not really going to work with the default memory
> allocation policy where dom0 takes all memory and then auto-balloons itself
> down as domains are created. In this situation the domU will end up with
> whatever dom0 happens to have freed up: there's no guarantee of locality.

That's true, but that doesn't mean that as long as there is memory
available in a node that the tool can pick the right cpus that will be
close to the memory.  

> I don't think that auto-ballooning is a particularly sensible setting for
> serious use of Xen. I'd always advise to work out how much memory your dom0
> actually needs and make that a static allocation at boot time. But it is our
> out-of-the-box default: another thing that needs explicit changing (via
> dom0_mem= in this case).

Right.  It looks like then that it would make sense to leave numa off by
default leaving the admin to specify both numa=on and a sensible
dom0_mem in the absence of a mechanism for dom0 to hand back memory from
a specific node, or some page migration mechanism.

-- 
Ryan Harper
Software Engineer; Linux Technology Center
IBM Corp., Austin, Tx
(512) 838-9253   T/L: 678-9253
ryanh@us.ibm.com

  reply	other threads:[~2007-04-01 13:46 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 17:34 numa=on broken Ryan Harper
2007-03-30 17:51 ` Keir Fraser
2007-03-30 18:08   ` Ryan Harper
2007-03-30 18:17     ` Keir Fraser
2007-03-30 18:20       ` Ryan Harper
2007-03-30 18:46         ` Ryan Harper
2007-03-30 18:48           ` Ryan Harper
2007-03-30 18:51           ` Keir Fraser
2007-03-30 18:55             ` Ryan Harper
2007-03-30 19:05               ` Keir Fraser
2007-03-30 19:39                 ` Ryan Harper
2007-03-31  9:06                   ` Keir Fraser
2007-04-01  5:20                     ` Ryan Harper
2007-04-01  8:29                       ` Keir Fraser
2007-04-01 13:46                         ` Ryan Harper [this message]
2007-04-01 15:51                           ` Keir Fraser
2007-04-01 18:53                             ` Ryan Harper
2007-03-30 19:03             ` Ryan Harper
2007-03-30 18:06 ` Ryan Harper

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=20070401134629.GB28736@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --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 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.