diff options
author | David Rientjes <rientjes@google.com> | 2007-05-02 13:27:09 -0400 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2007-05-02 13:27:09 -0400 |
commit | 382591d500bbcd20a44416c5e0e292708468587c (patch) | |
tree | deb996c4dca98cf36c432ddb710719f7d0202252 /Documentation | |
parent | 14694d736bb66d0ec250d05c81c6e98a19c229c6 (diff) |
[PATCH] x86-64: fixed size remaining fake nodes
Extends the numa=fake x86_64 command-line option to split the remaining system
memory into nodes of fixed size. Any leftover memory is allocated to a final
node unless the command-line ends with a comma.
For example:
numa=fake=2*512,*128 gives two 512M nodes and the remaining system
memory is split into nodes of 128M each.
This is beneficial for systems where the exact size of RAM is unknown or not
necessarily relevant, but the size of the remaining nodes to be allocated is
known based on their capacity for resource management.
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Paul Jackson <pj@sgi.com>
Cc: Christoph Lameter <clameter@engr.sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/x86_64/boot-options.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/Documentation/x86_64/boot-options.txt b/Documentation/x86_64/boot-options.txt index 12a9aacecaae..6177d881983f 100644 --- a/Documentation/x86_64/boot-options.txt +++ b/Documentation/x86_64/boot-options.txt | |||
@@ -153,11 +153,15 @@ NUMA | |||
153 | If a number, fakes CMDLINE nodes and ignores NUMA setup of the | 153 | If a number, fakes CMDLINE nodes and ignores NUMA setup of the |
154 | actual machine. Otherwise, system memory is configured | 154 | actual machine. Otherwise, system memory is configured |
155 | depending on the sizes and coefficients listed. For example: | 155 | depending on the sizes and coefficients listed. For example: |
156 | numa=fake=2*512,1024,4*256 | 156 | numa=fake=2*512,1024,4*256,*128 |
157 | gives two 512M nodes, a 1024M node, and four 256M nodes. The | 157 | gives two 512M nodes, a 1024M node, four 256M nodes, and the |
158 | remaining system RAM is allocated to an additional node. If | 158 | rest split into 128M chunks. If the last character of CMDLINE |
159 | the last character of CMDLINE is a *, the remaining system RAM | 159 | is a *, the remaining memory is divided up equally among its |
160 | is instead divided up equally among its coefficient. | 160 | coefficient: |
161 | numa=fake=2*512,2* | ||
162 | gives two 512M nodes and the rest split into two nodes. | ||
163 | Otherwise, the remaining system RAM is allocated to an | ||
164 | additional node. | ||
161 | 165 | ||
162 | numa=hotadd=percent | 166 | numa=hotadd=percent |
163 | Only allow hotadd memory to preallocate page structures upto | 167 | Only allow hotadd memory to preallocate page structures upto |