Rump File Systems: Kernel Code Reborn
#1

Abstract
When kernel functionality is desired in userspace, thecommon approach is to reimplement it for userspace interfaces.We show that use of existing kernel file systemsin userspace programs is possible without modifyingthe kernel file system code base. Two different operatingmodes are explored: 1) a transparent mode, inwhich the file system is mounted in the typical fashionby using the kernel code as a userspace server, and 2) astandalone mode, in which applications can use a kernelfile system as a library. The first mode provides isolationfrom the trusted computing base and a secure wayfor mounting untrusted file systems on a monolithic kernel.The second mode is useful for file system utilitiesand applications, such as populating an image or viewingthe contents without requiring host operating systemkernel support. Additional uses for both modes includedebugging, development and testing.The design and implementation of the RunnableUserspace Meta Program file system (rump fs) frameworkfor NetBSD is presented. Using rump, ten diskbasedfile systems, a memory file system, a network filesystem and a userspace framework file system have beentested to be functional. File system performance for anestimated typical workload is found to be ±5% of kernelperformance. The prototype of a similar frameworkfor Linux was also implemented and portability was verified:Linux file systems work on NetBSD and NetBSDfile systems work on Linux. Finally, the implementationis shown to be maintainable by examining the 1.5 yearperiod it has been a part of NetBSD.
1 Introduction
Motivation. “Userspace or kernel?” A typical caseof driver development starts with this exact question.The tradeoffs are classically well-understood: speed, efficiencyand stability for the kernel or ease of programmingand a more casual development style for userspace.The question stems from the different programming environmentsoffered by the two choices. Even if codewritten for the kernel is designed to be run in userspacefor testing, it is most likely implemented with #ifdef,crippled and does not support all features of kernelmode.Typical operating system kernels offer multitudes oftested and working code with reuse potential. A goodillustration is file system code, which in the case of mostoperating systems also comes with a virtual file systemabstraction [18] making access file system independent.By making kernel file systems function in userspace,existing code can be utilized for free in applications. Weaccomplished this by creating a shim layer to emulateenough of the kernel to make it possible to page link and runthe kernel file system code. Additionally, we have createdsupplementary components necessary to integratethe file system code with a running system, i.e. mount itas a userspace file server. Our scheme requires no modificationsto existing kernel file system code.We define a Runnable Userspace Meta Programfile system (rump fs) to be kernel file system code usedin a userspace application or as a userspace file server.
Results. NetBSD [20] is a free 4.4BSD derived OS runningon over 50 platforms and used in the industry especiallyin embedded systems and servers. A real worldusable implementation of rump file systems, included inNetBSD since August 2007, has been written.The following NetBSD kernel file systems are usableand mountable in userspace without source modifications:cd9660, EFS, Ext2fs, FFS, HFS+, LFS,MSDOSFS, NFS (client1), NTFS, puffs, SysVBFS,tmpfs, and UDF. All are supported from the same codebasewithout file system specific custom code.Additionally, a quick prototype of a similar systemfor the Linux kernel was implemented. Under it, therelatively simple jffs2 [31] journaling file system fromthe Linux kernel is mountable as a userspace server onNetBSD.


Download full report
http://usenixevent/usenix09/tech/full_papers/kantee/kantee.pdf
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: userspace, hollers kernel system, debian compiling kernel, rump file systems kernel code reborn, pdf file of 4g wireless systems, kernel ktrace, wdg4 fvs efs,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Service-Oriented Architecture for Weaponry and Battle Command and Control Systems in 1 1,064 15-02-2017, 03:40 PM
Last Post: jaseela123d
  A Conceptual Overview of Service-Oriented Software Systems Development 1 838 14-02-2017, 03:38 PM
Last Post: jaseela123d
  Crime File management project topics 11 15,722 11-04-2014, 04:23 PM
Last Post: babs01
  alert based monitoring of stock trading systems project topics 4 3,499 09-02-2014, 12:58 PM
Last Post: Guest
  E -Crime File Management System seminar class 8 13,449 24-06-2013, 10:02 AM
Last Post: computer topic
Wink Cross platform IDE for UNIX based C systems. computer science crazy 2 2,238 20-06-2013, 10:35 AM
Last Post: computer topic
  crime file system project topics 9 12,399 29-04-2013, 11:39 AM
Last Post: computer topic
  File tracking system mechanical engineering crazy 24 12,980 13-03-2013, 03:28 PM
Last Post: computer idea
  Secure Multipart File Transfer projectsofme 4 3,758 07-03-2013, 05:16 PM
Last Post: Guest
  HUMAN RESOURCE INFORMATION SYSTEMS electronics seminars 1 2,156 29-11-2012, 01:51 PM
Last Post: seminar details

Forum Jump: