mobile applications

Mobile Applications Alberto Garca Estvez University of Alcala - PowerPoint PPT Presentation

Geo-location-aware Emulations for Performance Evaluation of Mobile Applications Alberto Garca Estvez University of Alcala Niklas Carlsson Linkping University @ WONS 2014 , Obergurgl, Austria, April 2014 Customized service Access to


  1. Geo-location-aware Emulations for Performance Evaluation of Mobile Applications Alberto García Estévez University of Alcala Niklas Carlsson Linköping University @ WONS 2014 , Obergurgl, Austria, April 2014

  2. Customized service • Access to Internet everywhere • Wireless connectivity • Increasingly mobile users • Smart phones and tablets • Connected (close to) all the time • Powerful customized applications • Location-aware app • Customized services based on location 2

  3. Evaluation methodology • New emerging location-based services and applications for mobile users • Many alternative implementations • Need fair evaluation methodology 3

  4. Evaluation methodology • New emerging location-based services and applications for mobile users • Many alternative implementations • Need fair evaluation methodology 4

  5. Evaluation methodology • New emerging location-based services and applications for mobile users • Many alternative implementations • Need fair evaluation methodology 5

  6. Evaluation methodology • Fair head-to- head comparisons … …. under realistic scenarios • Repeatable experiments • Quick and low price • New emerging location-based services and applications for mobile users • Many alternative implementations • Need fair evaluation methodology 6

  7. Evaluation Methodology Approach Comment Choice Field tests Modeling Simulations Emulation 7

  8. Evaluation Methodology Approach Comment Choice Field tests Expensive and does not allow repeatable experiments Modeling Simulations Emulation 8

  9. Evaluation Methodology Approach Comment Choice Field tests Expensive and does not allow repeatable experiments Modeling Difficult to ensure that abstraction matches Simulations reality Emulation 9

  10. Evaluation Methodology Approach Comment Choice Field tests Expensive and does not allow repeatable experiments Modeling Difficult to ensure that abstraction matches Simulations reality Emulation Relatively cheap, real hardware, but we still need methodology for repeatable location- based evaluation … 10

  11. Evaluation Methodology Approach Comment Choice Field tests Expensive and does not allow repeatable experiments Modeling Difficult to ensure that abstraction matches Simulations reality Emulation Relatively cheap, real hardware, but we still need methodology for repeatable location- based evaluation … … develop simple methodology that allow … Repeatable experiments: Allow head-to-head comparison • Quick and low price: Can be done in-house • Realistic scenarios: Use of real mobility patterns and network conditions • 11

  12. Example application • Location-aware download scheduler based on notification service • Google Cloud Messaging (GCM) • Mobile app • HTC wildfire with Android • Wi-Fi and location service (GPS and network) • Application server • PHP + MySql • Notifications, network conditions 12

  13. Example application Registration Notifications 13

  14. Example application Registration Notifications 14

  15. Example application The server sends a notification to GCM 1. GCM notifies the mobile that an update is available 2. The mobile requests the update 3. The server sends the update 4. 15

  16. Example application The server sends a notification to GCM 1. GCM notifies the mobile that an update is available 2. The mobile requests the update [** geoSmart Scheduler** ] 3. The server sends the update 4. 16

  17. GeoSmart Scheduler -- Design and Proof-of-concept Implementation Performance Network Map + Smart Scheduler 17

  18. GeoSmart Scheduler -- Design and Proof-of-concept Implementation Performance Network Map + Smart Scheduler 18

  19. Performance Network Map Throughput-location pairs • HTTP throughput prediction 1. Passively measure throughput when data is downloaded 2. Update prediction using EWMA • UTM location: 1. Obtain location in latitude/longitude when data is downloaded 2. Convert location to UTM coordinates 19

  20. GeoSmart Scheduler -- Design and Proof-of-concept Implementation Performance Network Map + Smart Scheduler 20

  21. GeoSmart Scheduler Basic implementation  FIFO Notifications queue using  Threshold based on average path throughput 21

  22. Evaluation and results TRACE-BASED EMULATION EVALUATION 22

  23. Trace-driven emulation  Client location and bandwidth conditions  Traces obtained from dataset of real measurements  E.g., commuter traces: bus, ferry, car, train, etc.  (i) Timestamp, (ii) Latitude/longitude, and (iii) bandwidth  Location mocking using Android API features  Create test location service  Network conditions emulated with Dummynet  Server-driven workload  Traces collected using Twitter API  E.g., rate of 3 to 12 notifications per minute  (i) time stamp and (ii) unique ID 23

  24. Trace-driven emulation  Client location and bandwidth conditions  Traces obtained from dataset of real measurements  E.g., commuter traces: bus, ferry, car, train, etc.  (i) Timestamp, (ii) Latitude/longitude, and (iii) Bandwidth  Location mocking using Android API features  Create test location service  Network conditions emulated with Dummynet  Server-driven workload  Traces collected using Twitter API  E.g., rate of 3 to 12 notifications per minute  (i) time stamp and (ii) unique ID 24

  25. Bandwidth, location, and and workload traces Bus scenario H. Riiser, P. Vigmostad, C. Griwodz, and P. Halvorsen, “Commute path bandwidth traces from 3g networks: Analysis and applications,” in Proc. ACM MMSys, Feb/Mar. 2013. 25

  26. Bandwidth, location, and and workload traces Bus scenario (a) Bus (b) Ferry (c) Metro (d) Tram 26

  27. Bandwidth, location, and and workload traces Bus scenario Notification traces … 1 2 3 4 5 6 78 9 #topicX Time #topicY 27

  28. Naive download speeds Bus scenario Ferry scenario Sample file size 100KB 28

  29. GeoSmart Scheduler Results - Example measure: Average download time - Three (3) alternative approaches (or grid sizes) - Four (4) alternative file sizes Bus scenario Ferry scenario 29

  30. GeoSmart Scheduler Results - Example measure: Average download time - Three (3) alternative approaches (or grid sizes) - Four (4) alternative file sizes Bus scenario Ferry scenario 30

  31. GeoSmart Scheduler Results - Example measure: Average download time - Three (3) alternative approaches (or grid sizes) - Four (4) alternative file sizes Bus scenario Ferry scenario 31

  32. GeoSmart Scheduler Results - Relatively small improvements (e.g, 10-20%) Bus scenario Ferry scenario 32

  33. GeoSmart Scheduler Results - Relatively small improvements - Better improvements in scenarios with significant location differences in network performance Bus scenario Ferry scenario 33

  34. Conclusions • Our emulation framework provides fair-head-to-head protocol/service comparisons • Real hardware and realistic mobile scenarios • Repeatable experiments • Relatively low cost • Regards to our proof-of-concept implementation • GeoSmart scheduler perform better in scenarios with significant location differences in network performance • Limited accuracy of EWMA estimator for HTTP throughput • Choose correct resolution is important • Future work will consider • Higher order stochastic models for estimation, adaptive map resolution (e.g., based on speed of user) with richer information (e.g., based on network data technology) 34

  35. Conclusions • Our emulation framework provides fair-head-to-head protocol/service comparisons • Real hardware and realistic mobile scenarios • Repeatable experiments • Relatively low cost • Regards to our proof-of-concept implementation • GeoSmart scheduler perform better in scenarios with significant location differences in network performance • Limited accuracy of EWMA estimator for HTTP throughput • Choose correct resolution is important • Future work will consider • Higher order stochastic models for estimation, adaptive map resolution (e.g., based on speed of user) with richer information (e.g., based on network data technology) 35

  36. Conclusions • Our emulation framework provides fair-head-to-head protocol/service comparisons • Real hardware and realistic mobile scenarios • Repeatable experiments • Relatively low cost • Regards to our proof-of-concept implementation • GeoSmart scheduler perform better in scenarios with significant location differences in network performance • Limited accuracy of EWMA estimator for HTTP throughput • Choose correct resolution is important • Future work will consider • Higher order stochastic models for estimation, adaptive map resolution (e.g., based on speed of user) with richer information (e.g., based on network data technology) 36

  37. Geo-location-aware Emulations for Performance Evaluation of Mobile Applications Alberto García Estévez (UA) Niklas Carlsson (LiU) Software: www.ida.liu.se/~nikca/papers/wons14.html www.liu.se

Recommend


More recommend