Power and Latency Impacts of Outsourcing Decisions in Mobile Image Processing
Oslo 27.04.2012
Outsourcing Decisions in Mobile Image Processing Oslo 27.04.2012 - - PowerPoint PPT Presentation
Power and Latency Impacts of Outsourcing Decisions in Mobile Image Processing Oslo 27.04.2012 Outline 5/2/2012 Team members Introduction Application description Test Environment Measurements and results Analysis of the
Oslo 27.04.2012
Team members Introduction Application description Test Environment Measurements and results Analysis of the results Outsourcing decision making algorithm Future work Conclusion
5/2/2012
2
5/2/2012
3
Niklas Dürr and Nicolas Oliver
Stamer
School of Business Informatics and Mathematics
University of Mannheim
A5, 6
68159 Mannheim, Germany
Email: nduerr@mail.uni- mannheim.de
Email: nistamer@mail.uni- mannheim.de
Ali Zaher and Ali Ahmad
Department of Informatics
Oslo University
P.o.Box 1080, Blindern
NO-0316 Oslo, Norway
Tel: +47 228 45581
Email: alizah@ifi.uio.no
Email: aliaah@ifi.uio.no
5/2/2012
4
Early days of mobile phones: Voice and then sms. Current days: Data Traffic (Video, images, emails,…) data traffic has taken over voice traffic on mobile
5/2/2012
5
The world most selling phone, Nokia 1100. 2 weeks standby time. 2012 mobile phones with Quad core at 1.5 GHz, battery 1800 mAh,
connectivity: Wi-Fi: IEEE 802.11 a/b/g/n, HSDPA 21 Mbps
2003 mobile phones with CPU ARM-9 104 MHz, battery 850 mAh,
connectivity: GSM 24 - 36 kbps
The world most selling phone, Nokia 1100, 2 weeks standby time. 2012 mobile phones with Quad core at 1.5 GHz, battery 1800 mAh,
connectivity: Wi-Fi: IEEE 802.11 a/b/g/n, HSDPA 21 Mbps
2003 mobile phones with CPU ARM-9 104 MHz, battery 850 mAh,
connectivity: GSM 24 - 36 kbps
How do mobile phone batteries follow related
5/2/2012
6
What about sourcing out the power hungry apps to
More power efficient?? Faster execution??? “Make or buy” decision from economics Image processing algorithm, why? April 23: Facebook offers 23 million shares and
5/2/2012
7
5/2/2012
8
Mobile device:
"HTC Desire S"
CPU frequency: 1,0 GHz
RAM: 768 MB
Server:
2,4 GHz Unix-based server
RAM:4 GB.
5/2/2012
9
The remote execution is implemented with Java
Open source image manipulating algorithms of JH
A relatively big image with 600x300 pixels and 57
5/2/2012
10
5/2/2012
11
5/2/2012
12
5/2/2012
13
5/2/2012
14
5/2/2012
15
5/2/2012
16
5/2/2012
17
Signal Strength is a factor in 3G. Other factors: current bandwidth available, number of
Log for every execution:
The image size in bytes The image algorithm name. Executing locally or on the server. Execution time Signal strength Connection type (whether 3G or WiFi) Transmission time
Update the log file gradually to keep it simple. For similar Signal Strength entries, apply:
5/2/2012
18
5/2/2012
19
Signal Strength Transmission time Image size
transmissions
11.5 600000 1
28.222 705821 1
12 304581 1
18.0003 242456 1
13.222 705821 1
12 304581 1
18.0003 242456 1
11.5 600000 1
28.222 705821 1
12 304581 1
18.0003 242456 1
28.222 705821 1
12 304581 1
18.0003 242456 1
22.5 1000000 10
12.5 600000 5 Signal Strength Transmission time Image size
transmissions
20.583 1000000 6
58.826 1000000 2
39.985 1000000 2
39.398 1000000 1
74.242 1000000 2
74.242 1000000 1
39.398 1000000 1
39.398 1000000 1
39.398 1000000 1
21.967 1000000 12
Logged by the phone Processed log
1) Extract the needed information as log in before. 2) If the algorithm is not complex, then execute locally and log as
described before.
3) In case the algorithm is somehow complicated, we check for the
expected transmission time at the current signal strength and compare it to the recorded execution time locally. If it is smaller, then we execute on the server and wait for the server result to log.
4) In case the expected transmission time is greater than the local
execution time, then execute locally and log as described before.
5) In case the algorithm is complicated, then we check if the phone is in
power saving mode. If it is not, then we execute on the server and wait for the server result to log.
6) If the phone is in power saving mode, and the expected transmission
time at the current signal strength is smaller than local execution time, the user can decide to quit the operation or to outsource the
5/2/2012
20
5/2/2012
21
1) Apply the outsourcing decision making
2) Check for 4G 3) Go for bigger image sizes 4) Add more complicated image filters 5) Look at video algorithms
5/2/2012
22
5/2/2012
23
[1] Commons, John Rogers. 1931. "Institutional Economics", American Economic Review,
[2] Williamson, Oliver E. 1981. "The Economics of Organization: The Transaction Cost Approach", The American Journal of Sociology, 87(3), pp. 548-577
[3] Byung-Gon Chun, Sunghwan Ihm, Petros Maniatis, Mayur Naik, and Ashwin Patti.
the sixth conference on Computer systems (EuroSys ’11). ACM, New York, NY, USA, 301- 314.
[4] R. Rana, C.T. Chou, S. Kanhere, N. Bulusu and W. Hu, "Ear-Phone: An End-to-End Participatory Urban Noise Mapping System", in Proceedings of IPSN’10, April 2010.
[5] Ahmed A. Abukmail and Abdelsalam (sumi) Helal. 2007. Energy Management for Mobile Devices through Computation Outsourcing within Pervasive Smart paces.Submitted to the IEEE Transactions on Mobile Computing
[6] Mei, C., et al., Dynamic Outsourcing Mobile Computation to the Cloud. 2011, Department of Computer Science and Engineering, University of Minnesota: Twin Cities.
[7] R. Kemp, N. Palmer, T. Kielmann, and H. Bal. Cuckoo: a Computation Of floading Framework for Smartphones. In MobiCASE ’10: Proceedings of The Second International Conference on Mobile Computing, Applications, and Services, 2010.
[8] Android Interface Definition Language, http://developer.android.com/guide/developing/tools/aidl.html
5/2/2012
24
[9] Bernd Girod and Vijay Chandrasekhar Stanford University, Radek Grzeszczuk Nokia Research Center and Yuriy A. Reznik Qualcomm 2011, Mobile Visual Search: Architectures, Technologies, and the Emerging MPEG Standard
[10] Nister, D.; Stewenius, H.; , "Scalable Recognition with a Vocabulary Tree," Computer Vision and Pattern Recognition, 2006 IEEE Computer Society Conference
[11] http://www.jhlabs.com/ip/filters/index.html
[12] http://instagr.am/
[13] http://powertutor.org/
5/2/2012
25
5/2/2012
26
5/2/2012
27