Linux Kernel Programming Project - How to implement a IO/disk scheduling algorithm?
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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.
"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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.