Re: [vserver] Vserver CPU Scheduler

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Wed 23 Apr 2008 - 07:36:27 BST
Message-ID: <20080423063627.GE30605@MAIL.13thfloor.at>

On Tue, Apr 01, 2008 at 03:54:24PM -0700, Dean Montgomery wrote:
> Some of our vservers are getting used allot. However there is a CPU
> scheduler in vserver that puts some hard limits on programs that have
> been using allot of cpu power for an extended period of time.
>
> Can someone tell me what settings I should be changing to make the
> vserver not put limits on the processes run inside the vserver.
>
> I found this page but it does not describe how to simply turn off the
> limits in the vserver cpu scheduler.
>
> http://linux-vserver.org/CPU_Scheduler
>
> I noticed this when I tried to batch convert 5000 word documents to odt.
> After a few hours top would show soffice.bin ...
> * have a few seconds of cpu time
> * which was quickly adjusted with high nice values then
> * sleep for several seconds.
>
> I would rather have it not apply nice and sleep to any big cpu hogs.

you can simply disable the Linux-VServer scheduler
additions by not setting any of the SCHED_* flags
for that specific guest

http://linux-vserver.org/Capabilities_and_Flags

best,
Herbert

> --
> Dean Montgomery
> Network Support Tech./Programmer
> School District #73
Received on Wed Apr 23 07:36:41 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 23 Apr 2008 - 07:36:46 BST by hypermail 2.1.8