DSpace About DSpace Software
 

Makerere University Research Repository >
Faculty of Computing and Information Technology >
Theses & Dissertations (CIT) >

Please use this identifier to cite or link to this item: http://hdl.handle.net/123456789/527

Title: Fortifying the operating system CPU scheduler
Authors: Lakuma, Joel
Keywords: CPU Scheduler
Operating system
Central Processing Unit
Issue Date: 18-Nov-2009
Abstract: Central processing unit (CPU) scheduling is the mechanism by which operating systems allocate the CPU resources to processes. Scheduling is required for multiprogramming. The scheduler performs context-switching to change process states and hence share the CPU. This is an expensive necessity since processing time is lost in the intermmediate period between the execution of two processes. In current scheduler designs, rogue code can exploit this feature and reduce on CPU usage and scheduler efficiency, or even cripple computing. This study carried out on the Linux 2.6.11 scheduler, had the aim of improving on the existing scheduler to enable it to withstand such rogue code and set a minimum level of efficiency. Building on the existing Linux 2.6.11 CPU scheduler, the study developed a scheduler algorithm with inherent protection against excessive context switching, implemented a prototype scheduler from this algorithm, and carried out benchmark tests on the prototype. In this study a mechanism was used to monitor the rate of task preemption and tie this measured value to the condition used to test whether the next preemption would be permitted. The performance of the protype was comparable to that of the Linux 2.6.11 scheduler. The superforker code was used to verify the stability of the resulting design. Unlike the Linux 2.6.11 scheduler, the protype scheduler withstood attacks due to to this rogue code.
Description: A Project Report submitted in partial fulfillment of the requirements for the award of the Degree of Master of Science in Computer Science of Makerere University
URI: http://hdl.handle.net/123456789/527
Appears in Collections:Theses & Dissertations (CIT)

Files in This Item:

File Description SizeFormat
lakuma-joel-cit-masters-report.pdf373KbAdobe PDFView/Open

All items in DSpace are protected by copyright, with all rights reserved.

 

Valid XHTML 1.0! DSpace Software Copyright © 2002-2005 MIT and Hewlett-Packard - Feedback