computing while charging
play

Computing While Charging Building a Distributed Computing - PowerPoint PPT Presentation

Computing While Charging Building a Distributed Computing Infrastructure Using Smartphones Mustafa Y. Arslan - Indrajeet Singh - Shailendra Singh Harsha V. Madhyastha - Karthikeyan Sundaresan - Srikanth V. Krishnamurthy Thursday, December


  1. Computing While Charging Building a Distributed Computing Infrastructure Using Smartphones Mustafa Y. Arslan - Indrajeet Singh - Shailendra Singh Harsha V. Madhyastha - Karthikeyan Sundaresan - Srikanth V. Krishnamurthy Thursday, December 13, 12

  2. Smartphones and Computing • Smartphones with higher CPU clock speeds, more CPU cores, and so on. • real computers in our pockets • Enterprises are also adopting smartphones. • Problem: The real computing power of smartphones is yet to be tapped into. • battery drains quickly -- long idle charging times (e.g., at night) Thursday, December 13, 12

  3. Idle Phones Put Back to Work • Utilize idle charging periods for executing distributed jobs on phones, for an enterprise. • 100s-1000s of smartphones, working in parallel Thursday, December 13, 12

  4. Idle Phones Put Back to Work • Utilize idle charging periods for executing distributed jobs on phones, for an enterprise. • 100s-1000s of smartphones, working in parallel • Why would I bother? I have a datacenter full of PCs. Thursday, December 13, 12

  5. Idle Phones Put Back to Work • Utilize idle charging periods for executing distributed jobs on phones, for an enterprise. • 100s-1000s of smartphones, working in parallel • Why would I bother? I have a datacenter full of PCs. • untapped horsepower -- phones will run the same code as your servers Thursday, December 13, 12

  6. Idle Phones Put Back to Work • Utilize idle charging periods for executing distributed jobs on phones, for an enterprise. • 100s-1000s of smartphones, working in parallel • Why would I bother? I have a datacenter full of PCs. • untapped horsepower -- phones will run the same code as your servers • no cost to bootstrap (phones are already in hand) Thursday, December 13, 12

  7. Idle Phones Put Back to Work • Utilize idle charging periods for executing distributed jobs on phones, for an enterprise. • 100s-1000s of smartphones, working in parallel • Why would I bother? I have a datacenter full of PCs. • untapped horsepower -- phones will run the same code as your servers • no cost to bootstrap (phones are already in hand) • a phone consumes ~5% of the energy of a PC. Thursday, December 13, 12

  8. Idle Phones Put Back to Work • Utilize idle charging periods for executing distributed jobs on phones, for an enterprise. • 100s-1000s of smartphones, working in parallel • Why would I bother? I have a datacenter full of PCs. • untapped horsepower -- phones will run the same code as your servers • no cost to bootstrap (phones are already in hand) • a phone consumes ~5% of the energy of a PC. • no wiring, switching or cooling needed. Thursday, December 13, 12

  9. Idle Phones Put Back to Work • Utilize idle charging periods for executing distributed jobs on phones, for an enterprise. • 100s-1000s of smartphones, working in parallel • Why would I bother? I have a datacenter full of PCs. • untapped horsepower -- phones will run the same code as your servers • no cost to bootstrap (phones are already in hand) • a phone consumes ~5% of the energy of a PC. • no wiring, switching or cooling needed. • Case to consider smartphones as a supplement for existing computational systems. Thursday, December 13, 12

  10. The Desired System input job job job binary binary binary central server Thursday, December 13, 12

  11. The Desired System job binary input job binary central job server binary Thursday, December 13, 12

  12. The Desired System job binary job binary central job server binary Thursday, December 13, 12

  13. The Desired System job binary X unplugged job binary central job server binary Thursday, December 13, 12

  14. The Desired System job binary X unplugged central job server binary Thursday, December 13, 12

  15. The Desired System R E S U central server L T Thursday, December 13, 12

  16. The Desired System R E S U L T central server Thursday, December 13, 12

  17. Our Contribution Thursday, December 13, 12

  18. Our Contribution • Design & implement CWC . Thursday, December 13, 12

  19. Our Contribution • Design & implement CWC . • What is not novel: utilizing idle CPUs (e.g., Condor: A Hunter of Idle Workstations [Litzkow, Livny, Mutka] ). Thursday, December 13, 12

  20. Our Contribution • Design & implement CWC . • What is not novel: utilizing idle CPUs (e.g., Condor: A Hunter of Idle Workstations [Litzkow, Livny, Mutka] ). • What is novel: algorithm to optimally distribute computation across smartphones with non-uniform bandwidths Thursday, December 13, 12

  21. Our Contribution • Design & implement CWC . • What is not novel: utilizing idle CPUs (e.g., Condor: A Hunter of Idle Workstations [Litzkow, Livny, Mutka] ). • What is novel: algorithm to optimally distribute computation across smartphones with non-uniform bandwidths • Non-uniform wireless bandwidth calls for novel schedulers (such as CWC ). Thursday, December 13, 12

  22. Our Contribution • Design & implement CWC . • What is not novel: utilizing idle CPUs (e.g., Condor: A Hunter of Idle Workstations [Litzkow, Livny, Mutka] ). • What is novel: algorithm to optimally distribute computation across smartphones with non-uniform bandwidths • Non-uniform wireless bandwidth calls for novel schedulers (such as CWC ). • Unique challenges not previously addressed. Default Charging Curve Charge with CPU-intensive Jobs 100 Battery % 0 0 10 20 30 40 Time (Minutes) Thursday, December 13, 12

  23. Effect of Bandwidth on Scheduling Phones have Queue of Files identical CPUs but server varying bandwidths • Files to be processed by the phones (queue a file until next phone becomes available). • The server logs the service time (queueing + transfer + processing) of each file. Thursday, December 13, 12

  24. Effect of Bandwidth on Scheduling Phones have Queue of Files identical CPUs but server varying bandwidths • Files to be processed by the phones (queue a file until next phone becomes available). • The server logs the service time (queueing + transfer + processing) of each file. Thursday, December 13, 12

  25. Effect of Bandwidth on Scheduling Phones have Queue of Files identical CPUs but server varying bandwidths • Files to be processed by the phones (queue a file until next phone becomes available). • The server logs the service time (queueing + transfer + processing) of each file. Thursday, December 13, 12

  26. Effect of Bandwidth on Scheduling Phones have Queue of Files identical CPUs but server varying bandwidths • Two phones with the lowest bandwidths are removed and the experiment is repeated. Thursday, December 13, 12

  27. Too Much Parallelism Hurts 1 CDF 0.5 4 Phones 6 Phones 0 0 1000 2000 3000 Service Time (ms) Thursday, December 13, 12

  28. Too Much Parallelism Hurts 1 CDF 0.5 4 Phones 6 Phones 0 0 1000 2000 3000 Service Time (ms) • Using only phones with high bandwidth can compensate for reduced number of worker phones. • it is not a straight-forward choice to leverage the full parallelism! Thursday, December 13, 12

  29. Problem Statement • Given a set of jobs and their input files, how do we partition and distribute these files across a set of smartphones, to minimize the makespan? File Transfer Time (depends on bandwidth and the input partition size) Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) Time Thursday, December 13, 12

  30. Problem Statement • Given a set of jobs and their input files, how do we partition and distribute these files across a set of smartphones, to minimize the makespan? File Transfer Time (depends on bandwidth and the input partition size) Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) Time Thursday, December 13, 12

  31. Problem Statement • Given a set of jobs and their input files, how do we partition and distribute these files across a set of smartphones, to minimize the makespan? File Transfer Time (depends on bandwidth and the input partition size) Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) Time Thursday, December 13, 12

  32. Problem Statement • Given a set of jobs and their input files, how do we partition and distribute these files across a set of smartphones, to minimize the makespan? File Transfer Time (depends on bandwidth and the input partition size) Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) Time Thursday, December 13, 12

  33. Problem Statement • Given a set of jobs and their input files, how do we partition and distribute these files across a set of smartphones, to minimize the makespan? File Transfer Time (depends on bandwidth and the input partition size) Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) Time Makespan Thursday, December 13, 12

  34. Predicting Execution Times Thursday, December 13, 12

  35. Predicting Execution Times • bandwidth to each phone periodically measured. but cannot measure the local execution time for every job- phone pair. Thursday, December 13, 12

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend