Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
IO Schedulers
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
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Thu Jul 07, 2005 1:18 pm    Post subject: IO Schedulers Reply with quote

Just trying to get rid of things that I don't need.
Does my system need all these IO Schedulers?
/usr/src/linux-2.6.12-gentoo-r4/.config
Code:
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_ATA_OVER_ETH is not set
If somebody could point me to some information on what they're needed for then I could figure out by myself.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Thu Jul 07, 2005 2:06 pm    Post subject: Reply with quote

NOOP is a very basic I/O scheduler. You can't even switch it off without hacking .config file by hand.
AS is the default in 2.6 series. Probably the best all around I/O scheduler.
DEADLINE is more suitable for servers.
CFQ is especially designed for desktop systems.

If you disable all of them, your system will use NOOP, which is not recommended. At least select one of them, but I recommend enabling all of them and testing which one is the best for your usage.

You can switch I/O scheduler in fly, here's an example:
Code:
athlon-xp oktane # cat /sys/block/hda/queue/scheduler
noop anticipatory deadline [cfq]

Allright, I'm using CFQ, let's change it to Deadline:
Code:
athlon-xp oktane # echo deadline > /sys/block/hda/queue/scheduler
athlon-xp oktane # cat /sys/block/hda/queue/scheduler
noop anticipatory [deadline] cfq

If you are interested how I/O schedulers work, just Google around and you'll find plenty of stuff. Hopefully this helps.
Back to top
View user's profile Send private message
volkmar
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jul 2004
Posts: 122

PostPosted: Thu Jul 07, 2005 2:44 pm    Post subject: Reply with quote

Thanks a lot for your introduction.
I have been missing some words like these when first time configuring the kernel.
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