Subject: Re: [vserver] util vserver and cgroups
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Tue, 24 Feb 2009 17:20:55 +0100 (CET)

Herbert Poetzl wrote:
> On Mon, Feb 23, 2009 at 10:40:42PM +0100, ADNET Ghislain 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 :)
>
> just assign the proper shares to each cgroup,
> no idea if util-vserver has a config entry for
> them, Daniel?

It does. /etc/vservers/<guest>/cgroup/* will be copied to the guest's
cgroup when it is started.

> HTH,
> Herbert
>
>> --
>> Cordialement,
>> Ghislain
>

-- 
Daniel Hokka Zakrisson