Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-19 Thread Mike Gerdts
On 04/18/12 16:57, Mike Gerdts wrote: > On 04/18/12 16:42, Jordi Espasa Clofent wrote: >> El 2012-04-18 19.22, Hung-Sheng Tsao (LaoTsao) Ph.D escribió: >>> hi >>> may be one could add >>> in solaris resource control used to be project based >>> one need to setup project and limit the resoure pool >

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Mike Gerdts
On 04/18/12 16:42, Jordi Espasa Clofent wrote: > El 2012-04-18 19.22, Hung-Sheng Tsao (LaoTsao) Ph.D escribió: >> hi >> may be one could add >> in solaris resource control used to be project based >> one need to setup project and limit the resoure pool >> then assign the poll to zone. >> it is not

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Steve Lawrence
On 04/18/12 02:42 PM, Jordi Espasa Clofent wrote: El 2012-04-18 19.22, Hung-Sheng Tsao (LaoTsao) Ph.D escribió: hi may be one could add in solaris resource control used to be project based one need to setup project and limit the resoure pool then assign the poll to zone. it is not easy to use

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Jordi Espasa Clofent
El 2012-04-18 19.22, Hung-Sheng Tsao (LaoTsao) Ph.D escribió: hi may be one could add in solaris resource control used to be project based one need to setup project and limit the resoure pool then assign the poll to zone. it is not easy to use . since then many shortcut for resource pool contr

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
hi may be one could add in solaris resource control used to be project based one need to setup project and limit the resoure pool then assign the poll to zone. it is not easy to use . since then many shortcut for resource pool control are added to zonecfg make it very easy to add resource contro

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Hung-Sheng Tsao (LaoTsao) Ph.D
rcapd is introduced on s10 8/07 s10u4 Sent from my iPad On Apr 18, 2012, at 10:34, Jordi Espasa Clofent wrote: > Ok. So then I understand: > >- before Solaris 10 Update 7 (the one with SUNWrcapu, rcapd) there is no > real way to limit the amount of RAM that a zone can borrow from the gl

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Jordi Espasa Clofent
Ok. So then I understand: - before Solaris 10 Update 7 (the one with SUNWrcapu, rcapd) there is no real way to limit the amount of RAM that a zone can borrow from the global one. Is that correct? Thanks again. -- I will face my fear. I will permit it to pass over me and through me. And when

Re: [zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Hung-Sheng Tsao (Lao Tsao 老曹) Ph.D.
capped.memory is about the total memory e.g *Add a memory cap.* zonecfg:my-zone> *add capped-memory* 1. *Set the memory cap.* zonecfg:my-zone:capped-memory> *set physical=50m* 2. *Set the swap memory cap.* zonecfg:my-zone:capped-memory> *set swap=100m* 3. *Set the locked memory ca

[zones-discuss] Difference between capped.memory and zone.max-shm-memory

2012-04-18 Thread Jordi Espasa Clofent
Hi all, I just want to know what's the difference between capped.memory and zone.max-shm-memory when it comes to limit the zones access to the available RAM memory in the global zone. According to here http://docs.oracle.com/cd/E18752_01/html/817-1592/z.config.ov-3.html#gepte: "Solaris 10