1 / 18

quFiles: a unifying abstraction for mobile data management

quFiles: a unifying abstraction for mobile data management. Kaushik Veeraraghavan* Ed Nightingale † Jason Flinn* Brian Noble* * University of Michigan † Microsoft Research (Redmond). Mobility is problematic. Bandwidth & Latency. Platform diversity. Battery lifetime. Trust.

mdrakes
Télécharger la présentation

quFiles: a unifying abstraction for mobile data management

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  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 Kaushik Veeraraghavan, HotMobile '08 2

  3. Energy-aware adaptation Odyssey Plumber (redaction) Why are they really the same? • Observation: monolithic re-implementations of same idea • Idea: select representation of data based on context Kaushik Veeraraghavan, HotMobile '08

  4. 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 … quFiles: a unifying abstraction Kaushik Veeraraghavan, HotMobile '08 4

  5. Example: Format replication Kaushik Veeraraghavan, HotMobile '08 5

  6. quFiles provide context-aware views quFile resolves to application-specific representation Kaushik Veeraraghavan, HotMobile '08 6

  7. Outline Motivation Design & Implementation Applications Open questions Conclusion Kaushik Veeraraghavan, HotMobile '08 7

  8. Goals Transparency File system encapsulates concrete details Backwards compatibility No application modification Simplicity No extensive file system changes Extensibility Application-specific policy Kaushik Veeraraghavan, HotMobile '08 8

  9. BlueFS Server Background: BlueFS • Blue File System [OSDI ’04] • Distributed file system • Supports mobile clients including CEDs Kaushik Veeraraghavan, HotMobile '08

  10. Transparency Transcoder creates and populates quFile Transformations (delete, move etc.) Applied to both the original file and its transcodings Photo Transcoder Kaushik Veeraraghavan, HotMobile '08 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 Kaushik Veeraraghavan, HotMobile '08 11

  12. 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 Extensibility Kaushik Veeraraghavan, HotMobile '08 12

  13. Trade storage space for power Cache larger, power-efficient WAV with mp3 11% battery lifetime gain on an iPAQ Application: Resource management mp3 WAV WAV Kaushik Veeraraghavan, HotMobile '08 13

  14. Resource-Aware Directories Dynamic directory listing Only list files that are viewable given current constraints NULL Kaushik Veeraraghavan, HotMobile '08 14

  15. Odyssey Different clients; connected at different bitrates Each view different version of video Gimme my PhD! NULL Kaushik Veeraraghavan, HotMobile '08 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? Kaushik Veeraraghavan, HotMobile '08 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 Kaushik Veeraraghavan, HotMobile '08 17

  18. 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? Conclusion Kaushik Veeraraghavan, HotMobile '08 18

More Related