On Thu, 02 Feb 2006 16:08:40 +0100 "J.Paechnatz" <[EMAIL PROTECTED]> 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 -- [EMAIL PROTECTED] _______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
