CPU's in the hardware sense are not allocated to zones, but the available compute resources are.. so in you scenario if all zones including the global are running at full utilization, i.e. CPU bound, then zone a gets 80/86*100% of the CPU resources, if you stop the CPU bound tasks in zone b then it get 80/81*100% of the resources.
rich Victor Feng wrote: > Given the importance of zones and some other info, is there any formula to > calculate the number of CPUs that system will allocate to each zone? > > e.g. > Following system has only two zones with dynamic pool service enabled. > Total number of CPU in the system is 32. > > # zonecfg -z zoneA info dedicated-cpu > dedicated-cpu: > ncpus: 4-8 > importance: 80 > > # zonecfg -z zoneB info dedicated-cpu > dedicated-cpu: > ncpus: 4-8 > importance: 5 > > zoneA has 8 CPU-intense processes running, e.g. dd if=/dev/zero of=/dev/null, > zoneB has 8 CPU-intense processes running too. > Global zone has two such processes. Global zone is not configured, so its > importance is 1 by default. > > Thanks > > Victor > > > This message posted from opensolaris.org > _______________________________________________ > opensolaris-discuss mailing list > [email protected] > _______________________________________________ opensolaris-discuss mailing list [email protected]
