Re: [vserver] Assigning whole CPUs to contexts

From: Jiri Denemark <jirka_at_ics.muni.cz>
Date: Wed 23 Apr 2008 - 17:40:13 BST
Message-ID: <20080423164013.GB30904@elg.home>

> If this is what you want, using the scheduler parameters is just
> unnecessary overhead. Setup cpusets instead, e.g.:
> echo 0 > /etc/vservers/<guest0>/cpuset/cpus
> echo 0 > /etc/vservers/<guest0>/cpuset/mems
> echo cpu0 > /etc/vservers/<guest0>/cpuset/name

Well, that might help, but is it possible to change it in runtime? To change
number of CPUs assigned to each context? And how scheduler interacts with
cpusets, are parameters still global or only related to the particular cpuset?

Jirka

-- 
A fool-proof method for sculpting an elephant: first, get a huge block of
marble; then you chip away everything that doesn't look like an elephant.
Received on Wed Apr 23 17:56:40 2008
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 23 Apr 2008 - 17:56:44 BST by hypermail 2.1.8