3. Problem Description
Grid data-center scheduling problem
Optimal solution
economic revenue
power saving
QoS
Set of elements
machines
processors
jobs
6. ILP
Job allocation in data-grid
• Power consumption based on used CPUs
• CPUs in each host
• Min CPUs required by each job
• Max CPUs required by each job
7. ILP
Objective Function
Benefit of
Max: Execution
QoS Penalty
Power
Consumption
Migration
Cost
8. ILP
S.T:
Processor switched on/off in order: keep consistency
Relaxation: job scheduled or not scheduled
Available CPUs in each host not exceed
Output:
Max. Benefit
Placement of each job in the infrastracture
CPU assignment for each job
CPUs used in each host
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29. Data Generation
Generate an array of numHosts components:
cpus[]: CPUs in each host, each with 1, 2, 4 or 8 CPUs
(random).
Generate two arrays of numJobs components:
consMin[]: minimum CPU required, between 1 and
10 (random).
consMax[]: maximum CPU required, randomly
between consMin[j] + 1 to 2 extra CPUs (random).
30. CPU : Intel i7 @ 2.8 GHz
OS: Windows 7
RAM: 8 GB
CPLEX: IBM ILOG CPLEX Optimization Studio 12.4
Heuristic: Java in JRE 1.6.0_24-b07
44. Problem Size vs Methodology vs Benefit
700
CPLEX
600
500 Heuristic Non-
Random Initial
400 Selection (NR)
Benefit
Heuristic Random
300 Initial Selection(R) -
10000 Iter
200 Heuristic Random
Initial Selection(R) -
100 100000 Iter
0
Problem Size
45. Conclusions
Datacenter job scheduling and management can
be optimized using ILPs.
Complex ILP restrictions can be translated into
easy heuristic code.
CPLEX does not scale well.
Heuristics can cope with higher problem sizes.
46. Conclusions
Lower alpha values achieve better results. Alpha
of 0 is the best when using random node
selection.
Random node selection obtains the best results.
More iterations achieve better benefits.
47. Reference
J. L. Berral García, R. Gavaldà Mestre, J. Torres
Viñals, and others, “An integer linear
programming representation for data-center
power-aware management,” 2011.
http://upcommons.upc.edu/handle/2117/11061
48. ILP model and Heuristic
Authors: Josep Subirats
Arinto Murdopo
Ioanna Tsalouchidou