All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/6] xen: Add NUMA support to Xen
@ 2006-05-01 21:56 Ryan Harper
  2006-05-02 14:15 ` Keir Fraser
  0 siblings, 1 reply; 27+ messages in thread
From: Ryan Harper @ 2006-05-01 21:56 UTC (permalink / raw)
  To: xen-devel; +Cc: Ryan Grimm

[-- 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

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2006-06-02 15:55 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-01 21:56 [PATCH 1/6] xen: Add NUMA support to Xen Ryan Harper
2006-05-02 14:15 ` 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

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.