quFiles: a unifying abstraction for mobile data management - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

quFiles: a unifying abstraction for mobile data management

Description:

Microsoft Research (Redmond) Kaushik Veeraraghavan, HotMobile '08. 2. 2. Mobility is problematic ... Observation: monolithic re-implementations of same idea ... – PowerPoint PPT presentation

Number of Views:39
Avg rating:3.0/5.0
Slides: 19
Provided by: Kaus6
Category:

less

Transcript and Presenter's Notes

Title: quFiles: a unifying abstraction for mobile data management


1
quFiles a unifying abstraction for mobile data
management
  • Kaushik Veeraraghavan
  • Ed Nightingale
  • Jason Flinn
  • Brian Noble
  • University of Michigan
  • Microsoft Research (Redmond)

2
Mobility is problematic
Bandwidth Latency
Platform diversity
Battery lifetime
Trust
Each solution implemented in isolation
2
3
Why are they really the same?
  • Observation monolithic re-implementations of
    same idea
  • Idea select representation of data based on
    context

4
quFiles a unifying abstraction
  • Multiplexes different views of a single logical
    object
  • Implemented as a new file system object
  • Encapsulates messy details of logical object
  • Context-aware mechanism to select the best view
  • Representation selected by a file system
    extension
  • Context battery status, connectivity, screen
    size

4
5
Example Format replication
5
6
quFiles provide context-aware views
quFile resolves to application-specific
representation
6
7
Outline
  • Motivation
  • Design Implementation
  • Applications
  • Open questions
  • Conclusion

7
8
Goals
  • Transparency
  • File system encapsulates concrete details
  • Backwards compatibility
  • No application modification
  • Simplicity
  • No extensive file system changes
  • Extensibility
  • Application-specific policy

8
9
Background BlueFS
  • Blue File System OSDI 04
  • Distributed file system
  • Supports mobile clients including CEDs

10
Transparency
Photo Transcoder
  • Transcoder creates and populates quFile
  • Transformations (delete, move etc.)
  • Applied to both the original file and its
    transcodings

10
11
Simplicity
  • quFiles are just special directories
  • Distinguished via FS mode or name
  • Contain names and references to file system
    objects
  • Re-use existing directory code
  • BlueFS kernel 444 LOC
  • File system modifications
  • Readdir Lookup
  • Policy determines object name, version
  • Modify lookup to check dirent within quFile

11
12
Extensibility
  • quFile includes a link to resolution policy
  • Policy runs in file system namespace
  • Sprockets USENIX 07
  • New form of software-fault-isolation
  • Safely execute dynamic plugins
  • Easy to write
  • 6 application policies
  • average 160 LOC

12
13
Application Resource management
  • Trade storage space for power
  • Cache larger, power-efficient WAV with mp3
  • 11 battery lifetime gain on an iPAQ

mp3
WAV
WAV
13
14
Resource-Aware Directories
NULL
  • Dynamic directory listing
  • Only list files that are viewable given current
    constraints

14
15
Odyssey
NULL
  • Different clients connected at different
    bitrates
  • Each view different version of video
  • Gimme my PhD!

15
16
Open Questions
  • What other applications can quFiles support?
  • Can we compose data management policies?
  • How should conflicts be resolved?
  • Should policies be assigned priorities?

16
17
More open questions
  • What if users want to edit lower-fidelity files?
  • Default deny edits
  • Exceptions
  • Lossless
  • Metadata (e.g. id3)
  • Permitted if application provides policy

17
18
Conclusion
  • quFiles
  • A unifying abstraction
  • Multiplexes different views onto single logical
    object
  • Context-aware mechanism to select the best view
  • Easy to incorporate in file system
  • Easy to add new policies
  • Questions?

18
Write a Comment
User Comments (0)
About PowerShow.com