Michael Barto wrote:
> I am little confused with Solaris 10/08 release and it is not clear in the 
> documentation. But say I set the global zone to cpu-shares=5 and say a zone1 
> to 
> cpu-shares=3 and zone2 to cpu-shares=2.
> 
> 1) do you have to set scheduling-class=FSS in all zones or is it assumed?

The only reason to set the scheduling-class=FSS on
the zone is if you want to use FSS inside the zone
but the system is not using FSS as the default
scheduling class.  Setting scheduling-class=FSS will
not help you with the scenario of using cpu-shares for
the zones themselves.  What you want to do in the
example above is to set the system's default scheduling
class to be FSS using dispadmin.

> 2) and does this mean that global zone is using 5/10, zone 1 is using 3/10 
> and 
> zone2 is using 2/10 of the cpu resources   like when I set up the old way a 
> pool.

That would be true if all of the zones were
running and fully busy.  If one of the zones isn't really
doing anything, then it won't factor into the equation.
Likewise, none of this applies unless the system itself
is overcommitted.

> 3) and is this an easier way to do it or do I still need to use pools?

I'm not sure what this is in reference to.

Jerry
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to