[Vserver] inconsistency about memory rlimits in vserver docs

From: Gebhardt Thomas <gebhardt_at_hrz.uni-marburg.de>
Date: Tue 02 Jan 2007 - 16:04:39 GMT
Message-Id: <200701021704.40491.gebhardt@hrz.uni-marburg.de>

Hi,

just tried to figure out a reasonable memory rlimit configuration for
our vservers I had a look at vserver wiki. It seems that there is an
inconsistency:

http://linux-vserver.org/Memory_Limits ->
The Resident Set Size (rss) is the amount of virtual memory (RAM + swap) that
the context is allowed to use;

http://oldwiki.linux-vserver.org/Memory+Allocation ->
RSS: resident set size = the number of pages currently present in RAM

http://linux-vserver.org/Frequently_Asked_Questions ->
echo %%insertYourPagesHereSmallerThanMaxram%% > /etc/vserver/
<guest>/rlimits/rss

So, does swap space count for rss limits or not?

----
What exactly is the meaning of the soft limit?
http://linux-vserver.org/Memory_Limits is a bit vague:
Each resource has a soft and a hard limit. The soft limit has little effect, 
but the hard limit does ....
http://linux-vserver.org/Frequently_Asked_Questions 
(How do I limit a guests RAM? ...)
obviously suggests to set soft limits. Why doing so if the "soft limit has 
little effect"?
----
Is "as" (address space) the same thing that is called "VM" (virtual memory) 
in /proc/virtual/<1234>/limit ? If so, why using different names for
the same quantity? 
Thanks, Th. Gebhardt
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Jan 2 16:13:00 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 02 Jan 2007 - 16:13:11 GMT by hypermail 2.1.8