LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-17-2005, 07:22 AM   #1
irfanhab
Member
 
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


Hi,


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

elevetor
as-scheduler (anticipatory scheduler)
noop-scheduler
deadline-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:

elevetor=deadline

supposedly turned the deadline-scheduler on,

any clues?
 
Old 03-17-2005, 11:53 AM   #2
iscurrah
Member
 
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.

Iain.

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


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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


All times are GMT -5. The time now is 05:36 AM.

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