Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-17-2005, 08:22 AM   #1
Registered: Jan 2004
Location: Pakistan
Distribution: OpenSuse 10.2, Slackware 11, Solaris 10
Posts: 415

Rep: Reputation: 34
switching Linux kernel I/O scheduling algorithms


I'm now using Kernel 2.6.4, and in /drivers/block there are the following I/O scheduling algorithms:

as-scheduler (anticipatory scheduler)

now obvisouly all these algos are not being used at once, so how can I tell the kernel to use one algo, on somesite I saw the following parameter passed to the kernel:


supposedly turned the deadline-scheduler on,

any clues?
Old 03-17-2005, 12:53 PM   #2
Registered: Jan 2005
Location: Szeged, Hungary
Distribution: Slackware 10
Posts: 35

Rep: Reputation: 15
Hi, Yes, you need to pass a parameter to the kernel at boot time - I use Lilo, and have a line :

append = "resume=/dev/hda5 splash=silent acpi=off"

this contains the kernel parameters, so just add a further parameter with the elevator=noop (or whatever). Then, in the case of Lilo, rerun the Lilo program before rebooting. I think (but I'm not sure) that incorrect parameters are ignored, so you'll have to check your boot logs to be sure that it's taken effect.

I'm also no sure what are the appropriate parameters, 'deadline', 'noop' and 'as' I'd guess.

You can also (OK I can with a 2.6.10 kernel - I assume you can with a 2.6.4 kernel) - change the scheduler on the fly.

Read this message.


Last edited by iscurrah; 03-17-2005 at 01:07 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scheduling in Linux asurya Linux - General 5 08-31-2005 09:34 AM
linux scheduling problem lordofring Programming 2 08-30-2005 10:08 AM
Process Scheduling in Linux Newbiegal Programming 6 10-04-2004 01:08 PM
Linux Scheduling Kumar Programming 3 06-14-2004 05:24 AM
Kernel Scheduling netkern Linux - General 1 04-14-2001 05:18 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration