table of contents
IPMCTL-SHOW-MEMORY-RESOURCES(1) | ipmctl | IPMCTL-SHOW-MEMORY-RESOURCES(1) |
NAME¶
ipmctl-show-memory-resources - Shows PMem module and DDR memory allocation
SYNOPSIS¶
ipmctl show [OPTIONS] -memoryresources
DESCRIPTION¶
Shows PMem module and DDR memory allocation information for this platform.
OPTIONS¶
-h, -help
-ddrt
-smbus
Note
The -ddrt and -smbus options are mutually exclusive and may not be used together.
-o (text|nvmxml), -output (text|nvmxml)
-u (B|MB|MiB|GB|GiB|TB| TiB), -units (B|MB|MiB|GB|GiB|TB| TiB)
EXAMPLES¶
Shows the PMem module and DDR memory allocation.
ipmctl show -memoryresources
LIMITATIONS¶
In order to successfully execute this command:
RETURN DATA¶
Returns a table containing the attributes listed below.
Note
Capacities from unmanageable PMem modules are not included in the
following
aggregated totals.
Volatile DDR Capacity
Volatile PMem module Capacity
Total Volatile Capacity
AppDirect PMem module Capacity
Total AppDirect Capacity
Cache DDR Capacity
Total Cache Capacity
Inaccessible DDR Capacity
Inaccessible PMem module Capacity
Total Inaccessible Capacity
Physical DDR Capacity
Physical PMem module Capacity
Total Physical Capacity
DETAILS¶
PMem modules are partitioned into Memory and Persistent partitions. Memory partitions are aligned on a 1 GiB boundary by ipmctl with the Persistent partition consuming the remaining capacity. Any capacity that falls outside the Memory and Persistent partitions is InaccessibleCapacity and is not usable. If the PMem module is configured for 100% Memory Mode, then the Memory partition consumes all of the capacity and the Persistent partition has none.
The mode determines how the DDR capacities are allocated. In 1LM and AppDirect, all DDR capacity is used as additional volatile memory. In MemoryMode, all DDR capacity that the CPU will support is used as a cache for the PMem module.
Platform firmware alignment restrictions may result in some capacity from the Memory and Persistent partitions not mapped to System Physical Address space (SPA). This memory is considered InaccessibleCapacity and is not usable.
The definitions and calculations that follow intend to describe how each of the values are determined.
Definitions:
Intel PMem module Current Config
PMem module Partition Info
PMem module Physical Capacity (PC)
PMem module Memory Partition Capacity (MPC)
PMem module Persistent Partition Capacity (PPC)
PMem module Volatile Memory Capacity (VMC)
PMem module Persistent Memory Capacity (PMC)
DDR Total Capacity (DDRTC)
Calculations:
if (CurrentMode == 1LM) then
DDRCacheCapacity = 0
DDRVolatileCapacity = DDRTC else if (CurrentMode == 2LM) then
DDRCacheCapacity = DDRTC
DDRVolatileCapacity = 0
TotalVolatileCapacity = VMC + DDRVolatileCapacity
InaccessibleCapacity = PC - PMC
if (CurrentMode != 1LM) then
InaccessibleCapacity -= VMC (rounded down for alignment)
2023-06-12 | ipmctl |