Re: [zones-discuss] Re: limiting a percentage of CPU resource on a zone

2007-04-30 Thread Jeff Victor

DJR wrote:

If you have a pool that is tied to 4cpus,and that is tied to a zone. If you
have a 12cpu box, what happens to the remaining 8cpus, do they
automatically get used by the global zone and only the global zone?


By default, everything is in the "default" resource pool - all CPUs, and all 
zones.  That pool contains any CPUs not specifically assigned to another pool.


The only zones that will use a resource pool other than the default pool are 
those zones that you specifically assign to a different pool.  All other zones 
will use the default pool.  That includes the global zone.




--
Jeff VICTOR  Sun Microsystemsjeff.victor @ sun.com
OS AmbassadorSr. Technical Specialist
Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq
--
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Re: limiting a percentage of CPU resource on a zone

2007-04-30 Thread DJR
If you have a pool that is tied to 4cpus,and that is tied to a zone. If you 
have a 12cpu box, what happens to the remaining 8cpus, do they automatically 
get used by the global zone and only the global zone?


thanks
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Re: limiting a percentage of CPU resource on a zone

2007-04-27 Thread DJR
well it looks like in the revision of S10 I am running, it does not support 
this, re-installing is not an option, I attempted using the pools, but to be 
honest, it is a bit confusing. 

I believe I setup the prtcl configuration to manage the CPU's correctly, I hope.

Basically, I would like to use pools, but I'm getting a headache trying to 
figure it out.

Also,  assigning memory to a specific zone, the example given also is not 
supported in my version, so is there another way of assigning xgb's of memory 
to a zone


thanks
humbly yours, 
Mr green

zonecfg -z somezone
add dedicated cpu
set ncpus=2-8
end
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org


Re: [zones-discuss] Re: limiting a percentage of CPU resource on a zone

2007-04-26 Thread Jeff Victor
Now (Solaris 10 up through 11/06) you can configure the Resource Capping 
Daemon (rcapd) in the zone.  See page 19 of my Containers Architecture 
BluePrint: http://www.sun.com/blueprints/0506/819-6186.pdf for a complete 
explanation.


In the current build of OpenSolaris, and the next release of Solaris 10 (the 
one with the Duckhorn enhancements) it is much easier, and the zone cannot 
change its own cap.  For an existing zone, the zonecfg(1M) syntax looks like this:


global# zonecfg -z myzone
add capped-memory
  set physical=4g
end
exit

You can also modify the cap while the zone is running, with rcapadm:

global# rcapadm -z myzone -m 5g


DJR wrote:

thank you for all the good information,

I appreciate it, I now have just do it since I now have the knowledge given by 
y'all


one last thing.

assigning phyiscal memory, we have 16gb of memory on our server, I want to 
assign 4gb to our zone and leave 12gb for the global zone.


--
--
Jeff VICTOR  Sun Microsystemsjeff.victor @ sun.com
OS AmbassadorSr. Technical Specialist
Solaris 10 Zones FAQ:http://www.opensolaris.org/os/community/zones/faq
--
___
zones-discuss mailing list
zones-discuss@opensolaris.org


[zones-discuss] Re: limiting a percentage of CPU resource on a zone

2007-04-26 Thread DJR
thank you for all the good information,

I appreciate it, I now have just do it since I now have the knowledge given by 
y'all


one last thing.

assigning phyiscal memory, we have 16gb of memory on our server, I want to 
assign 4gb to our zone and leave 12gb for the global zone.
 
 
This message posted from opensolaris.org
___
zones-discuss mailing list
zones-discuss@opensolaris.org