On Mon, Jan 30, 2006 at 03:02:10PM -0700, Lares Moreau wrote:
> Is there an existing mechanism to provide a minimum resource
> (primarily CPU) to any giving context? Similar to the way network
> providers give you 5Mbit/s, but allow burstable bandwidth on demand to
> the max of your network interface or available network.

yes, that's what the hard cpu scheduler allows
you to do, assign a 'fixed' amount of tokens per
time unit to each context, but also allow for
bursts after a time of quiescence ...

> In the context of VServer, allocate a guaranteed minimum resource, but
> allow resources to be 'burstable' to 100% of the native host system.
> Further, set a maximum 'burstable' limit, of say 90%. and 'reserve'
> 10% for host system alone.

this is done with the newer devel scheduler on
a per cpu basis ... if you get the numebrs right
you should be able to do that ...

HTH,
Herbert

> Example table
> =============
> context    guar-min    burst-max
> -------    --------    ---------
> host          10%         100%
> vs1           25%         85%
> vs2           50%         85%
> vs3           15%         85%
> -------    --------    ----------
> total         100%        N/A
> 
> 
> Ideas?
> 
> -Lares
> 
> -- 
> Lares Moreau <[EMAIL PROTECTED]>  | LRU: 400755 http://counter.li.org
> lares/irc.freenode.net                 |
> Gentoo x86 Arch Tester                 |               ::0 Alberta, Canada
> Public Key: 0D46BB6E @ subkeys.pgp.net |          Encrypted Mail Preferred
> Key fingerprint = 0CA3 E40D F897 7709 3628  C5D4 7D94 483E 0D46 BB6E



> _______________________________________________
> 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

Reply via email to