Research Article

Energy-Efficient Cloudlet Management for Privacy Preservation in Wireless Metropolitan Area Networks

Algorithm 1

Destination cloudlet identification DCI.
Input: The acquired number of idle VMs
VM occupation record
Output: The selected running cloudlets
Get the running cloudlets lists from
Sort the PM in cloudlets in the decreasing order of idle VMs,
   = 1, H = 0, = 1
while   = 1  do
Get the number of idle VMs, i.e.,
if   can hosts the VMs && H < d  then
Add to
  
else  if  n == == d  then
= 0
(12) end if
(13)end if
(14) end while
(15) Return