In the term project you will play with the Linux scheduler. What you will
basically do is to implement a new scheduling strategy. Details of the project
is explained in chapter 9 of Gary Nutt's Book. (Book is called
Kernel
Projects for Linux) Detailed technical description of the project is
given in the book.
Here is the extra information about the project.
- You will need to implement a system call in your project. You can learn
more about adding system calls by reading the chapter 5 of the above mentioned
book.
- One of the aims of this project is to make you learn a good deal of
Linux scheduler internals. Grading will be not only be based on your project
but also on how well you understood the scheduler code. (An oral exam will
take place during your demos)
- There are lots of resources on internet that can guide you through
understanding linux scheduler. Here is one of them.
- You have 4 weekends to complete the project. Assuming you are not familiar
with such projects, I can assure you that you are on a tight schedule. In
this time frame you have to:
- Understand how original linux scheduler works, (will take most
of your time !)
- Understand what the problem description dictates
- Figure out and implement your solution to the problem. (This part
also involves adding a new system call to the system)
- Obtaining a properly functioning boot diskette that contains your
modified kernel
- Write a user space program for testing purposes.
- Write a report, that summarizes your results
- Gary Nutt's Book is a famous one. It's being used in many universities
as a Lab manual. We've used in previous semesters, too. You may come across
solutions of our project on Web or you may know someone who have already
done it. I strongly discourage you on any cheating attempts. All your submissions
will be checked by special software for detecting similarities. Also, during
oral exam you will be asked questions on the code you submitted. You will
be expected to be able to explain what you have done. Failure to do so will
result in us concluding that you've cheated. Cheating will make you get an
F as letter grade.
- Last but not least: You have to get a passing grade from this project
in order to pass the course.