Skip to main navigation Skip to search Skip to main content

Rapid file system development using ptrace

  • Richard P. Spillane
  • , Charles P. Wright
  • , Gopalan Sivathanu
  • , Erez Zadok
  • Stony Brook University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

15 Scopus citations

Abstract

Developing kernel-level file systems is a difficult task that requires a significant time investment. For experimental file systems, it is desirable to develop a prototype before investing the time required to develop a kernel-level file system. We have built a ptrace monitoring infrastructure for file system development. Because our system runs entirely in user-space, debugging is made easier and it is possible to leverage existing tested user-level libraries. Because our monitor intercepts all OS entry points (system calls and signals) it is able to provide more functionality than other prototyping techniques, which are limited by the VFS interface (FUSE) or network protocols (user-level NFS servers). We have developed several example file systems using our framework, including a pass-through layered file system, a layered encryption file system, and a user-level ISO9660 file system. We analyzed the complexity of our code using cyclomatic complexity and other metrics. We show savings for a pass-through file system of 53% compared to existing user-level pass-through file systems and a factor of 4.7 reduction for an in-kernel pass-through file system. Our performance evaluation demonstrates that our infrastructure has an acceptable overhead of 18.4% for a pass-through file system.

Original languageEnglish
Title of host publicationProceedings of the 2007 Workshop on Experimental Computer Science
DOIs
StatePublished - 2007
Event2007 Workshop on Experimental Computer Science - San Diego, CA, United States
Duration: Jun 25 2007Jun 26 2007

Publication series

NameProceedings of the 2007 Workshop on Experimental Computer Science

Conference

Conference2007 Workshop on Experimental Computer Science
Country/TerritoryUnited States
CitySan Diego, CA
Period06/25/0706/26/07

Keywords

  • Monitors
  • Rapid prototyping

Fingerprint

Dive into the research topics of 'Rapid file system development using ptrace'. Together they form a unique fingerprint.

Cite this