Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

memory-reserve(8s)

Name

memory-reserve - service to manage memory reservation pools

Synopsis

svc:/system/memory-reserve

Description

memory-reserve is an SMF service to configure and manage Memory Reservation Pools (MRPs). A memory-reserve service instance can be configured with the desired properties of the MRP. The creation, destruction, and modification of the MRP can then be managed by enabling, disabling, and refreshing the service.

SMF Configuration

Properties

The following properties can be set:

config/size

Size of the reservation to make. A scale (K, M, G, T) can be applied to the value.

config/pagesize-policy

Allowed values are smallest-only, largest-available and largest-only. Only used by the Kernel Zones instance, other types ignore this value.

config/type

Read only. Type of Memory Reservation Pool.

config/lgrps

Locality group (LGRP) id(s) to use if desired. The default is to use the root LGRP, spreading the reservation across available LGRPs. See lgrpinfo(1). Only used by the Kernel Zones instance, other types ignore this value.

config/granule-size

Size of the OSM granules that are to allocate from the pool. A scale (K, M, G, T) can be applied to the value. Only used by the OSM instance, other types ignore this value.

Service Instances
svc:/system/memory-reserve:zones

Disabled by default, this service instance is configured for direct use by Kernel Zones with a pre-set config/type property of solaris-kz. Additional configuration by an administrator, at minimum setting the config/size property, is required before this instance can be enabled.

The config/pagesize-policy and config/size properties provide kernel zones with the abilities that are provided to other zone types by the zonecfg(8) capped-memory:pagesize-policy and config/size properties.

The config/granule-size property is ignored for this instance type.

For a worked example, see the solaris-kz(7) page.

svc:/system/memory-reserve:osm

Disabled by default, this service instance is configured for direct use by Optimized Shared Memory (OSM) segments. OSM has a pre-set config/type property of solaris-osm. Additional configuration by an administrator, consisting of setting the config/size and config/granule-size properties, is required before this instance can be enabled. See Database Installation Guide for Oracle Solaris (https://docs.oracle.com/en/database/oracle/oracle-database/19/ssdbi/configuring-additional-shared-memory-identifiers-limit.html#GUID-A655E968-61F2-441B-97B3-61BE6A6487C1) for recommended granule size.

The config/pagesize-policy and config/lgrps properties are ignored for this instance type.

See Also

lgrpinfo(1), smf(7), solaris-kz(7), mrpstat(8), svcadm(8), svccfg(8), zonecfg(8)