You are not logged in.

#1 2005-04-29 22:02:48

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Kernel IO scheduler.

I don't remember which IO scheduler is default on arch 26 kernel. And..I don't remember the grub args to pass to change it.

Can anyone point me to the thread, or provide me with updated info?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#2 2005-04-29 22:05:54

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel IO scheduler.

http://bbs.archlinux.org/viewtopic.php?t=8925

option is "elevator=X"... "as" is the default

Offline

#3 2005-04-29 22:16:07

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Kernel IO scheduler.

which scheduler is best for a server? cfq? deadline?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#4 2005-04-29 22:18:58

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Kernel IO scheduler.

# cat /sys/block/hda/queue/scheduler
noop [anticipatory] deadline cfq 
# echo cfq > /sys/block/hda/queue/scheduler
# cat /sys/block/hda/queue/scheduler
noop anticipatory deadline [cfq]

What's best depends on what you do. So try it out and test it I'd say.

Offline

#5 2005-04-30 02:23:53

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Kernel IO scheduler.

the current claim is that deadline is better for database applications and the like and that cfq is good for desktop use. you may not be able to tell much difference depending on usage.

Offline

#6 2005-04-30 11:16:15

i3839
Member
Registered: 2004-02-04
Posts: 1,185

Re: Kernel IO scheduler.

Yes, deadline has the bigest throughput, but bad latency, while cfq has good latency but lower throughput. Anticipatory should be somewhere between. Noop is when you want to kill your harddisk, or have something like a flashdisk or a very advanced raid controller where everything happens in hardware already.

Offline

#7 2005-05-16 13:21:47

vipernicus
Member
From: IT Dept
Registered: 2005-05-10
Posts: 54
Website

Re: Kernel IO scheduler.

CFQ-TS (time-sliced version) with ext3 dir_index, journal_data.

Offline

Board footer

Powered by FluxBB