Re: [vserver] scheduling question

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 26 Jan 2008 - 20:04:11 GMT
Message-ID: <20080126200410.GD14247@MAIL.13thfloor.at>

On Sat, Jan 19, 2008 at 03:40:05PM +0100, ADNET Ghislain wrote:
>
> >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

what kernel version is that? IIRC, we fixed that some
time ago, so it should not happen with vs2.2.0.6 or
a recent devel version ...

> 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 :)

precisely, the idle time skipping is enabled by
a separate scheduling option, so by default that
will not be on, even with rate2 != 0

HTC,
Herbert

> --
> Cordialement,
> Ghislain
Received on Sat Jan 26 20:04:23 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 26 Jan 2008 - 20:04:29 GMT by hypermail 2.1.8