All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ryan Harper <ryanh@us.ibm.com>
To: xen-devel@lists.xensource.com
Cc: Ryan Grimm <grimm@us.ibm.com>
Subject: [PATCH 1/6] xen: Add NUMA support to Xen
Date: Mon, 1 May 2006 16:56:48 -0500	[thread overview]
Message-ID: <20060501215648.GU16776@us.ibm.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]

The attached tarball contains a script that will generate a patch that
integrates NUMA support from Linux into Xen.

The integration support borrows heavily from linux/arch/i386/srat.c for
ACPI SRAT table parsing rather than using the more heavyweight
ACPI_NUMA.  The SRAT table code has been tested on x86_32 and x86_64 and
works with both 32-bit and 64-bit systems.

The code parses the SRAT table for memory and processor affinity and
creates the proper node to cpu mapping.  We define a new memory
structure, node_memory_chunk_t, which is based on the same structure in
linux, but tweaked for Xen.  This structure is used to keep track of
the discontiguous chunks of memory in the system and the node to which
they belong.

We bring in Linux macros and methods for node function like cpu_to_node,
num_online_nodes, node_to_cpumask, etc.

NUMA support in Xen is a compile-time option via the build system.
Passing numa=y will enable all of the NUMA functionality.  We have
tested the code with numa=y and numa=n.  

To create the first numa patch, unpack the attached tarball, numa.tgz,
and execute numa.sh.


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

[-- Attachment #2: numa.tgz --]
[-- Type: application/x-gtar, Size: 11681 bytes --]

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

             reply	other threads:[~2006-05-01 21:56 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 21:56 Ryan Harper [this message]
2006-05-02 14:15 ` [PATCH 1/6] xen: Add NUMA support to Xen Keir Fraser
2006-05-02 14:39   ` Ryan Harper
2006-05-12 15:12   ` [PATCH 1/6][RESEND] " Ryan Harper
2006-05-13  9:07     ` Keir Fraser
2006-05-15 16:27       ` Andi Kleen
2006-05-15 16:54         ` Keir Fraser
2006-05-15 17:11           ` Ryan Harper
2006-05-15 17:17             ` Keir Fraser
2006-05-15 17:23               ` Keir Fraser
2006-05-15 17:25               ` Andi Kleen
2006-05-15 17:27               ` Ryan Harper
2006-05-15 17:34                 ` Keir Fraser
2006-05-15 20:32                   ` Ryan Harper
2006-05-15 20:46                     ` Andi Kleen
2006-05-16  7:49                       ` Keir Fraser
2006-05-16 12:57                         ` Andi Kleen
2006-05-16 13:03                           ` Keir Fraser
2006-05-19 21:08                             ` Ryan Harper
2006-05-20  8:50                               ` Keir Fraser
2006-05-22 11:01                               ` Andi Kleen
2006-05-24 19:02                                 ` Ryan Harper
2006-05-31 18:06                                   ` Ryan Harper
2006-06-02 15:55                                     ` Ryan Harper
2006-05-17 17:21                         ` Ryan Harper
2006-05-17 18:07                           ` Andi Kleen
2006-05-18 15:30                             ` 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=20060501215648.GU16776@us.ibm.com \
    --to=ryanh@us.ibm.com \
    --cc=grimm@us.ibm.com \
    --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.