Research Article

SRAF: A Service-Aware Resource Allocation Framework for VM Management in Mobile Data Networks

Algorithm 4

Horizontal-scaling algorithm.
(1)Begin
(2)if and has enough CPU resource then
(3) Scales up the CPU resource of ;
(4)end if
(5)if and has enough bandwidth resource then
(6) Scales up the bandwidth resource of ;
(7)end if
(8)if is idle for a long period then
(9) Executes the resource scale down;
(10)end if
(11)End