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: Xen Developers <xen-devel@lists.xensource.com>,
	tgh <tianguanhua@ncic.ac.cn>
Subject: Re: Re: NUMA and SMP
Date: Thu, 22 Mar 2007 08:02:38 -0500	[thread overview]
Message-ID: <20070322130238.GS17518@us.ibm.com> (raw)
In-Reply-To: <1174566510.30554.8.camel@lapbode42.lrr.in.tum.de>

* Daniel Stodden <stodden@cs.tum.edu> [2007-03-22 07:29]:
> On Thu, 2007-03-22 at 20:13 +0800, tgh wrote:
> > Thank you for your reply
> > 
> > 
> > 
> > >   
> > >> in the smp with adm64 with the hardware of numa, its linux is a smp os 
> > >> ,then there is only one node (struct pglist_data) in the os when running 
> > >> or  there are as many nodes as cpus in the system,  does linux smp 
> > >> support two or more nodes when running? or in this case linux support 
> > >> numa feature?
> > >>     
> > >
> > > the number of nodes corresponds to the number of memory areas which
> > > allocators need distinguish. in the case of integrated memory
> > > controllers like amd64, expect to find as many nodes as there are
> > > processors. 
> > >
> > > yes, linux has numa support. see linux/Documentation/vm/
> > >   
> > 
> > linux has numa support,and in the case of integrated memory controllers 
> > like amd64, CONFIG_NUMA should be choice and linux support numa,is it 
> > right? if CONFIG_NUMA is not choice ,then linux could not work well in 
> > the case of integrated memory controllers even for amd64,is it right? 
> 
> 
> > 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.


-- 
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 13:02 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 [this message]
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
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=20070322130238.GS17518@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=stodden@cs.tum.edu \
    --cc=tianguanhua@ncic.ac.cn \
    --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.