Subject: Re: [vserver] util vserver and cgroups
From: Andreas Baetz <lac01@web.de>
Date: Tue, 24 Feb 2009 08:23:05 +0100

On Mon, 23 Feb 2009 22:40:42 +0100
ADNET Ghislain <gadnet@aqueos.com> wrote:

> Hello,
> 
>   Is this possible to configure cgroups in the latest vserver patch so
> we can divide cpu between guest in a non even way. Like for exemple
> 20%/20%/50%/10% ?
> 
>    The utils create one cgroups for each vserver but i cannnot see a
> way to divide cpu power between them :)
> 
> 

I'm using scipts (/etc/vserver/name/scripts/post-start),e.g.

echo 512 > /dev/cgroup/$2/cpu.shares

Keep in mind that the shares of the host do count, too.


Andreas


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************