Advertising

"Solaris 10 8/07: Physical Memory Control and the capped-memory Resource

The capped-memory resource sets limits for physical, swap, and locked
memory. Each limit is optional, but at least one must be set.

Determine values for this resource if you plan to cap memory for the
zone by using rcapd from the global zone. The physical property of the
capped-memory resource is used by rcapd as the max-rss value for the zone.

The swap property of the capped-memory resource is the preferred way to
set the zone.max-swap resource control.

The locked property of the capped-memory resource is the preferred way
to set the zone.max-locked-memory resource control."

So...

Are the both parameters doing the same (limiting the amount of available
RAm for the zone) but just using different tools (rcapd for
capped.memory and prctl for zone.max-shm-memory)?

What I really want to know is how to limit totally the memory in the
zones. Let's say I have a global zone with 10GB and I want to create 2
zones with ONLY 2GB at maximum, whatever they want or ask for.

Thanks in advance.
--
I will face my fear. I will permit it to pass over me and through me.
And when it has gone past I will turn the inner eye to see its path.
Where the fear has gone there will be nothing. Only I will remain.
_______________________________________________
zones-discuss mailing list
zones-discuss@opensolaris.org