Skip to main navigation Skip to search Skip to main content

Cosy: Develop in user-land, run in kernel-mode

  • Amit Purohit
  • , Charles P. Wright
  • , Joseph Spadavecchia
  • , Erez Zadok
  • Stony Brook University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

14 Scopus citations

Abstract

User applications that move a lot of data across the user-kernel boundary suffer from a serious performance penalty. We provide a framework, Compound System Calls (Cosy), to enhance the performance of such user-level applications. Cosy provides a user-friendly mechanism to execute the data-intensive code segment of the application in the kernel. This is achieved by aggregating the data-intensive system calls and the intermediate code into a compound. This compound is executed in the kernel, avoiding redundant data copies. A Cosy version of GCC makes the formation of a Cosy compound simple. Cosy-GCC automatically converts user-defined code segments into compounds. To ensure the security of the kernel, we use a combination of static and dynamic checks. We limit the execution time of the application in the kernel by using a modified preemptible kernel. Kernel data integrity is assured by performing necessary dynamic checks. Static checks are enforced by Cosy-GCC. To study the performance benefits of our Cosy prototype, we instrumented applications such as grep and ls. These application showed an improvement of 20-80%. Our current work focuses on faster and secure execution of entire programs in the kernel without source code modification.

Original languageEnglish
Title of host publicationProceedings of HotOS 2003 - 9th Workshop on Hot Topics in Operating Systems
PublisherUSENIX Association
Pages109-114
Number of pages6
ISBN (Electronic)193197117X, 9781931971171
StatePublished - 2003
Event9th Workshop on Hot Topics in Operating Systems, HotOS 2003 - Lihue, United States
Duration: May 18 2003 → May 21 2003

Publication series

NameProceedings of HotOS 2003 - 9th Workshop on Hot Topics in Operating Systems

Conference

Conference9th Workshop on Hot Topics in Operating Systems, HotOS 2003
Country/TerritoryUnited States
CityLihue
Period05/18/03 → 05/21/03

Fingerprint

Dive into the research topics of 'Cosy: Develop in user-land, run in kernel-mode'. Together they form a unique fingerprint.

Cite this