Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 94780

Summary: Add a script to configure kernel IO schedulers
Product: Gentoo Linux Reporter: Emmanuel Rosa <emmanuelrosa>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: /etc/init.d/ioscheduler: Kernel IO scheduler selector script
/etc/conf.d/ioscheduler: ioscheduler script configuration file

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 ***