Skip to content

RFC NUMA emulation update

Magnus Damm linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5NUMA: Generic codeinclude/linux/numa.h mm/Kconfig mm/Makefile +1 more+159 -28 replies
2/5x86_64: NUMA cleanuparch/x86_64/kernel/setup.c arch/x86_64/mm/k8topology.c arch/x86_64/mm/numa.c +2 more+41 -450 replies
3/5x86_64: NUMA emulationarch/x86_64/Kconfig arch/x86_64/mm/numa.c include/asm-x86_64/numa.h +1 more+68 -690 replies
4/5x86_64: NUMA without SMParch/x86_64/Kconfig+0 -10 replies
5/5NUMA: find_next_best_node fixmm/page_alloc.c+15 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/05][RFC] NUMA emulation update

CONFIG_NUMA_EMU - new and improved!

These patches update the current x86_64 NUMA emulation code by adding support for dividing real NUMA nodes into several smaller emulated nodes. The good old x86_64 implementation of NUMA emulation written by Andi Kleen has worked well since 2.6.9, but it lacks support for dividing multiple real NUMA nodes.

The patches also break out the NUMA emulation code into some simple generic functions that could be used by several platforms. Only x86_64 gets modified by this patch set, but I've planned to convert my i386 NUMA emulation code to use these generic functions later on. I know that some kind of NUMA emulation code also exists for ia64, and maybe it is possible to build that code on top of the generic functions too.

Patches on top of 2.6.14-mm1:

[PATCH 01/05] NUMA: Generic code
[PATCH 02/05] x86_64: NUMA cleanup
[PATCH 03/05] x86_64: NUMA emulation
[PATCH 04/05] x86_64: NUMA without SMP
[PATCH 05/05] NUMA: find_next_best_node fix

About NUMA emulation:

NUMA emulation could be used to provide coarse-grained memory resource control using CPUSETS. Another use is as a test environment for NUMA memory code or CPUSETS using an system emulator such as QEMU.

Feedback is very appreciated.

Thanks,

/ magnus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>