Please use this identifier to cite or link to this item: https://www.um.edu.mt/library/oar/handle/123456789/95799
Title: An asynchronous interaction mechanism between the kernel and the user application
Authors: Sant, Ian (2003)
Keywords: Information technology
Computer programs -- Verification
Kernel functions
Issue Date: 2003
Citation: Sant, I. (2003). An asynchronous interaction mechanism between the kernel and the user application (Bachelor's dissertation).
Abstract: Concurrent environments are a common occurrence in today's operating systems. Such environments make extensive use of resources through calls into the kernel. These mechanisms are not light weight, as they invoke switching between the user and kernel domains. To reduce expensive kernel thread management with the advantages of concurrency, an application developer can make use of user-level thread scheduler libraries. Such libraries are not able to deal with blocking system calls, as these calls would block the user-level scheduler. In addition to keep integrity of shared data structures in concurrent environments, protection mechanisms such as spin-locks are needed when multiple kernel threads are used. The extended spinning problem can be induced. In this dissertation we present a light weight asynchronous communication mechanism, made up of a shared memory region between the kernel and the user applications. We present a mechanism that deals with blocking system calls in user-level thread scheduler libraries. This mechanism relays information about blocked kernel threads to the user-level. We also implement an alternative solution to the blocking problem, know as wrappers. We analyse performance by comparing the above nonblocking methods with other methods developed in other literature. We show that our system outperforms other systems while maintaining user transparency. Using the asynchronous communication tool we also deal with the extended spinning problem, by extending information to the kernel about locks used in the kernel process. Our solution has been thoroughly tested and has been found to be effective.
Description: B.Sc. IT (Hons)(Melit.)
URI: https://www.um.edu.mt/library/oar/handle/123456789/95799
Appears in Collections:Dissertations - FacICT - 1999-2009
Dissertations - FacICTCS - 1999-2007

Files in This Item:
File Description SizeFormat 
BSC(HONS)IT_Sant_Ian_2003.pdf
  Restricted Access
4.12 MBAdobe PDFView/Open Request a copy


Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.