Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94780 - Add a script to configure kernel IO schedulers
Summary: Add a script to configure kernel IO schedulers
Status: RESOLVED DUPLICATE of bug 94909
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-01 14:58 UTC by Emmanuel Rosa
Modified: 2005-06-05 00:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/etc/init.d/ioscheduler: Kernel IO scheduler selector script (ioscheduler,1.60 KB, text/plain)
2005-06-01 15:00 UTC, Emmanuel Rosa
Details
/etc/conf.d/ioscheduler: ioscheduler script configuration file (ioscheduler,1.36 KB, text/plain)
2005-06-01 15:02 UTC, Emmanuel Rosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Rosa 2005-06-01 14:58:17 UTC
Some 2.6 kernels (aka ck-sources allow users to select IO schedulers for their
block devices. This is done by echoing either anticipatory, deadline, or cfq to
/sys/block/BLOCKDEV/queue/scheduler. I'm proposing a script to handle this at
boot time. I will attach a priliminary effort.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Emmanuel Rosa 2005-06-01 15:00:55 UTC
Created attachment 60418 [details]
/etc/init.d/ioscheduler: Kernel IO scheduler selector script

/etc/init.d/ioscheduler
Just save and add to boot runlevel (rc-update add ioscheduler boot). When
executed, it reads /etc/conf.d/ioscheduler to determine what scheduler to use
for each block device available during boot.
Comment 2 Emmanuel Rosa 2005-06-01 15:02:06 UTC
Created attachment 60420 [details]
/etc/conf.d/ioscheduler: ioscheduler script configuration file
Comment 3 SpanKY gentoo-dev 2005-06-01 15:23:28 UTC
this is kind of limited imho and doesnt really belong in baselayout

any suggestions as to an alternative package to stick this with ?
Comment 4 SpanKY gentoo-dev 2005-06-05 00:25:48 UTC

*** This bug has been marked as a duplicate of 94909 ***