Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Batch Scheduling patch?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
cpakkala
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 154

PostPosted: Tue Jan 04, 2005 5:46 am    Post subject: Batch Scheduling patch? Reply with quote

Is there a patch available to add only the batch scheduling to the gentoo-dev-kernel? I don't want the full CK sources, as they always seem to cause problems with vmware and cedega. I find the gentoo-dev-sources to be quite stable, but would like to have the batch scheduling capability for setiathome.
Back to top
View user's profile Send private message
dark_glaive
Apprentice
Apprentice


Joined: 09 May 2004
Posts: 176
Location: Raleigh, NC

PostPosted: Tue Jan 04, 2005 5:49 am    Post subject: Reply with quote

http://ck.kolivas.org/patches/2.6/2.6.10/2.6.10-ck1/patches/schedbatch2.6.diff

This is the batch scheduling patch used in the ck sources all by itself. Hope this helps. What does batch scheduling do anyhow?
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Tue Jan 04, 2005 5:52 am    Post subject: Reply with quote

dark_glaive wrote:
http://ck.kolivas.org/patches/2.6/2.6.10/2.6.10-ck1/patches/schedbatch2.6.diff

This is the batch scheduling patch used in the ck sources all by itself. Hope this helps. What does batch scheduling do anyhow?


Batch scheduling only works with the staircase scheduler. That patch by itself is useless.
Back to top
View user's profile Send private message
Irom
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2003
Posts: 95
Location: am arsch..

PostPosted: Tue Jan 04, 2005 6:39 am    Post subject: Reply with quote

bollucks wrote:
Batch scheduling only works with the staircase scheduler. That patch by itself is useless.

You can get the scheduler from http://ck.kolivas.org/patches/2.6/2.6.10/2.6.10-ck1/patches/ as well. Download 2.6.10_to_staircase9.2.diff, schedrange.diff and schedbatch2.6.diff and apply them in the order of http://ck.kolivas.org/patches/2.6/2.6.10/2.6.10-ck1/patches/series

dark_glaive wrote:
What does batch scheduling do anyhow?

Batch scheduling allows tasks to only use cpu time if the cpu is idle, rather than a proportion of cpu usage that "nice" does. This is useful for distributed computing clients like setiathome. To set a task as SCHED_BATCH you need to use the schedtools utility.
(http://members.optusnet.com.au/ckolivas/kernel/)
_________________
http://ftp.fukt.bsnet.se/pub/movies/stallman/ (Please watch this before you form an opinion about GNU)
https://apfelboymchen.net/gnu/
Back to top
View user's profile Send private message
cpakkala
Apprentice
Apprentice


Joined: 17 Dec 2004
Posts: 154

PostPosted: Tue Jan 04, 2005 6:44 am    Post subject: Reply with quote

I feared the batch scheduling would require the new scheduler as well. I'll give it a try then, but I have a hunch that it's the staircase scheduler that's giving vmware and cedega problems, so I'm not sure I'll be able to use the batch scheduling anyway... Thanks!

Oh; also, can the patches be applied to gentoo-dev-sources or do they have to be applied to the vanilla sources?
Back to top
View user's profile Send private message
Irom
Tux's lil' helper
Tux's lil' helper


Joined: 07 Oct 2003
Posts: 95
Location: am arsch..

PostPosted: Tue Jan 04, 2005 6:51 am    Post subject: Reply with quote

cpakkala wrote:
Oh; also, can the patches be applied to gentoo-dev-sources or do they have to be applied to the vanilla sources?
That depends whether the patches from gentoo touch the same sourcefiles as ck. Just try it with --dry-run or revert the patch afterwards with -R.
Normally they have to be applied to vanilla.
_________________
http://ftp.fukt.bsnet.se/pub/movies/stallman/ (Please watch this before you form an opinion about GNU)
https://apfelboymchen.net/gnu/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum