Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ck-sources
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
jsf_x35a
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 81
Location: In your base! Killing your men!

PostPosted: Sat May 26, 2007 1:42 am    Post subject: ck-sources Reply with quote

Anyone here using the ck-sources? I wanted to try out the RSDL scheduler and wanted to see if anyone else is using the Con Kolivas patchset. If you are using it, has it given you any trouble? Is there anything else particularly impressive about the ck patchset besides the RSDL scheduler that I should know about?
_________________
"Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man
Back to top
View user's profile Send private message
LoSeR_5150
Guru
Guru


Joined: 20 Mar 2005
Posts: 455
Location: San Francisco, CA

PostPosted: Sat May 26, 2007 2:45 am    Post subject: Reply with quote

Many of the custom kernel patchsets such as viper-sources, skunk-sources, etc... include con's patches. I've always used kernel-sources with ck-patches and never had any problems(well not related to the patches :wink: Anyways you may also want to check out the CFS scheduler by Ingo Molnar. Its included in kamikaze-sources, as well as skunk-sources and I'm sure some others. Hope this helps, and good luck.
_________________
Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1

Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sat May 26, 2007 5:54 pm    Post subject: Reply with quote

I would not want anything else than a ck-based kernel on my desktop.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
jsf_x35a
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 81
Location: In your base! Killing your men!

PostPosted: Sun May 27, 2007 2:42 am    Post subject: Reply with quote

Well, I just had a first taste of Con Kolivas's code (his defrag script) and I must say, he is a good coder. The script is still in version 0.06 and it worked flawlessly. Before I ran it, 63% of the files were non-contiguous (6 year old HDD that I had never defragged), after running it, only 7%. So that gives me reason enough to go on and check out his kernel patches.

Anyway, has anyone tried out the RSDL scheduler? Would it be recommended to run the ck kernel on a laptop?
_________________
"Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man
Back to top
View user's profile Send private message
Ingmarv
Retired Dev
Retired Dev


Joined: 27 Feb 2007
Posts: 188
Location: Belgium

PostPosted: Sun May 27, 2007 8:35 am    Post subject: Reply with quote

jsf_x35a wrote:
Anyway, has anyone tried out the RSDL scheduler? Would it be recommended to run the ck kernel on a laptop?


I'm running the RSDL scheduler (latest viper sources) on my laptop. I've never used CFS though, so I can't compare those, but RSDL = multitasking heaven on my Core 2 Duo.
I'm curious why it would not be recommended to run the RSDL scheduler on a laptop?

Oh, and lets not forget the input schedulers he includes ... :)
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1225
Location: Motown

PostPosted: Sun May 27, 2007 9:53 am    Post subject: Reply with quote

Where does one set the RSDL scheduler option in ck-sources?

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sun May 27, 2007 3:21 pm    Post subject: Reply with quote

You can't. Whatever scheduler Con puts in his patchset, is the default.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
jsf_x35a
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 81
Location: In your base! Killing your men!

PostPosted: Mon May 28, 2007 2:13 am    Post subject: Reply with quote

Ingmarv wrote:
jsf_x35a wrote:
Anyway, has anyone tried out the RSDL scheduler? Would it be recommended to run the ck kernel on a laptop?


I'm running the RSDL scheduler (latest viper sources) on my laptop. I've never used CFS though, so I can't compare those, but RSDL = multitasking heaven on my Core 2 Duo.
I'm curious why it would not be recommended to run the RSDL scheduler on a laptop?

Oh, and lets not forget the input schedulers he includes ... :)

Input schedulers? Really? :o

yngwin wrote:
You can't. Whatever scheduler Con puts in his patchset, is the default.


I remember there being an option to choose Anticipatory or Deadline in gentoo-sources. Shouldn't there be an option for RSDL as well? Or is it a different kind of scheduler I'm thinking of? :?
_________________
"Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man
Back to top
View user's profile Send private message
scottfk
n00b
n00b


Joined: 18 May 2003
Posts: 44
Location: New York, NY

PostPosted: Mon May 28, 2007 3:44 am    Post subject: Reply with quote

AS, DEADLINE, NOOP, and CFQ are all I/O schedulers. They divy up finite I/O bandwidth among the various processes running on a timeshare system.

Con's SD is a CPU scheduler. It divies up finite CPU time.
_________________
Be seeing you.

scott
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Mon May 28, 2007 1:29 pm    Post subject: Reply with quote

jsf_x35a wrote:
Or is it a different kind of scheduler I'm thinking of?

Indeed.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
jsf_x35a
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2004
Posts: 81
Location: In your base! Killing your men!

PostPosted: Mon May 28, 2007 2:04 pm    Post subject: Reply with quote

scottfk wrote:
AS, DEADLINE, NOOP, and CFQ are all I/O schedulers. They divy up finite I/O bandwidth among the various processes running on a timeshare system.

Con's SD is a CPU scheduler. It divies up finite CPU time.

Ah I see! That clears things up a lot. Any opinion on what a good I?O scheduler is for desktops then?
_________________
"Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man
Back to top
View user's profile Send private message
scottfk
n00b
n00b


Joined: 18 May 2003
Posts: 44
Location: New York, NY

PostPosted: Tue May 29, 2007 3:23 pm    Post subject: Reply with quote

CFQ is enabled as the default by Con's patches. I've been using it for a few years now with no complaints.

Unlike CPU scheduler, you can change your I/O scheduler on the fly if you feel like trying something else. Different block devices can also use different I/O schedulers.

If you cat /sys/block/{your block device, e.g. sda}/queue/scheduler you will see a list of all the I/O schedulers compiled into your kernel, with the active scheduler in square brackets. You can set this by, as root, echoing the scheduler you want into the file.

echo cfq > /sys/block/sda/queue/scheduler
_________________
Be seeing you.

scott
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