ACM Home Page
Please provide us with feedback. Feedback
Rapid file system development using ptrace
Full text PdfPdf (193 KB)
Source Workshop On Experimental Computer Science archive
Proceedings of the 2007 workshop on Experimental computer science table of contents
San Diego, California
Article No. 22  
Year of Publication: 2007
ISBN:978-1-59593-751-3
Authors
Richard P. Spillane  Stony Brook University
Charles P. Wright  Stony Brook University
Gopalan Sivathanu  Stony Brook University
Erez Zadok  Stony Brook University
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 16,   Downloads (12 Months): 84,   Citation Count: 2
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/1281700.1281722
What is a DOI?

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.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
2
 
3
 
4
 
5
P. Giarrusso. Fwd: Re: {patch 1/4} UML Support -- Ptrace: adds the host SYSEMU support, for UML and general usage, July 2005. www.uwsg.iu.edu/hypermail/linux/kernel/0507.3/1992.html.
 
6
 
7
V. Gough. Encfs, November 2005. http://arg0.net/wiki/encfs.
 
8
A. Grünbacher. POSIX Access Control Lists on Linux. In Proceedings of the Annual USENIX Technical Conference, FREENIX Track, pages 259--272, San Antonio, TX, June 2003. USENIX Association.
 
9
M. Haardt and M. Coleman. ptrace(2). Linux Programmer's Manual, Section 2, November 1999.
 
10
M. A. Halcrow. eCryptfs: An Enterprise-class Encrypted Filesystem for Linux. In Proceedings of the 2005 Linux Symposium, pages 201--218, Ottawa, Canada, July 2005. Linux Symposium.
11
 
12
J. Katcher. PostMark: A New Filesystem Benchmark. Technical Report TR3022, Network Appliance, 1997. www.netapp.com/tech_library/3022.html.
 
13
 
14
T. Littlefair. An Investigation into the use of Software Code Metrics in the Industrial Software Development Environment. PhD thesis, Faculty of Communications, Health, and Science, Edith Cowan University, Mount Lawley Campus, June 2001.
 
15
16
 
17
D. Morozhnikov. FUSE ISO File System, January 2006. http://fuse.sourceforge.net/wiki/index.php/FuseIso.
 
18
H. V. Riedel and R. Bernstein. GNU Compact Disc Input and Control Library, www.gnu.org/software/libcdio/, October 2005.
19
 
20
Sleepycat Software, Inc. Berkeley DB Reference Guide, 4.3.27 edition, December 2004. http://www.oracle.com/technology/documentation/berkeley-db/db/api_c/frame.html.
 
21
 
22
M. Szeredi. Filesystem in Userspace. http://fuse.sourceforge.net, February 2005.
 
23
 
24
C. P. Wright, M. Martino, and E. Zadok. NCryptfs: A Secure and Convenient Cryptographic File System. In Proceedings of the Annual USENIX Technical Conference, pages 197--210, San Antonio, TX, June 2003. USENIX Association.
 
25
C. P. Wright, R. Spillane, G. Sivathanu, and E. Zadok. Extending ACID Semantics to the File System. Technical Report FSL-06-01, Computer Science Department, Stony Brook University, January 2006. www.fsl.cs.sunysb.edu/docs/amino-tr/amino.pdf.
26


Collaborative Colleagues:
Richard P. Spillane: colleagues
Charles P. Wright: colleagues
Gopalan Sivathanu: colleagues
Erez Zadok: colleagues