Presentation is loading. Please wait.

Presentation is loading. Please wait.

Leveraging Smart Phones to Reduce Mobility Footprints Stephen Smaldone †, Benjamin Gilbert ‡, Nilton Bila *, Liviu Iftode †, Eyal de Lara *, and Mahadev.

Similar presentations


Presentation on theme: "Leveraging Smart Phones to Reduce Mobility Footprints Stephen Smaldone †, Benjamin Gilbert ‡, Nilton Bila *, Liviu Iftode †, Eyal de Lara *, and Mahadev."— Presentation transcript:

1 Leveraging Smart Phones to Reduce Mobility Footprints Stephen Smaldone †, Benjamin Gilbert ‡, Nilton Bila *, Liviu Iftode †, Eyal de Lara *, and Mahadev Satyanarayanan ‡ † Rutgers University, ‡ Carnegie Mellon University, * University of Toronto

2 June 23, 2009MobiSys 20092 Traditional Mobile Computing Carry-Everything (on your laptop) Primary advantage – Have all personal data, files, applications, preferences, etc., instantaneously/immediately available Primary disadvantage – Too “heavy”

3 June 23, 2009MobiSys 20093 Carry-Nothing: Internet Suspend/Resume ® (ISR) Use stateless VM-enabled client stations and suspend/resume state from a server over the Internet ISR Parcel = VM State (memory image, disk, etc.) Primary advantage – Carry nothing Primary disadvantage – Depends on connectivity ISR Client Station #1ISR Client Station #2 Suspend Resume ISR Parcel ISR Server

4 June 23, 2009MobiSys 20094 Existing ISR Optimizations On-demand disk fetching Look-aside caching / Content-addressable storage Certain problems still persist –Does not work in the absence of Internet connectivity –Suspend and Resume latencies can be intolerable to users

5 June 23, 2009MobiSys 20095 The Opportunity: Smartphone Device that people already carry Provides ample storage Provides multiple modes of connectivity Light-weight (very small mobility footprint)

6 June 23, 2009MobiSys 20096 Horatio: Mobile Self-Cleaning Cache Fast SuspendLazy Self-CleaningMultiple Resume Options 3G / WiFi Time ISR Client Station #1 ISR Client Station #2 ISR Server

7 June 23, 2009MobiSys 20097 Our Contributions 1.Mobile self-cleaning cache (Horatio) 2.Design and prototype implementation on smartphones 3.Evaluation that demonstrates usability benefits 4.Suggestions to improve current smartphones for better mobile self-cleaning cache performance

8 June 23, 2009MobiSys 20098Outline Introduction Horatio Design and Implementation Evaluation and Results Related Work Conclusions and Future Work

9 June 23, 2009MobiSys 20099 Horatio Design Goals 1.Reduce Latency –Fast suspends and resumes 2.Preserve ISR Reliability –Clean state as soon as possible 3.Conserve Battery and Storage –Store and transfer as little as possible Key Design Principle: Separation of Control and Data

10 June 23, 2009MobiSys 200910 Control/Data Separation Ownership Nonce – 10 bytes Keyring – 5.5 MB Configuration File – 500 bytes Ownership Nonce – 10 bytes Keyring – 5.5 MB Configuration File – 500 bytes ISR Parcel Disk Image – 4 GB Memory Image – 200 MB Disk Image – 4 GB Memory Image – 200 MB Parcel ControlParcel Data Small Defines parcel ownership Trusted (used to validate data) As large as necessary Can be (partially) replicated Encrypted Possibly untrusted

11 June 23, 2009MobiSys 200911 Control/Data Separation: How it Works Fast+Lazy SuspendsEfficient Self-CleaningEfficient Resume Parcel Data Parcel Control Time ISR Server

12 June 23, 2009MobiSys 200912 Control/Data Separation: Benefits Saves Horatio’s battery –At suspend: state transferred to Horatio (acts as receiver) –During self-cleaning: control state transferred from Horatio (acts as transmitter) –At resume: data state can be transferred from server Client can transfer state to server without impacting suspend time –Client station can transfer data state to server after user leaves (lazy suspend) –Trust is not an issue, Horatio will validate later (using control state)

13 June 23, 2009MobiSys 200913 Additional Horatio Optimizations Memory image differencing –Transfer only dirty memory state as diffs during suspends and resumes –Require basis memory image to be cached at resume site Eager state transfer during client session –Transfer dirty state in the background –May result in transferring more data than necessary due to overwrites

14 June 23, 2009MobiSys 200914Outline Introduction Horatio Design and Implementation Evaluation and Results Related Work Conclusions and Future Work

15 June 23, 2009MobiSys 200915 Evaluation Goals 1.How much does Horatio improve user experience? 2.How effective is self-cleaning in reducing the vulnerability of a Horatio device? 3.What is the impact of Horatio on a user’s smartphone battery? 4.How effective is eager state transfer in reducing suspend latency?

16 June 23, 2009MobiSys 200916 Evaluation Setup ISR Parcel –512 MB Memory Image and 4 GB Disk Image ISR Client –2.33 GHz Core 2 Duo CPU, 3 GB RAM, 250 GB SATA Disk, USB 2.0, Linux 2.6 ISR Server –Dual 2.8 GHz Xeon CPUs, 1 GB RAM, 32 GB SCSI Disk, Linux 2.6 Horatio Devices –Nokia N95, Openmoko Freerunner, and USB MicroSD Card

17 June 23, 2009MobiSys 200917 Improvement in User Experience Dirty State Size (MB) Horatio Device110100500 ISR-1 (No Horatio)24253582 N95-WiFi0.71.2521 OM-WiFi0.60.8417 N95-USB0.50.7210 SD-USB0.4 0.72 Microbenchmark Suspend Results * Values are time measured in minutes

18 June 23, 2009MobiSys 200918 Improvement in User Experience Dirty State Size (MB) Horatio Device0110100500 ISR-1 (No Horatio)5---- N95-WiFi-77916 OM-WiFi-55612 N95-USB-4459 SD-USB-0.6 0.9 Microbenchmark Resume Results * Values are time measured in minutes

19 June 23, 2009MobiSys 200919 Realistic Workloads (Macrobenchmarks) Workload NameExecution Time (min) Dirty State (MB) MemoryDisk Email6163 Word10413 Photo13254 Shop123114 Podcast7120109 Video40264368

20 June 23, 2009MobiSys 200920 Improvement in User Experience Macrobenchmark Results

21 June 23, 2009MobiSys 200921 Self-Cleaning Time Dirty State Size (MB) Horatio Device110100 N95-WiFi0.6 minutes2 minutes15 minutes OM-WiFi0.2 minutes1 minute13 minutes N95-3G3 minutes8 minutes1 hour Workload (Dirty State Size) N95-WiFiN95-3G Email (20 MB) 4 minutes12 minutes Word (44 MB) 16 minutes1 hour Photo (29 MB) 14 minutes1 hour Shop (44 MB) 18 minutes1 hour Podcast (230 MB) 37 minutes2 hours Video (632 MB) 2 hours7 hours

22 June 23, 2009MobiSys 200922 Horatio Battery Consumption Dirty State Size (MB) OperationHoratio Device110100500 SuspendN95-WiFi0.2%0.4%3%11% SuspendN95-USB0.1%0.2%0.9%4% ResumeN95-WiFi3%4%5%9% ResumeN95-USB0.6% 0.7%1% Self-CleanN95-WiFi0.2%0.6%6%- Self-CleanN95-3G1%4%28%- * Values are percentage of battery depleted

23 June 23, 2009MobiSys 200923 Eager State Propagation WorkloadLazy State (MB) Suspend State (MB) Eager State (MB) Email203130 Word442221 Photo282199 Shop4429486

24 June 23, 2009MobiSys 200924 Related Work Remote ( low physical vulnerability) Storage Site Local (h igh network resilience) Local (crisp interaction) Remote (high compute power) Execution Site Classic PC model Laptops SoulPad, MojoPac Remote Execution Cyber Foraging ISR model Thin client model Snowbird Transient Thin Client Horatio

25 June 23, 2009MobiSys 200925 Conclusions and Future Work Reliable and Efficient Carry-Nothing Mobile Computing –Use the smartphone as a self-cleaning mobile cache to improve ISR Experimental Results Demonstrate: –Suspend and resume latencies reduced up to 98% Future Work –Prediction of resume location for state prefetching –Horatio user interface –Deployment

26 Thank You!

27 June 23, 2009MobiSys 200927 Impact on Mobility Footprint Dirty State Size (MB) OperationHoratio Device110100500 SuspendN95-WiFi28714001789 SuspendN95-USB1231147609 ResumeN95-WiFi5076137561456 ResumeN95-USB9697120227 Self-CleanN95-WiFi36103916- Self-CleanN95-3G1815654553- * Values are energy measured in Joules

28 June 23, 2009MobiSys 200928 Workload State Generation

29 June 23, 2009MobiSys 200929 Update Locality


Download ppt "Leveraging Smart Phones to Reduce Mobility Footprints Stephen Smaldone †, Benjamin Gilbert ‡, Nilton Bila *, Liviu Iftode †, Eyal de Lara *, and Mahadev."

Similar presentations


Ads by Google