Beruflich Dokumente
Kultur Dokumente
2
Introduction
3
Power Management
4
System Model
Server
farm
broker
Job
Server
farm
users
Incoming jobs
OPM is a part of a batch
scheduler in a server farm Batch scheduler
Server in
Server in sleep mode
active mode
5
Challenges
• Uncertainty
– Job arrival is random; users generate job randomly
– Job size and thus processing time is random
Incoming jobs
Batch scheduler
Server in
Server in sleep mode
active mode
6
Challenges
• Questions to Be Answer
– When and how many servers to be switched between active and
sleep modes ?
– Which server farm should be chosen for a user ?
Incoming jobs
Batch scheduler
Server in
Server in sleep mode
active mode
7
Power and Workload Management
8
Optimization Formulation of OPM
• State Space
– (X,S): Composite state of server farm
– X: Number of jobs in queue
– S: Number of servers in active mode
• Decision Epoch
– Time slot
• Action
– Us: Number of servers to be switched between active and sleep modes
9
Time Slots and Actions
Action: +1
Action: 0 Action: 0 Switch one server
Do nothing Do nothing to active mode
Action: -2 Action: +1
Switch two servers Switch one server Action: …
to sleep mode to active mode
Time slot Time slot Time slot Time slot Time slot
t-2 t-1 t t+1 t+2
Time
Five servers Three servers Four servers
are active Three servers are active Three servers are active,
are active, are active, one server is
two servers are one server is switching to
switching to switching to active mode
sleep mode active mode
10
Formulation of OPM Minimize power consumption
Loss requirement
Bellman’s equation
11
Job Broker
• The system with multiple server farms and multiple users are
considered
• A job broker assigns the user to the appropriate server farm such
that the power consumption cost and network cost of a system is
minimized
12
Formulation of Assignment Problem for Job Broker
13
Performance Evaluation
14
Performance of Individual Server Farm
1
Action
1
2 0
15
10 5
5
0 10
Number of servers in active mode
Number of jobs in queue
15
Performance of Individual Server Farm
2100
Average power consumption (watts)
W max =150
1800
1700
1600
6 7 8 9 10 11 12 13 14 15
Total number of servers (S)
16
Performance of Individual Server Farm
1400
Bmax =0.001
Bmax =0.01
Power consumption (watts)
1350
Bmax =0.02
Bmax =0.03
1300
1250
1200
150 200 250 300
Maximum waiting time (W max )
The minimum power consumption given different waiting time
and job blocking probability requirements
17
Performance Evaluation
18
Performance of Multiple Server Farms
User
Server farm 1
Server farm 2
Assignment of
user to server farm
19
Summary
20
Thank you
Contact Us
dniyato@ntu.edu.sg, siva0020@ntu.edu.sg, ebslee@ntu.edu.sg
21