http://docs.oracle.com/cd/E19963-01/html/821-1460/rmpool.task-2.html
you should be able to use pooladm, and place specific CPU idents into your "resource pool" ... which should enable you to separate them if you so desire. I don't do it, I just have a max and min cpu's set in my zones. Jon On 27 February 2013 09:14, Gabriele Bulfon <[email protected]> wrote: > Hi, > just checking your opinions on my zoned systems. > > I have one system runnning XStreamOS/illumos with server stuff on the > global zone to handle > networking (ipf, dns, routing and a little more). > Then I have some zones running in it, one being important because it runs > all our customers stuff > and data (tomcat with our webtop ajax app,apache,cyrus,postfix and some > more) as a cloud service. > The other zones are almost all internal Sonicle services. > One of them is our XStreamOS dev machine, where we often run builds of > illumos kernel and userlands. > This one almost steals all the system resources when running nightly > builds. > > The hardware has two processors, with 16 cpus (as stated by psrinfo), > and 24G RAM. > > My idea was to give one entire processor (8 cpus) and 8G RAM to the > cloud server, leaving the remaining > to global and Sonicle zones. > Then I would give a percent cpus usage to the dev zone, so to leave space > when running builds. > > I see there are many different strategies to assign cpus: > > - zonecfg let me assign dedicated-cpu, capped-cpu, cpu-shares in different > modes, requiring me to halt > and reboot the zone. Here I can't see a way to tell the system "give all > the processor 1 to zone", but just a number of cpus. Also dedicated and > capped works simply via an add-set sequence, while > cpu-shares works via select rctl, probably a different way of handling it. > > - I also saw ways of managing zones cpu caps/shares via prioctl on the > global zone, which I beleive > will not require a zone reboot. > > How would you do in my case? > Thanx for any suggestion, > Gabriele. > > *illumos-discuss* | > Archives<https://www.listbox.com/member/archive/182180/=now> > <https://www.listbox.com/member/archive/rss/182180/23508059-3f15f76a> | > Modify<https://www.listbox.com/member/?&>Your Subscription > <http://www.listbox.com> > ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
