Subject: Re: [vserver] Vserver CPU Scheduler
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Wed, 23 Apr 2008 08:36:27 +0200

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