Adding memory
You can add memory to your Linux® instance by setting unused memory blocks online. You can chose a memory zone for certain memory blocks.
Suspend and resume:
Do not add hotplug memory if you intend to suspend the Linux instance before the next IPL. Any changes to the original memory configuration prevent suspension, even if you restore the original memory configuration by removing memory blocks that were added.
About this task
The valid zones for each memory block can be read from the
valid_zones sysfs
attribute:# cat /sys/devices/system/memory/memory<n>/valid_zones Normal Movable
If you intend to take the memory offline again (for example, memory ballooning), preferably add
hotplug memory to the Movable zone.
For more information about memory zones, see Memory zones.
Procedure
To add hotplug memory:
Results
Adding the memory block fails if the memory block is already in use. The
state attribute changes to online when the memory block has
been added successfully.