Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 1.86 KB

README.md

File metadata and controls

45 lines (33 loc) · 1.86 KB

C-LOOK IO Scheduler for Linux

This is my disk scheduler for Linux 3.6.6 that implements the C-LOOK algorithm.

This was one of my works written for my Operating Systems course.

How to Install

Note: This is a modification of version 3.6.6. Other versions are not guaranteed to work.

Prerequisites

  • A modern Linux-based OS like Ubuntu. These steps will be executed in this OS.
  • VirtualBox to run said OS.

Use the patch or patchless steps, either will work.

Patch

Prerequisites

Steps
  1. Download Linux 3.6.6.
  2. From the root folder, go to block and open Git Bash in this folder. In Git Bash, enter patch --help to make sure that the command is available.
  3. Move clook.patch to block.
  • clook.patch can be found in this repo - in upload.
  1. In Git Bash, apply clook.patch to noop-iosched.o
  • noop-iosched.o is already in the block folder.
  • patch -u noop-iosched.o -i clook.patch
  1. Move files Kconfig.iosched and Makefile from this repo's linux-3.6.6/block to 3.6.6's block, and overwrite files when prompted.
  2. In the root folder, run the makefile.

Patchless

Prerequisites

  • None.
Steps
  1. Download Linux 3.6.6.
  2. Find the root folder but do not enter it. It should be called linux-3.6.6.
  3. Move folder linux-3.6.6 from this repo to the same directory as the root folder, and overwrite files when prompted.
  4. In the root folder, run the makefile.

Permissions

Feel free to fork this for personal usage only.