All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh@us.ibm.com>
To: Daniel Stodden <stodden@cs.tum.edu>
Cc: Ryan Harper <ryanh@us.ibm.com>,
	Xen Developers <xen-devel@lists.xensource.com>
Subject: Re: Re: NUMA and SMP
Date: Thu, 22 Mar 2007 11:01:58 -0500	[thread overview]
Message-ID: <20070322160158.GY17518@us.ibm.com> (raw)
In-Reply-To: <1174577909.4957.4.camel@lapbode42.lrr.in.tum.de>

* Daniel Stodden <stodden@cs.tum.edu> [2007-03-22 10:41]:
> On Thu, 2007-03-22 at 10:12 -0500, Ryan Harper wrote:
> > * Daniel Stodden <stodden@cs.tum.edu> [2007-03-22 10:03]:
> > > On Thu, 2007-03-22 at 08:02 -0500, Ryan Harper wrote:
> > > 
> > > > > > and for the paravirt xen-guest-linux do not support  numa-aware  now ,or 
> > > > > > does it  support  numa-aware  if CONFIG_NUMA choiced?
> > > > > 
> > > > > no. there is num-support in xen, as far as inspection of the memory
> > > > > topology and inclusion in the memory management is concerned. so
> > > > > basically, you can add the desired node number to get_free_pages().
> > > > 
> > > > There is NUMA support in Xen since 3.0.4 in the hypervisor, and we have
> > > > the capability to ensure a guest memory is local to the processors being
> > > > used.  The topology of the system is not exported to the guest so
> > > > CONFIG_NUMA in the guest kernel config will be of no value.
> > > 
> > > oops, that's more than i've noticed. thanks for the correction. so now
> > > it seems up to me to ask questions. :} i don't see that path taken along
> > > vcpu_migrate. where is it happening?
> > 
> > The credit scheduler is not NUMA aware.  So to ensure that the initial
> > allocation for the guest remains local, the domain uses a cpumask
> > (generated from cpus="" config file option)  to keep the scheduler from
> > migrating vcpus to off-node cpus.
> 
> i see. not like i'm too deep in the srat, but methinks there may be sane
> default values to be generated from the srat. any work happening or
> having happened on that front?

Xen understands the topology but does not make any direct use of the
information in either the initial placement of VCPUs for the guest, nor
in the scheduler when making migration decisions.  I'm not aware of any
work to address that at the moment.

-- 
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-03-22 16:01 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-14 11:55 NUMA and SMP David Pilger
2007-01-14 19:00 ` Ryan Harper
2007-01-15 17:21 ` Anthony Liguori
2007-01-16 10:47   ` Petersson, Mats
2007-01-16 13:55     ` Emmanuel Ackaouy
2007-01-16 14:19       ` Petersson, Mats
2007-01-16 16:13         ` Emmanuel Ackaouy
2007-01-16 16:30           ` Petersson, Mats
2007-03-20 13:10       ` tgh
2007-03-20 13:19         ` Petersson, Mats
2007-03-20 13:49           ` tgh
2007-03-20 15:50             ` Petersson, Mats
2007-03-20 16:45               ` Ryan Harper
2007-03-20 16:47                 ` Petersson, Mats
2007-03-20 13:51         ` Daniel Stodden
2007-03-21  1:08           ` tgh
2007-03-21  2:45             ` Daniel Stodden
2007-03-22  1:16               ` tgh
2007-03-22 10:42                 ` Daniel Stodden
2007-03-22 12:13                   ` tgh
2007-03-22 12:28                     ` Daniel Stodden
2007-03-22 13:02                       ` Ryan Harper
2007-03-22 14:56                         ` Daniel Stodden
2007-03-22 15:12                           ` Ryan Harper
2007-03-22 15:38                             ` Daniel Stodden
2007-03-22 16:01                               ` Ryan Harper [this message]
2007-03-22 16:22                                 ` Daniel Stodden
2007-03-22 17:02                                   ` Ryan Harper
2007-03-23  5:47                                     ` tgh
2007-03-23 14:42                                       ` Ryan Harper
2007-03-23 14:48                                         ` Petersson, Mats
2007-03-28  1:50                                           ` tgh
2007-03-28  2:01                                             ` Ryan Harper
2007-03-28 21:25                                   ` The context switch overhead comparison between vmexit/vmentry and hypercall Liang Yang
2007-01-16 14:51   ` Re: NUMA and SMP ron minnich

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=20070322160158.GY17518@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=stodden@cs.tum.edu \
    --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.