IPMCTL-CREATE-GOAL(1) | ipmctl | IPMCTL-CREATE-GOAL(1) |
ipmctl-create-goal - Creates a memory allocation goal on one or more PMem modules
ipmctl create [OPTIONS] -goal [TARGETS] [PROPERTIES]
Creates a memory allocation goal on one or more for the BIOS to read on the next reboot in order to map the PMem module capacity into the system address space. Persistent memory can then be utilized by creating a namespace.
The capacity values presented by this command are a target goal or
request to platform firmware. The actual capacity values are subject to change
due to rounding and alignment requirements. If the goal request is invalid
or not possible it may be rejected by platform firmware.
Deleting the PCD can be used as a way to prepare individual PMem
modules for provisioning.
See the delete -pcd command.
This command may result in data loss. Data should be backed
up
to other storage before executing this command.
Changing a memory allocation goal modifies how the platform
firmware maps
persistent memory in the System Physical Address space (SPA) which may result
in data loss or inaccessible data, but does not explicitly delete or modify
user data found in persistent memory.
-f, -force
-h, -help
-ddrt
-smbus
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)
-dimm [DimmIDs]
If the dimm target is not specified, the default is to configure all manageable PMem modules on all sockets.
-socket [SocketIds]
MemoryMode
PersistentMemoryType
NamespaceLabelVersion
Reserved
Configures all the PMem module capacity in Memory Mode.
ipmctl create -goal MemoryMode=100
Configures all the PMem module capacity as App Direct.
ipmctl create -goal PersistentMemoryType=AppDirect
Configures the capacity on each PMem module with 20% of the capacity in Memory Mode and the remaining as App Direct capacity that does not use hardware interleaving.
ipmctl create -goal MemoryMode=20 PersistentMemoryType=AppDirectNotInterleaved
Configures the PMem module capacity across the entire system with 25% of the capacity in Memory Mode, 25% reserved and the remaining 50% as App Direct. Configures the PMem module capacity across the entire system with 25% of the capacity in Memory Mode and the remaining 75% as App Direct.
ipmctl create -goal MemoryMode=25 PersistentMemoryType=AppDirect Reserved=25
In order to successfully execute this command:
It is recommended to disable security prior to reboot if requesting a new goal.
A goal request may be initiated even if a target PMem module is in
security state enabled, but care
must be taken to ensure the PMem module is in either unlocked or disabled
security state prior to the platform firmware (BIOS) provisioning flow
following a reboot. In addition, a warning will be presented to the user:
WARNING: Goal will not be applied unless security is disabled prior to
platform firmware (BIOS) provisioning!
Minor adjustments (up to 10%) in the requested capacities are sometimes necessary to align properly according to the platform rules. There are also some situations that require additional confirmation from the user because they may result in a non- optimal configuration (i.e., reduced performance). These are described below.:
The requested goal may result in a non-optimal configuration
due to the population of PMem modules in the system.
Memory Mode capacity requested but the population of DRAM DIMMs and PMem
modules in the system may result in reduced performance (i.e., the ratio of
DRAM and PMem modules is not balanced, DRAM and PMem modules are not on the
same channel or not all the same size).
The requested goal may result in a non-optimal configuration
due to the population of PMem modules in the system.
App Direct capacity requested but the population of PMem modules in the system
may result in reduced performance (i.e., PMem modules are not the same size
or populated asymmetrically across the socket).
The requested goal will result in App Direct capacity which is
not supported by the host software.
App Direct capacity requested but App Direct is not supported by the currently
installed host software.
The requested goal will result in Memory Mode capacity that is
unusable with the currently selected platform BIOS volatile mode.
Memory Mode capacity requested by the platform BIOS is currently set to 1LM
Mode.
The requested goal was adjusted more than 10% to find a valid
configuration.
> 10% adjustment from the requested goal
The amount of mapped memory was limited based on the SKU
resulting in un-mapped capacity.
Mapped memory was limited based on the CPU SKU.
Therefore, before making any changes to the configuration, a prompt is displayed showing the memory allocation goals that will be created on each PMem module as documented in the command Section [Show Memory Allocation Goal], along with any additional confirmation messages. The force option can be used to override this confirmation and proceed directly with creating the goals.
The following configuration will be applied: SocketID DimmID MemorySize AppDirect1Size AppDirect2Size (Refer to the command Section <<Show Memory Allocation Goal>>) [Additional Confirmation Messages (see above)] Do you want to continue?
2021-02-17 | ipmctl |