Re: [Vserver] schedule values

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 20 May 2006 - 15:35:42 BST
Message-ID: <20060520143542.GD22168@MAIL.13thfloor.at>

On Fri, May 19, 2006 at 09:34:15AM +0200, Mehdi Bennani wrote:
> Hello,
>
> I hope I wil bee more lucky with that question, I'm making it short and
> quick!
> Is that schedule config:
>
> 1
> 10
> 500
> 200
> 1000
> dummy
>
> ...equivalent to that one:
> 10
> 100
> 500
> 200
> 1000
> dummy

nope, but similar ...

the first one (1/10) will add a token every 10 jiffies
the second one will add 10 tokens every 100 jiffies

now you might ask, what is the difference?

well, simple let's assume you have HZ set to 100,
and your guest is running a CPU hog, then the first
one will look like this:

 |___|___|___|___|___|___|___|___|___|___

while the second one will look more like this:
  ___
 | |___________________________________

the total amount of 'cpu' resources given to the guest
will be the same though ...

HTH,
Herbert

> Thanks,
> Regards,
>
>
> Mehdi Bennani
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat May 20 15:36:06 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 20 May 2006 - 15:36:09 BST by hypermail 2.1.8