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
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
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
CPU cores, and so on.
smartphones is yet to be tapped into.
(e.g., at night)
Thursday, December 13, 12
Thursday, December 13, 12
Thursday, December 13, 12
as your servers
Thursday, December 13, 12
as your servers
Thursday, December 13, 12
as your servers
Thursday, December 13, 12
as your servers
Thursday, December 13, 12
as your servers
computational systems.
Thursday, December 13, 12
job binary job binary
job binary
input
central server
Thursday, December 13, 12
job binary job binary
job binary
input
central server
Thursday, December 13, 12
job binary job binary
job binary central server
Thursday, December 13, 12
job binary job binary
job binary central server
Thursday, December 13, 12
job binary
job binary central server
Thursday, December 13, 12
central server
R E S U L T
Thursday, December 13, 12
central server
R E S U L T
Thursday, December 13, 12
Thursday, December 13, 12
Thursday, December 13, 12
Hunter of Idle Workstations [Litzkow, Livny, Mutka]).
Thursday, December 13, 12
Hunter of Idle Workstations [Litzkow, Livny, Mutka]).
across smartphones with non-uniform bandwidths
Thursday, December 13, 12
Hunter of Idle Workstations [Litzkow, Livny, Mutka]).
across smartphones with non-uniform bandwidths
schedulers (such as CWC).
Thursday, December 13, 12
Hunter of Idle Workstations [Litzkow, Livny, Mutka]).
across smartphones with non-uniform bandwidths
schedulers (such as CWC).
100 10 20 30 40 Battery %
Time (Minutes)
Default Charging Curve Charge with CPU-intensive Jobs
Thursday, December 13, 12
until next phone becomes available).
transfer + processing) of each file.
server
Phones have identical CPUs but varying bandwidths
Queue of Files
Thursday, December 13, 12
until next phone becomes available).
transfer + processing) of each file.
server
Phones have identical CPUs but varying bandwidths
Queue of Files
Thursday, December 13, 12
until next phone becomes available).
transfer + processing) of each file.
server
Phones have identical CPUs but varying bandwidths
Queue of Files
Thursday, December 13, 12
removed and the experiment is repeated.
server
Phones have identical CPUs but varying bandwidths
Queue of Files
Thursday, December 13, 12
0.5 1 1000 2000 3000 CDF Service Time (ms)
4 Phones 6 Phones
Thursday, December 13, 12
0.5 1 1000 2000 3000 CDF Service Time (ms)
compensate for reduced number of worker phones.
full parallelism!
4 Phones 6 Phones
Thursday, December 13, 12
partition and distribute these files across a set of smartphones, to minimize the makespan?
Time
Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) File Transfer Time (depends on bandwidth and the input partition size)
Thursday, December 13, 12
partition and distribute these files across a set of smartphones, to minimize the makespan?
Time
Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) File Transfer Time (depends on bandwidth and the input partition size)
Thursday, December 13, 12
partition and distribute these files across a set of smartphones, to minimize the makespan?
Time
Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) File Transfer Time (depends on bandwidth and the input partition size)
Thursday, December 13, 12
partition and distribute these files across a set of smartphones, to minimize the makespan?
Time
Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) File Transfer Time (depends on bandwidth and the input partition size)
Thursday, December 13, 12
partition and distribute these files across a set of smartphones, to minimize the makespan?
Time
Local Execution Time (depends on CPU clock speed, the job itself & the input partition size) File Transfer Time (depends on bandwidth and the input partition size)
Makespan
Thursday, December 13, 12
Thursday, December 13, 12
cannot measure the local execution time for every job- phone pair.
Thursday, December 13, 12
cannot measure the local execution time for every job- phone pair.
e.g., with S MHz CPU
Thursday, December 13, 12
cannot measure the local execution time for every job- phone pair.
e.g., with S MHz CPU
with A MHz CPU should take Ts * S / A ms.
Thursday, December 13, 12
cannot measure the local execution time for every job- phone pair.
e.g., with S MHz CPU
with A MHz CPU should take Ts * S / A ms.
Thursday, December 13, 12
cannot measure the local execution time for every job- phone pair.
e.g., with S MHz CPU
with A MHz CPU should take Ts * S / A ms.
Thursday, December 13, 12
cannot measure the local execution time for every job- phone pair.
e.g., with S MHz CPU
with A MHz CPU should take Ts * S / A ms.
wrong estimates are corrected using execution reports sent to the central server.
Thursday, December 13, 12
item in U and a bin capacity C.
the sum of the item sizes in each Ui is <= C.
Thursday, December 13, 12
item in U and a bin capacity C.
the sum of the item sizes in each Ui is <= C.
Bin 1 Bin 2 Bin 3 C
Thursday, December 13, 12
item in U and a bin capacity C.
the sum of the item sizes in each Ui is <= C.
Bin 1 Bin 2 Bin 3 C
Thursday, December 13, 12
item in U and a bin capacity C.
the sum of the item sizes in each Ui is <= C.
Bin 1 Bin 2 Bin 3 C
Thursday, December 13, 12
Bin 1 Bin 2 Bin 3
Thursday, December 13, 12
Bin 1 Bin 2 Bin 3
Thursday, December 13, 12
Bin 1 Bin 2 Bin 3
Thursday, December 13, 12
Bin 1 Bin 2 Bin 3
Thursday, December 13, 12
Bin 1 Bin 2 Bin 3
Thursday, December 13, 12
Bin 1 Bin 2 Bin 3
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
C
Sorted List of Inputs
Thursday, December 13, 12
server, while minimizing C.
C
Sorted List of Inputs
Thursday, December 13, 12
Dalvik (a core subset of Java APIs are common)
classes and execute methods defined by them
Thursday, December 13, 12
Dalvik (a core subset of Java APIs are common)
classes and execute methods defined by them
.java .class .dex load exec Server (Traditional Java) Phone (Android)
Thursday, December 13, 12
Dalvik (a core subset of Java APIs are common)
classes and execute methods defined by them
smartphones!
.java .class .dex load exec Server (Traditional Java) Phone (Android)
Thursday, December 13, 12
Connectivity 802.11a / g, EDGE, 3G, 4G CPU Speed 806 MHz to 1.5 GHz Single and Dual Core
Thursday, December 13, 12
Shows a sub-set
Thursday, December 13, 12
(and for other phones not shown) Shows a sub-set
Thursday, December 13, 12
(and for other phones not shown)
(because they are “faster” than predicted). Shows a sub-set
Thursday, December 13, 12
running on one phone), %9 have 3 partitions and %3 have 4 partitions.
(and for other phones not shown)
(because they are “faster” than predicted). Shows a sub-set
Thursday, December 13, 12
running on one phone), %9 have 3 partitions and %3 have 4 partitions.
(and for other phones not shown)
(because they are “faster” than predicted). Shows a sub-set
phone) -- makespan is 1720 seconds.
fashion -- makespan is 1805 seconds.
Thursday, December 13, 12
Thursday, December 13, 12