From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Tue 23 Aug 2005 - 13:51:23 BST
On Tue, Aug 23, 2005 at 10:29:16AM +0200, Oliver Welter wrote:
> Hi Bene,
> 
> >thanatos ~ # cat /proc/virtual/23760/sched
> >Token:              9430
> >FillRate:             20
> >Interval:             57
> >TokensMin:          3000
> >TokensMax:          9430
> >PrioBias:              0
> >VaVaVoom:              0
> >cpu 0: 4632928 321111 925413
> 
> cat sched
> Token:                 0
> FillRate:             16
> Interval:             32
> TokensMin:           200
> TokensMax:          1000
> PrioBias:              0
> cpu 0: 2781226 443749 0
> 
> Hmm, why do I have 0 Tokens in the bucket ?
> Must I setup a scheduler for ALL vServers ? 
> I have done so only for this one, the other contexts have a "sched"
> file in proc too and show 0 Tokens too
setting scheduler parameters does not automatically
enable the token bucket, you have to set at least
one of the sched_* flags (sched_prio or sched_hard,
where the latter one requires the Hard CPU Scheduler
to be enabled in the kernel)
HTH,
Herbert
> Oliver
> -- 
> Diese Nachricht wurde digital unterschrieben
> oliwel's public key: http://www.oliwel.de/oliwel.crt
> Basiszertifikat: http://www.ldv.ei.tum.de/page72
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver