You might want to give my Fedora Core 2 installation a shot. Follow
When you successful installed the above, you will have a /rcfs directory.
Upon startup the 'resman' package will create one-to-one mappings between a
CKRM class and a vserver. Moreover, there are scripts to manipulate the
various CKRM resource controllers (those that are currently supported) via
the various /usr/sbin/*limit scripts (where * is cpu, task, mem, and io),
which you should use after system bootup. There also is a script for
bandwidth limiting (bwlimit), but has nothing to do w/ CKRM. These scritps
are part of the resman rpm package that you automatically get via yum when
following the directions from the above URL.
As mentioned, currently only the CPU and numtask controller are enabled in
the kernel. You may also want to read the kernel subsection of the
PlanetLab: Version 3.0 PDN available via
Hope this helps.
> -----Original Message-----
> From: ckrm-tech-admin@...
> [mailto:ckrm-tech-admin@... Behalf Of shishir
> Sent: Friday, December 24, 2004 10:05 AM
> To: ckrm-tech@...
> Subject: [ckrm-tech] Regarding Configuring CKRM
> Hi ,
> I am using Fedora Core 3 ,and I compile the
> Linux kernel 2.6.8-1 . While compling the kernel I
> configure the CKRM , & compile the Kernel .
> I configure the CKRM as per given
> instructions in README file of CKRM . To enable the
> /rcfs directory , I create a dir and mount it , using
> following command
> # mkdir rcfs
> # mount -t rcfs rcfs /rcfs
> After executing this command two
> subdirectories of /rcfs are created , those are
> taskclass and numclass.
> Then I create a class C1 in taskclass and
> change it cpu shares to 10 , i change its limit and
> max_limit and set it to 10.
> Then I create a C program with infinite
> loop and assign its pid to to class C1 , using command
> echo <pid> > /rcfs/taskclass/C1/target
> and then i check CPU status using top
> command , but this is not working , as it shows CPU
> uses 99.9 %.
> Also another problem I observ is that , when
> I create a Class C1 , it does not create config in it.
> and whenever I reboot the machine , all the
> created classes , taskclass and socketclass are
> lost.And I have to mount the rcfs again to enable the
> taskclass and socketclass in rcfs.
> Please tell , why this I am getting this
> error, though i assign a CPU shares to 10 , why it is
> taking 99 % of CPU resource. Please help me to solve
> this problem. I am attaching the readme file which I
> use to install and test the CKRM.
> Do you Yahoo!?
> Yahoo! Mail - Helps protect you from nasty viruses.