Subject: Re: [vserver] scheduling question
From: ADNET Ghislain <gadnet@aqueos.com>
Date: Sat, 19 Jan 2008 15:40:05 +0100
Sat, 19 Jan 2008 15:40:05 +0100

> so it looks to me like you didn't enable hard
> scheduling for any of those two guests, which
> in turn, will give you roughly even distribution
>
> see http://linux-vserver.org/Capabilities_and_Flags
>
> HTH,
> Herbert
>   
>
yes you are right i forgot this one. I added it but launching cpuburn on 
the guest then crashed the whole physical box. it seems a fill rate2 of 
0 is the issue as without it does not crash but then of course it just 
use the idle time and is not hard limited. for whatever reason the 
limits are by defaults set to :

 > more /proc/virtual/40326/sched
FillRate:              1,1
Interval:              4,8
TokensMin:            15
TokensMax:           125
PrioBias:              0
cpu 0: 2660620 467627 0 0 0 R- 62 15 125 1/4 1/8 0 0
cpu 1: 896832 175505 0 0 0 R- 62 15 125 1/4 1/8 0 0


so by default the fillrate2 is enabled but perhaps there is also one 
thing i miss here because it is not used if another flag is not set. I 
have to setup a test box for this :)


-- 
Cordialement,
Ghislain


["application/x-pkcs7-signature" not shown]