docs/mm: Physical Memory: add example of interleaving nodes
Subsystems (3)
Mike Rapoport
reviewerPATCH v3 1/1 docs/mm: Physical Memory: add example of interleaving nodes
From: "Mike Rapoport (IBM)" <[email protected]>
Add an example of memory layout with interleaving nodes where even memory banks belong to node 0 and odd memory banks belong to node 1
---
v3:
* Fix typos and wording (Matthew)
v2: https://lore.kernel.org/all/[email protected]
* Wording update (Bagas)
* Add forgotten Suggested-by
v1: https://lore.kernel.org/all/[email protected]
Documentation/mm/physical_memory.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
Documentation/mm/physical_memory.rst +19 -0
@@ -114,6 +114,25 @@ RAM equally split between two nodes, there will be ``ZONE_DMA32``, | DMA32 | NORMAL | MOVABLE | | NORMAL | MOVABLE | +---------+----------+-----------+ +------------+-------------+ + +Memory banks may belong to interleaving nodes. In the example below an x86 +machine has 16 Gbytes of RAM in 4 memory banks, even banks belong to node 0 +and odd banks belong to node 1:: + + + 0 4G 8G 12G 16G + +-------------+ +-------------+ +-------------+ +-------------+ + | node 0 | | node 1 | | node 0 | | node 1 | + +-------------+ +-------------+ +-------------+ +-------------+ + + 0 16M 4G + +-----+-------+ +-------------+ +-------------+ +-------------+ + | DMA | DMA32 | | NORMAL | | NORMAL | | NORMAL | + +-----+-------+ +-------------+ +-------------+ +-------------+ + +In this case node 0 will span from 0 to 12 Gbytes and node 1 will span from +4 to 16 Gbytes. + .. _nodes: Nodes
base-commit: e076f253283c3e55a128fa9665c0e6cd8146948d
Signature · 1 line
2.35.1
Quoted 8 lines · Mike Rapoport
From: "Mike Rapoport (IBM)" <[email protected]>
Add an example of memory layout with interleaving nodes where even memory banks belong to node 0 and odd memory banks belong to node 1
Suggested-by Michal Hocko <[email protected]>Signed-off-by Mike Rapoport (IBM) <[email protected]>---
Signature · 3 lines
Thanks, David / dhildenb
Mike Rapoport
reviewerPing?
Quoted 55 lines · Mike Rapoport
From: "Mike Rapoport (IBM)" <[email protected]>
Add an example of memory layout with interleaving nodes where even memory banks belong to node 0 and odd memory banks belong to node 1
Suggested-by Michal Hocko <[email protected]>Signed-off-by Mike Rapoport (IBM) <[email protected]>---
v3:
* Fix typos and wording (Matthew)v2: https://lore.kernel.org/all/[email protected]
* Wording update (Bagas)
* Add forgotten Suggested-byv1: https://lore.kernel.org/all/[email protected]
Documentation/mm/physical_memory.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)Documentation/mm/physical_memory.rst +19
-0@@ -114,6 +114,25 @@ RAM equally split between two nodes, there will be ``ZONE_DMA32``, | DMA32 | NORMAL | MOVABLE | | NORMAL | MOVABLE | +---------+----------+-----------+ +------------+-------------+ + +Memory banks may belong to interleaving nodes. In the example below an x86 +machine has 16 Gbytes of RAM in 4 memory banks, even banks belong to node 0 +and odd banks belong to node 1:: + + + 0 4G 8G 12G 16G + +-------------+ +-------------+ +-------------+ +-------------+ + | node 0 | | node 1 | | node 0 | | node 1 | + +-------------+ +-------------+ +-------------+ +-------------+ + + 0 16M 4G + +-----+-------+ +-------------+ +-------------+ +-------------+ + | DMA | DMA32 | | NORMAL | | NORMAL | | NORMAL | + +-----+-------+ +-------------+ +-------------+ +-------------+ + +In this case node 0 will span from 0 to 12 Gbytes and node 1 will span from +4 to 16 Gbytes. + .. _nodes: Nodesbase-commit:
e076f253283c3e55a128fa9665c0e6cd8146948dSignature · 1 line
2.35.1
Signature · 2 lines
Sincerely yours, Mike.
Jonathan Corbet
maintainerQuoted 1 line · Mike Rapoport
Ping?
It's in my queue. The docs tree has conflicts all over the place this time around, so I closed things down a bit earlier than I otherwise would have. I'm expecting to catch up a bit in the coming week.
Thanks,
jon
Jonathan Corbet
maintainerQuoted 12 lines · Mike Rapoport
From: "Mike Rapoport (IBM)" <[email protected]>
Add an example of memory layout with interleaving nodes where even memory banks belong to node 0 and odd memory banks belong to node 1
Suggested-by Michal Hocko <[email protected]>Signed-off-by Mike Rapoport (IBM) <[email protected]>---
v3:
* Fix typos and wording (Matthew)
Quoted 7 lines
v2: https://lore.kernel.org/all/[email protected]
* Wording update (Bagas)
* Add forgotten Suggested-byv1: https://lore.kernel.org/all/[email protected]
Documentation/mm/physical_memory.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
Applied (finally). Thanks and apologies for the delay,
jon