Professional Documents
Culture Documents
Cloud Resource Management and Scheduling
Cloud Resource Management and Scheduling
Cloud Resource Management and Scheduling
● The strategies for resource management for IaaS, PaaS, and SaaS are different.
● Dynamic voltage and frequency scaling (DVFS) is a power management technique to modify
operating voltage or frequency of a processor to reduce the amount of heat generated and to
conserve power.
Cloud Resource Management (CRM) Policies
1. Admission control 🡪 prevent the system from accepting workload in violation of high-
level system policies.
● Control theory 🡪 uses the feedback to guarantee system stability and predict transient behavior.
○ The inputs 🡪 the offered workload and the policies for admission control, the capacity allocation, the load balancing,
the energy optimization, and the QoS guarantees in the cloud.
○ The control system components 🡪 sensors used to estimate relevant measures of performance and controllers which
implement various policies.
Control theory is one of such techniques that provides a systematic method to design feedback controllers to implement cloud
elasticity.
Such feedback controllers are designed to be stable in order to avoid oscillation and settle quickly to the steady state by
appropriately responding to disturbances.
The structure of a cloud controller
The controller uses the feedback regarding the current state and the estimation of the future disturbance
due to environment to compute the optimal inputs over a finite horizon. r and s are the weighting
factors of the performance index.
Two-level Cloud Controller
Details of Two-level Cloud Controller
● Centralized control: The global level of the ● Redundancy and fault tolerance: Redundancy ensures that
architecture provides centralized control and critical resources are available from multiple sources, reducing
coordination of resource allocation decisions. the risk of failures or bottlenecks.
● By having a central authority overseeing resource
allocation, conflicts and inefficiencies can be ● Fault tolerance mechanisms can detect and handle failures or
minimized. disruptions in the resource allocation process, ensuring continuity
and stability.
12
Outcome from the two-level experiment
● The actions of the control system should be carried out in a rhythm that does not lead to
instability.
● Adjustments should only be carried out after the performance of the system has stabilized.
● If upper and a lower thresholds are set (minima and maxima), then instability occurs when
they are too close to one another.
● If the variations of the workload are large enough and the time required to adapt does not
allow the system to stabilize.
● The actions consist of allocation/deallocation of one or more virtual machines. Sometimes
allocation/dealocation of a single VM required by one of the threshold may cause crossing
of the other, another source of instability.
Deriving Cost function for controller
● where x(k + 1), the system state at time k + 1, is a function of x(k), the state at
time k, and of u(k) the control frequency, the input at time k.
● it is subjected to Lagrange multiplier method of finding the extremes (minima or
maxima) which is lower and upper thresholds for controller.
● The processor can operate at frequencies u(k) in range u(k) ∈ [Umin, Umax ]
defines 2-point boundary which is forward and backward in time. 14
Scheduling continued
● ˆc(k) : The time to process a request at time k when the processor operates at the
highest frequency Umax. and Ts is the sampling period, defined as the time
difference between two consecutive observations.
15
Function regarding the size of the queue:
The problem is to control optimal control u*,such that the trajectory of the system subject to optimal
control is q∗, and the cost J.
A detailed analysis of the methods to solve this problem and the analysis of the stability conditions
is
16
beyond the scope of our discussion
Control theory application to CRM
● Regulate the key operating parameters of the system based on measurement of the system
output.
● The feedback control assumes a linear time-invariant system model, and a closed-loop
controller.
● The system transfer function satisfies stability and sensitivity constraints.
● A threshold 🡪 the value of a parameter related to the state of a system that triggers a change
in the system behavior.
● Thresholds 🡪 used to keep critical parameters of a system in a predefined range.
● Two types of policies:
1. threshold-based 🡪 upper and lower bounds on performance trigger adaptation through resource
reallocation; such policies are simple and intuitive but require setting per-application thresholds.
2. sequential decision 🡪 based on Markovian decision models.
Design decisions