LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-11-2005, 03:47 AM   #1
theapodan
LQ Newbie
 
Registered: Jun 2002
Distribution: Slackware
Posts: 19

Rep: Reputation: 0
Talking Scheduler differences -ck(staircase) and default


I've been fiddling with my kernel, and have compiled one with and one without the -ck patch, using the most recent release kernel sources. I think that for light desktop use, with XFCE, the -ck patch shows better seat of the pants feel, for my light desktop use.

Does anyone know if there are any real benchmarks with these different schedulers? Files seem to delete faster (JFS) with -ck than without, although again, seat of pants.

Any downsides to other schedulers?

Does anyone use the staircase scheduler, or is it not a popular choice?
 
Old 07-12-2005, 12:58 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
You could do write and read benchmark yourself, with

Write test :
Code:
for i in seq 1 2 3 4 5; do
    time dd if=/dev/zero of=/path/to/output/file bs=1M count=100
done
Read test :
Code:
for i in seq 1 2 3 4 5; do
    time dd if=/path/to/output/file of=/dev/null bs=1M
done
do these test with your different kernel or maybe use hdparm...
 
Old 07-13-2005, 12:59 AM   #3
theapodan
LQ Newbie
 
Registered: Jun 2002
Distribution: Slackware
Posts: 19

Original Poster
Rep: Reputation: 0
I was only providing the deletion of files as an example, I was more interested in any microbenchmarks showing the difference between the two on completely cpu bound operations.

Actually, in truth, even that would not verify whether I am seeing a placebo effect nearly as much as if someone chimed in that they'd seen similar improvements.

But thank you for replying, it seems that this forum is more for rescueing unfortunates with problems than lucky folks who get away with stuff like patching the kernel, etc.
 
Old 07-13-2005, 05:42 AM   #4
piete
Member
 
Registered: Apr 2005
Location: Havant, Hampshire, UK
Distribution: Slamd64, Slackware, PS2Linux
Posts: 465

Rep: Reputation: 44
You could really do with VM'ing 2 kernels side by side and throwing the same (many many!) operations at them to see how the schedulers react step-by-step and which completes fastest. I think that's about the only way you'd get a positive resolution from using a newer scheduler.

I suppose if you were feeling particularly brave you could write test harnesses (probably in C) that use the schedulers to come up with a hypothetical "better" scheduler. Hell, if you were really bored you could do it by hand on some scrap paper!

I don't know enough about the task queues to even suggest which one should be better!

Quote:
it seems that this forum is more for rescueing unfortunates with problems than lucky folks who get away with stuff like patching the kernel
I think you may well be correct in that!

Thanks for sharing the good news =)

- Piete.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
staircase scheduler patching help poto_floyd Linux - General 5 07-02-2005 12:21 AM
staircase vs O(1) (CPU sched) SciYro Linux - General 4 04-06-2005 03:07 PM
Differences between default, smp, and bigsmp kernels ? reg3ter Linux - Newbie 8 03-30-2005 06:06 PM
scheduler... os2 Programming 0 07-24-2004 12:38 PM
task scheduler? is there any? bruno buys Linux - General 1 11-17-2003 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration