On Thu, Dec 31, 2009 at 10:13 AM, Philip <philip.l.nel...@nasa.gov> wrote:
> I have been unable to determine whether or not the max-swap resource control 
> refers only to on-disk swap or to physical memory plus on disk swap.
>
> In short, if I wanted a container to have access to 1gb of physical memory 
> plus 1gb of on-disk swap, would the following configuration do the job?
>
> capped-memory:
>        physical: 1G
>        [swap: 1G]

Oddly enough, "swap" in Solaris tends to have very little to do with
swap devices, other than when you are just about to start complaining
about really bad performance.  To get the behavior you intend, you
need to set swap to 2G and physical to 1G.  (I say "intend", because I
really doubt that anyone would really "want" to page or swap 1 GB to
swap devices.)

I've tried to explain this a few times before...

http://opensolaris.org/jive/thread.jspa?messageID=255547
http://opensolaris.org/jive/thread.jspa?messageID=174225
http://mail.opensolaris.org/pipermail/zones-discuss/2008-September/004251.html

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org

Reply via email to