Lifs an Attribute-Rich File System for Storage-Class Memories

Lifs an Attribute-Rich File System for Storage-Class Memories

LiFS An Attribute-Rich File System for Storage-Class Memories Sasha Ames, Nikhil Bobb, Kevin M. Greenan, Owen S. Hofmann, Mark W. Storer, Carlos Maltzahn, Ethan L. Miller, Scott A. Brandt SSRC, UC Santa Cruz Problem • Explosion in number & variety of files • Directories insufficient mechanism • Applications forced to manage own metadata A long time ago ... Few files and simple conventions AApppplliiccaattiioonn Few Files ... Today • Few files and simple conventions AApppplliiccaattiioonn • Many files require complex management MMeettaaddaattaa MMggmmtt Many Files Metadata Management • Few files and simple conventions AApppplliiccaattiioonn • Many files require complex management Search Attributes Relationships Many Files So what? AApppplliiccaattiioonn AApppplliiccaattiioonn Search Search Attributeess Attributes User Relationships Relationships System Files FFiillee Files SSyysstteemm Difficult to share m:n APIs AApppplliiccaattiioonn AApppplliiccaattiioonn Search Search Attributeess Attributes User Relationships Relationships System Files FFiillee Files Repository SSyysstteemm Repository So what? • No standards Application Application Search Search • Not portable Attributes Attributes User Relationships Relationships • Difficult to share System Files Files File System • Repository Repository Inefficient • Duplicate effort Metadata Application? m:n APIs AApppplliiccaattiioonn AApppplliiccaattiioonn n Search o Search ti a Attributes ic f ti Relationships User o n System FFiillee SSyysstteemm LiFS - Linking File System User AApppplliiccaattiioonn AApppplliiccaattiioonn System FFiillee SSyysstteemm Search Attributes Relationships What follows ... • Design • Implementation • Evaluation • Related Work • Conclusions, Future Work Design Assumption DRAM Disk NVRAM Data Metadata high latency low latency high bandwidth medium bandwidth LiFS Design Features • Files: extended LiFS: Linking File System attributes • Directed links between files • Links: attributes Naming in LiFS • Directed links between files • Links: attributes name: bar user: lisa “name” paths: foo/bar name: foo foo/zoo name: zoo user: peter New System Calls SSyysstteemm CCaallll FFuunnccttiioonn rellink create relational link rmlink remove relational link setlinkattr set attr on relational link return handle of openlinkset a source file’s link set get link name and attrs readlinkset of next link in a link-set In-Memory Data Structures Link Set Attribute Set String Table - no duplicates - fast equality test - fast existence test Implementation • FUSE: maps VFS calls back to user space LiFS • NVRAM: Locked system memory in DRAM • Custom NVRAM allocator with fixed-sized pools • Lookup optimizations: • String table • Full path name cache Evaluation •Goals: Setup: •Traditional FS Ops: speed •Sun Workstation running Linux & scalability compared to 2.6.9-ac11 other file systems •AMD Opteron 150, 2.4 GHz •New fs ops: scalability •1 GB DRAM •FUSE overhead Traditional FS Ops Files • Directory Tree: ) k=5, d=5, n=4, s c 15,620 files e s ( • Freshly created file n o i systems t a r u • LiFS is competitive D Traditional FS Ops File Attributes ) s c e s ( n ) o s i t c a e r s u ( D n o i t a r u D # of Attrs Traditional FS Ops Create/Remove Dirs • Directory tree: ) s k=10, d=6, n=1, c e 111,110 dirs s ( n o i • t LiFS performs a r better than ext2 u D with FUSE & RAM-disk New FS Ops Create/Delete Rel. Links • Directory Tree: k=5, d=5, n=4, 15,620 files ) s c e s • ( Duration of n o processing 15,620 i t a random links r u D • More attributes slow down identifying link Related Work • Queryable File Systems • In-Memory File Systems • Advanced Commercial File Systems • The Semantic Web • Digital Preservation Queryable File Systems • Attributes allow expressive queries • Use secondary storage only • No linking mechanism with attributes In-Memory File Systems • Lack advanced file system features • Lots of research to overcome challenges of persistent memory • Database research on utilizing persistent memory Advanced Commercial File Systems • Microsoft’s WinFS, Apple’s Spotlight, Beagle (Linux with Inotify), Sun’s ZFS • No attributed links • No metadata management in NVRAM The Semantic Web • Links & Attributes same expressiveness • LiFS as file system or storage layer Digital Preservation • Obsolescence by broken data relationships • Large efforts on institutional level • Need to also extent to file systems • LiFS provides infrastructure Future Work • More efficient data structures (Workloads?) • Fault tolerant data structures • Online file system consistency checker • Extend to distributed storage • Explore use of rich metadata structures without NVRAM Conclusions • Contributions: • Rich file system metadata via links & attributes • Common high-performance metadata store for applications • Advantages: performance, simplicity, expressiveness Thanks to: • Faculty and students of the SSRC • NSF grant 0306650 • SSRC sponsors: Hewlett Packard Laboratories, Hitachi Global Storage Technologies, IBM Research, Intel, Microsoft Research, Network Appliance, Rocksoft, Symantec, and Yahoo. Thank You! UCSC Storage Systems Research Center http://ssrc.cse.ucsc.edu [email protected].

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    35 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us