Research Article

Modeling and Analysis of Queueing-Based Vary-On/Vary-Off Schemes for Server Clusters

Algorithm 1

Simulation process.
while   is not empty do
 Retrieve the in the head of and remove it from
if    then
  
  
else if    then
  while    do
   perform statistic of the activated server nodes
   perform cluster sizing
   do on-off control
   
   
  end while
end if
 find an activated server node with the earliest available time
 calculate the waiting time of this
 calculate the service time of this
 calculate the response time of this
 calculate the consumed energy of the server node
end while