Zone-wide resource controls limit the total resource usage of all process entities within a zone. Zone-wide resource controls can also be set using global property names as described in Setting Zone-Wide Resource Controls and How to Configure the Zone.
Table 6–2 Zones Resource Controls
Control Name |
Description |
Default Unit |
---|---|---|
zone.cpu-cap |
Absolute limit on the amount of CPU resources that can be consumed by a non-global zone. A value of 100 means 100% of one CPU as the project.cpu-cap setting. A value of 125 is 125%, because 100% corresponds to one full CPU on the system when using CPU caps. |
Quantity (number of CPUs) |
zone.cpu-shares |
Number of fair share scheduler (FSS) CPU shares for this zone |
Quantity (shares) |
zone.max-locked-memory |
Total amount of physical locked memory available to a zone. When priv_proc_lock_memory is assigned to a zone, consider setting this resource control as well to prevent that zone from locking all memory. |
Size (bytes) |
zone.max-lwps |
Maximum number of LWPs simultaneously available to this zone |
Quantity (LWPs) |
zone.max-msg-ids |
Maximum number of message queue IDs allowed for this zone |
Quantity (message queue IDs) |
zone.max-sem-ids |
Maximum number of semaphore IDs allowed for this zone |
Quantity (semaphore IDs) |
zone.max-shm-ids |
Maximum number of shared memory IDs allowed for this zone |
Quantity (shared memory IDs) |
zone.max-shm-memory |
Total amount of System V shared memory allowed for this zone |
Size (bytes) |
zone.max-swap |
Total amount of swap that can be consumed by user process address space mappings and tmpfs mounts for this zone. |
Size (bytes) |
For information on configuring zone-wide resource controls, see Resource Type Properties and How to Configure the Zone. To use zone-wide resource controls in lx branded zones, see How to Configure, Verify, and Commit the lx Branded Zone.
Note that it is possible to apply a zone-wide resource control to the global zone. See Using the Fair Share Scheduler on a Solaris System With Zones Installed for additional information.