| Solaris |
|
|
Resource Pools provide physical resource partitioning within an OpenSolaris instance. Currently cpu partitioning via processor sets is provided. Future work includes partitioning of physical memory and swap via memory sets.
A Resource Pool is a collection of resource sets to which an entity is bound. Supported entity types are:
The associations are as follows:
OpenSolaris by default consists of:
All entities in and including the global zone are bound to pool_default. To
configure more pools, enable the pools service and use poolcfg(1m) and pooladm(1m). Pools can be configured to persist across boot, and certain entities, such as zones and projects, can be configured to automatically bind to a pool.
Resource pools partition the system's resources into sets. Resource controls are limits on resource consumption by an entity. For instance, if multiple zones are bound to a pool, they share the cpus partitioned to that pool. The zone.cpu-shares resource control can then be used limit each zone's cpu consumption to be fair with respect to one another.
To enable resource pools and create a pool with two cpus:
# svcadm enable -s pools
# pooladm -s
# poolcfg -c 'create pset pset1 (uint pset.min = 2 ; uint mset.max = 2)'
# poolcfg -c 'create pool pool1'
# poolcfg -c 'associate pool pool1 (pset pset1)'
# pooladm -c
Use poolbind(1m) to bind running entities to a pool. For automatic pool bindings for zones and projects, see zonecfg(1m) and project(4).
Current work with the resource pools framework:
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.