You are not logged in.

#1 2004-12-30 10:17:07

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

kernel io schedulers 2.6.10

discussion about the new kernel io schedulers

4 schedulers are available to choose one of them
you can use the elevator option on boot to choose one of them, else as is chosen as default

elevator= [IOSCHED]
   Format: {"as"|"cfq"|"deadline"|"noop"}
   See Documentation/block/as-iosched.txt
   and Documentation/block/deadline-iosched.txt for details.

"as" is default
"cfq" should be for workstations
"deadline" for some kind of databases

Offline

#2 2004-12-30 11:39:00

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: kernel io schedulers 2.6.10

tpowa wrote:

elevator= [IOSCHED]
   Format: {"as"|"cfq"|"deadline"|"noop"}
   See Documentation/block/as-iosched.txt
   and Documentation/block/deadline-iosched.txt for details.

just wondering ... is there a way to get the Documentation dir without downloading the whole sources? (cvs servers? webcvs? some mirror hosting source as-is?)


The impossible missions are the only ones which succeed.

Offline

#3 2004-12-30 11:41:10

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: kernel io schedulers 2.6.10

i never found a way
but i'm highly interested in a way to have access to kernel documentation
without having to download the sources

Offline

#4 2004-12-30 12:09:48

Fox
Member
Registered: 2004-07-28
Posts: 124

Re: kernel io schedulers 2.6.10

tpowa wrote:

i never found a way
but i'm highly interested in a way to have access to kernel documentation
without having to download the sources

You don't have to download the whole source just the patches which are quite small.

Offline

#5 2004-12-30 13:20:21

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: kernel io schedulers 2.6.10

Fox wrote:
tpowa wrote:

i never found a way
but i'm highly interested in a way to have access to kernel documentation
without having to download the sources

You don't have to download the whole source just the patches which are quite small.

i don't have the hdd-space to keep sources of the kernel :-( .... the idea is to access the Docs only (ideal solution would be to have them somewhere online, but after searching the web i didn't find them nowhere :-( :cry: )


The impossible missions are the only ones which succeed.

Offline

#6 2004-12-30 13:32:25

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: kernel io schedulers 2.6.10

btw i don't think that the patch file includes all the docs
i have always the kernel source on my hd somewhere

Offline

#7 2004-12-30 16:07:51

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: kernel io schedulers 2.6.10

dp wrote:

just wondering ... is there a way to get the Documentation dir without downloading the whole sources? (cvs servers? webcvs? some mirror hosting source as-is?)

Like this?
http://www.kernelhq.cc/browse.py?css=taichi&version=539

8)

Offline

#8 2004-12-30 16:54:45

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: kernel io schedulers 2.6.10

lanrat cool link smile

Offline

#9 2004-12-30 17:32:35

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: kernel io schedulers 2.6.10

lanrat wrote:
dp wrote:

just wondering ... is there a way to get the Documentation dir without downloading the whole sources? (cvs servers? webcvs? some mirror hosting source as-is?)

Like this?
http://www.kernelhq.cc/browse.py?css=taichi&version=539

8)

exactly! many thanx for this link - you saved the day ;-)


The impossible missions are the only ones which succeed.

Offline

#10 2004-12-30 18:37:38

FoPref
Member
From: Erlangen / Germany
Registered: 2004-03-24
Posts: 96
Website

Re: kernel io schedulers 2.6.10

back to schedulers, does anyone already have made some experiences?

Offline

#11 2004-12-31 15:11:06

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: kernel io schedulers 2.6.10

FoPref wrote:

back to schedulers, does anyone already have made some experiences?

under heavy load the "deadline" makes my old machine more responsive for lots of queries / second on db's

for normal work i use the default for now (no time for experiments, while important work is not finished) (means: i use "as")


The impossible missions are the only ones which succeed.

Offline

#12 2004-12-31 17:02:38

Fox
Member
Registered: 2004-07-28
Posts: 124

Re: kernel io schedulers 2.6.10

I don't notice any difference between cfq and as.

Offline

#13 2005-01-01 14:26:01

Abaddon
Member
From: Poland
Registered: 2004-05-03
Posts: 249

Re: kernel io schedulers 2.6.10

cfqv2 gives to me more responsivity, but when I'm using it I have slow transfers from device to device (or form partition to partition). I have dvd+rw so I need good transfers on devices so I'm using as.


Gnome - The weakest link!
Linux, *not* GNU/Linux!

Offline

#14 2005-01-01 18:11:56

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: kernel io schedulers 2.6.10

Abaddon wrote:

cfqv2 gives to me more responsivity, but when I'm using it I have slow transfers from device to device (or form partition to partition). I have dvd+rw so I need good transfers on devices so I'm using as.

You can use different schedulers on a device basis.

Here's a snip from the CK maillist:

# cat /sys/block/hdc/queue/scheduler
noop anticipatory deadline [cfq]

# echo cfq > /sys/block/hda/queue/scheduler

to use CFQ on hda.
Somebody experienced kernel panics when switching default CFQ to deadline for a specific deviice.

Con says in one of his e-mails in the thread linked below:

CFQ will be run on all drives by default, but I set my
cds/dvds to deadline and when I am doing video capture I set my hard drives to deadline and then set them back to cfq.

Complete thread @ http://bhhdoa.org.au/pipermail/ck/2004- … 01981.html

Enjoy the Linux Kernel IO Schedulers!

IceRAM

Offline

#15 2005-01-01 18:12:04

aCoder
Member
From: Medina, OH
Registered: 2004-03-07
Posts: 359
Website

Re: kernel io schedulers 2.6.10

I'm having a fine time woth cfq, no problems.  For me, it seems a bit quicker in some cases than as, and I haven't noticed it really falling behind anywhere.


If you develop an ear for sounds that are musical it is like developing an ego. You begin to refuse sounds that are not musical and that way cut yourself off from a good deal of experience.
  - John Cage

Offline

#16 2005-01-16 03:57:31

mxcl
Member
From: MK; UK
Registered: 2004-05-26
Posts: 39
Website

Re: kernel io schedulers 2.6.10

I use the ck kernels since a while now, they are extremely impressive in terms of  responsiveness. I don't think I could go back.

You should disable pre-emption if you decide to use a ck kernel. Also join the mailing list, it's full of general performance tidbits and is most interesting.

EDIT: forgot to mention, the cfq scheduler is the work of Con Kolivas, and is included in his ck kernel patchsets.

Offline

#17 2005-09-06 06:18:39

Convergence
Member
Registered: 2005-07-02
Posts: 377

Re: kernel io schedulers 2.6.10

mxcl wrote:

I use the ck kernels since a while now, they are extremely impressive in terms of  responsiveness. I don't think I could go back.

You should disable pre-emption if you decide to use a ck kernel. Also join the mailing list, it's full of general performance tidbits and is most interesting.

EDIT: forgot to mention, the cfq scheduler is the work of Con Kolivas, and is included in his ck kernel patchsets.

I just downloaded the CK patch set for 2.6.13.  You are sure that you should disable preempt?  where did you learn this? 

thanks


By the way, what about the "staircase" scheduler?  ck's site says that it  "is intrinsically interactive and responsive instead of modifying an existing design with tweaks to make it interactive"  Does that mean that it is even better for a quick desktop than cfq?


It's a very deadly weapon to know what you're doing
---  William Murderface

Offline

#18 2005-09-06 22:56:51

jnengland77
Member
From: Black Hills, USA
Registered: 2005-05-06
Posts: 111

Re: kernel io schedulers 2.6.10

Convergence wrote:

By the way, what about the "staircase" scheduler? ck's site says that it "is intrinsically interactive and responsive instead of modifying an existing design with tweaks to make it interactive" Does that mean that it is even better for a quick desktop than cfq?

The cfq scheduler is an I/O(disc read/write) scheduler. Staircase is a cpu scheduler(default in the 2.6 is the ingosched).

As far as pre-empt is concerned I'm not sure, I leave it on but I might be wrong. The newer version of the kernel metion it's more for embedded systems.

Offline

Board footer

Powered by FluxBB