Back to Zing Documentation Home
ZST Memory Configuration
If you have the Zing System Tools (ZST) installed, you can configure the Zing memory either by using the system-config-zing-memory
wizard (see Configure Zing Memory) or by directly specifying the values in the /etc/zing/pmem.conf
file, saving the file, and manually restarting zing-memory
with the following command:
# service zing-memory restart
To view the content of the ZVM memory configuration file, use:
# cat /etc/zing/pmem.conf
The output of pmem.conf
version 2.0 with default configuration settings looks as follows:
#
# Azul physical memory configuration.
#
## Memory configuration file version
version 2.0
## Enable or disable this Zing physical memory configuration
# values: enabled | disabled
pmem enabled
## Enabled or disable cgroup enforcement
# values: enabled | disabled
cgroups disabled
## When to reserve memory: reserve-at-launch or reserve-at-config
when-to-reserve reserve-at-launch
## Memory configuration
OverallUpperLimit 90% # of system memory
ReservableUpperLimit 85% # of system memory
ContingencyUpperLimit 50% # of system memory
ContingencyMinimumFreeMemory 200MB # of system memory; [minimum 200 MB]
PausePreventionUpperLimit 50% # of system memory
PausePreventionMinimumFreeMemory 200MB # of system memory; [minimum 200 MB]
## NUMA partitioning
#
# Select the NUMA nodes in the system for use by this partition according to
# the binary representation of the hexadecimal number specified here. The
# default value of the bitmask is all 1s (All nodes available on the System).
#
# The nodemask has to be specified as a hexadecimal number with or without the
# leading 0x.
#
# Examples
#
# nodemask 0x1 # 001 => Selects node 0 only as the 0th bit is set.
# nodemask 0x2 # 010 => Selects node 1 only the 1st bit is set.
# nodemask 0x3 # 011 => Selects node 0 and node 1 as 0th & 1st bit are set.
# nodemask 0x9 # 1001 => Selects node 0 and node 3.
# nodemask 0xF # 1111 => Selects node 0, node 1, node 2 & node 3.
# nodemask 0x3F # 11111111 => Select node 0 thru node 7.
# nodemask ALL # => Select all nodes.
nodemask ALL
By default, the overall upper limit of your system is set to 90% following the reserve-at-launch policy and 68% with the reserve-at-config policy.
See Also
- Zing System Tools Release Notes
- Zing with ZST System Requirements
- ZVM with ZST Installation Prerequisites Details
- Installing the Zing System Tools
- Installing the Zing Virtual Machine with ZST
- Installing Zing System Tools Using DKMS
- Verifying Zing Virtual Machine with ZST Installation
- Zing Virtual Machine with ZST Post Installation Tasks
- Run a Java Application with ZVM and ZST
- Zing Compatibility Reference
- Zing ZST Compatibility and API Versions
- Transparent HugePages Settings
- Installing and Configuring Zing Using Read-Only Images
- Upgrading or Uninstalling Zing Components
- ZVM with ZST Monitoring and Management
© Azul Systems, Inc. 2020 All rights reserved. |
![]() ![]() ![]() |
|