diff options
author | David Rientjes <rientjes@google.com> | 2010-02-15 16:43:30 -0500 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-02-15 17:34:10 -0500 |
commit | 8df5bb34defd685fe86f60746bbf3d47d1c6f033 (patch) | |
tree | f2561781a9e493b297a3872b03ff6e4a23a5576c /Documentation/x86 | |
parent | 68fd111e02b979876359c7b471a8bcbca0628b75 (diff) |
x86, numa: Add fixed node size option for numa emulation
numa=fake=N specifies the number of fake nodes, N, to partition the
system into and then allocates them by interleaving over physical nodes.
This requires knowledge of the system capacity when attempting to
allocate nodes of a certain size: either very large nodes to benchmark
scalability of code that operates on individual nodes, or very small
nodes to find bugs in the VM.
This patch introduces numa=fake=<size>[MG] so it is possible to specify
the size of each node to allocate. When used, nodes of the size
specified will be allocated and interleaved over the set of physical
nodes.
FAKE_NODE_MIN_SIZE was also moved to the more-appropriate
include/asm/numa_64.h.
Signed-off-by: David Rientjes <rientjes@google.com>
LKML-Reference: <alpine.DEB.2.00.1002151342510.26927@chino.kir.corp.google.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'Documentation/x86')
-rw-r--r-- | Documentation/x86/x86_64/boot-options.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/x86/x86_64/boot-options.txt b/Documentation/x86/x86_64/boot-options.txt index 29a6ff8bc7d3..01150c64aa73 100644 --- a/Documentation/x86/x86_64/boot-options.txt +++ b/Documentation/x86/x86_64/boot-options.txt | |||
@@ -166,6 +166,10 @@ NUMA | |||
166 | 166 | ||
167 | numa=noacpi Don't parse the SRAT table for NUMA setup | 167 | numa=noacpi Don't parse the SRAT table for NUMA setup |
168 | 168 | ||
169 | numa=fake=<size>[MG] | ||
170 | If given as a memory unit, fills all system RAM with nodes of | ||
171 | size interleaved over physical nodes. | ||
172 | |||
169 | numa=fake=CMDLINE | 173 | numa=fake=CMDLINE |
170 | If a number, fakes CMDLINE nodes and ignores NUMA setup of the | 174 | If a number, fakes CMDLINE nodes and ignores NUMA setup of the |
171 | actual machine. Otherwise, system memory is configured | 175 | actual machine. Otherwise, system memory is configured |