View previous topic :: View next topic |
Author |
Message |
volkmar Tux's lil' helper
Joined: 01 Jul 2004 Posts: 122
|
Posted: Thu Jul 07, 2005 1:18 pm Post subject: IO Schedulers |
|
|
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 |
|
|
Deranger Veteran
Joined: 26 Aug 2004 Posts: 1215
|
Posted: Thu Jul 07, 2005 2:06 pm Post subject: |
|
|
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 |
|
|
volkmar Tux's lil' helper
Joined: 01 Jul 2004 Posts: 122
|
Posted: Thu Jul 07, 2005 2:44 pm Post subject: |
|
|
Thanks a lot for your introduction.
I have been missing some words like these when first time configuring the kernel. |
|
Back to top |
|
|
|