Hi Shailabh ,
I tried to apply patch for cpu controller
from the located you specified. But patch was not
getting applied. So i first applied e17-incr.tar.bz2
patch and then applied cpu controller patch to latest
stable kernel 2.6.10.
But when i tried to built kernel , it gives error
as below :
/usr/src/linux-2.6.10/kernel/sched.c: In function
`dependent_sleeper':
/usr/src/linux-2.6.10/kernel/sched.c:2852: error:
structure has no member named `active'
/usr/src/linux-2.6.10/kernel/sched.c:2854: error:
structure has no member named `expired'
make[1]: *** [/usr/src/linux-2.6.10/kernel/sched.o]
Error 1
make: *** [_module_/usr/src/linux-2.6.10/kernel] Error
2
make: Leaving directory `/usr/src/linux-2.6.10'
Waiting for your reply.
--- Shailabh Nagar <[EMAIL PROTECTED]> wrote:
> > mehta kiran wrote:
> >
> >> Hi , I applied patch e17-incr.tar.bz2
> >> available at
> http://sf.gds.tuwien.ac.at/c/ck/ckrm/
> >> to Suse 2.6.10 kernel. Patch applied
> >> successfully.Then i built the kernel
> >> I inserted modules rcfs, rbce ,
> >> ckrm_numtasks , ckrm_listenaq.
> >> I mounted rcfs filesystem on /rcfs.
> >> subdirectories in this directories
> >> shown were ce , taskclass , socketclass.
> >> I created directory c1 in
> /rcfs/taskclass/
> >> when i did echo
> "res=cpu,guarantee=30">
> >> /rcfs/taskclass/c1/shares
> >> output of cat /rcfs/taskclass/c1/shares
> >> does not change. It remains as
> >> res=numtasks,guarantee=-2,limit=-2,
> >> total_guarantee=100,max_limit=100
> >>
> >> What i want to do it group some tasks so
> that
> >> they are allocated some fixed percentage of
> >> cpu time
> >>
> >> Please let me know if i am missing some
> >> thing.
> >
> >
> To get control over cpu time, you need to apply the
> cpu controller
> patch on top of the CKRM base package. The cpu
> controller patch for e17
> is available at
>
>
http://sourceforge.net/project/showfiles.php?group_id=85838
>
> Follow the instructions in
> Documentation/ckrm/cpusched of the resulting
> source tree and it should work for you.
> Please note there are a couple of bugs discovered by
> Peter Williams that
> will get fixed in the next update.
>
> -- Shailabh
>
>
>
>
>
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> ckrm-tech mailing list
>
https://lists.sourceforge.net/lists/listinfo/ckrm-tech
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech