LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-26-2014, 06:00 AM   #1
momersaleem
LQ Newbie
 
Registered: Mar 2014
Posts: 4

Rep: Reputation: Disabled
Linux Kernel Programming Project - How to implement a IO/disk scheduling algorithm?


Hello All,

I am new to this forum and newbie to Linux as well. I want to implement an IO/disk scheduling algorithm (e.g. FCFS, SSTF, SCAN etc) for Linux kernel. I have my own algorithm approach which I want to implement for Linux. I have installed VMware and Fedora on my machine. But I have no idea where to start implementing the algorithm now. I don't even know how to compile the Linux kernel code in fedora. This is all what I know about Linux right now.

So my questions are:
1 - How to compile Linux kernel code in fedora?
2 - How shall I implement disk scheduling algorithm and what will be involved from start to finish implementing the disk algorithm for Linux Kernel?
3 - What are the complexities involved to implement it?
4 - Also share any good reading and video material for it?

I'll be very grateful to you for any help.

Thanks in advance,
momersaleem
Software Engineer
 
Old 03-26-2014, 06:14 AM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,856
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
First, spend a few thousands hours with examining the kernel source.

PS: Mayhaps Minix would be a better choice to experiment with: it is smaller/simpler; it is documented by the author, it was written for education purposes.
 
Old 03-26-2014, 06:36 AM   #3
momersaleem
LQ Newbie
 
Registered: Mar 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello NevenTeve,

Thanks for your reply.

I can't spend thousands for hour on understanding kernel code because I have not much time. I am searching on internet but I unable to find specific material. So please kindly provide me basic understanding and material otherwise I'll be wasting my time by reading irrelevant material.

Thanks,
momersaleem
Software Engineer
 
Old 03-26-2014, 08:00 AM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,649
Blog Entries: 4

Rep: Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934Reputation: 3934
"Google It." Seriously. You'll find things like the Linux Documentation Project if you simply make the slightest effort, and you will also find the actual source-code to the existing I/O schedulers within Linux, once again if you make the slightest effort to visit sites like this one.

LQ isn't a training school for offshore contractors.

Last edited by sundialsvcs; 03-26-2014 at 08:03 AM.
 
Old 03-26-2014, 09:30 AM   #5
momersaleem
LQ Newbie
 
Registered: Mar 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
OK. Thanks for your suggestions.
 
Old 04-04-2014, 01:38 PM   #6
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
You wouldn't get this from any other guy.
 
  


Reply



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
how i will find that which scheduling algorithm is there in my linux installed saidulhaq Linux - Newbie 1 04-02-2012 07:49 PM
Change Linux scheduling algorithm sandeshgv Linux - Kernel 1 11-16-2010 12:28 PM
linux kernel scheduling algorithm gsatish.linux Linux - Newbie 1 09-08-2010 04:02 PM
linux scheduling algorithm? Ranti Linux - General 1 06-08-2009 04:56 AM
Scheduling Algorithm in linux Arshina Linux - Software 1 02-27-2007 07:12 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration