On Thu, 02 Feb 2006 16:08:40 +0100
"J.Paechnatz" <jpaechnatz@bfe-systemhaus.de> wrote:
> I played with the rlimits, rss/as are working fine. but how could I
> limit cpu usage, for example 25% of the hosts cpu capacity? the cpu
> directive is for cpu time in seconds....how much is realistic!? and how
> it's measured?
- scheduler parameters (http://linux-vserver.org/Scheduler+Parameters)
- flags (http://linux-vserver.org/Caps+and+Flags)
- mini-howto (http://list.linux-vserver.org/archive/vserver/msg08478.html)
scheduler parameter hints
* echo sched_prio >>/etc/vservers/<vserver>/flags
* editor /etc/vservers/<vserver>/schedule
* format:
o token fill rate (tokens/interval)
o token fill interval (jiffies)
o initial tokens
o minimum tokens (timeout length)
o maximum tokens (burst length)
o don't care
* cat /proc/virtual/$(cat /etc/vservers/<vserver>/run)/sched
corey
-- undefined@pobox.com _______________________________________________ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserverReceived on Fri Feb 3 06:45:28 2006