- Research Article
12
- 10.1016/j.eij.2020.10.002
Security-aware dynamic VM consolidation
- Nov 01, 2020
- Egyptian Informatics Journal
- Mohamed A Elshabka + 3 more +3
Security-aware dynamic VM consolidation
Abstract Scheduling virtual machines is a major research topic for cloud computing, because it directly influences the performance, the operation cost and the quality of services. A large cloud center is normally equipped with several hundred thousand physical machines. The mission of the scheduler is to select the best one to host a virtual machine. This is an NPhard global optimization problem with grand challenges for researchers. This work studies the Virtual Machine (VM) scheduling problem on the cloud. Our primary concern with VM scheduling is the energy consumption, because the largest part of a cloud center operation cost goes to the kilowatts used. We designed a scheduling algorithm that allocates an incoming virtual machine instance on the host machine, which results in the lowest energy consumption of the entire system. More specifically, we developed a new algorithm, called vision cognition, to solve the global optimization problem. This algorithm is inspired by the observation of how human eyes see directly the smallest/largest item without comparing them pairwisely. We theoretically proved that the algorithm works correctly and converges fast. Practically, we validated the novel algorithm, together with the scheduling concept, using a simulation approach. The adopted cloud simulator models different cloud infrastructures with various properties and detailed runtime information that can usually not be acquired from real clouds. The experimental results demonstrate the benefit of our approach in terms of reducing the cloud center energy consumption
Security-aware dynamic VM consolidation
Security-aware dynamic VM consolidation
A Multi-objective Virtual Machine Scheduling Algorithm in Fault Tolerance Aware Cloud Environments
In modern cloud datacenters, virtual machine (VM) scheduling is a complex problem, especially taking consideration of the factor of service reliability. Failures may occur on physical servers while they are running cloud users’ applications. To provide high-reliability service, cloud providers can adopt some fault tolerance techniques, which will influence performance criteria of VM scheduling, such as the actual execution time and users’ expenditure. However, only few studies consider fault tolerance and its influence. In this paper, we investigate fault tolerance aware VM scheduling problem and formulate it as a bi-objective optimization model with quality of service (QoS) constraints. The proposed model tries to minimize users’ total expenditure and, at the same time maximize the successful execution rate of their VM requests. The both objectives are important concerns for users to improve their satisfactions, which can offer them sufficient incentives to stay and play in the clouds and keep the cloud ecosystem sustainable. Based on a defined cost efficiency factor, a heuristic algorithm is then developed. Experimental results show that, indeed, fault tolerance significantly influences some performance criteria of VM scheduling and the developed algorithm can decrease users’ expenditure, improve successful execution rate of their VM requests and thus perform better under fault tolerance aware cloud environments. KeywordsVM schedulingCloud computingFault toleranceQoSUsers’ expenditure
Read moreFast and Scalable VMM Live Upgrade in Large Cloud Infrastructure
High availability is the most important and challenging problem for cloud providers. However, virtual machine monitor (VMM), a crucial component of the cloud infrastructure, has to be frequently updated and restarted to add security patches and new features, undermining high availability. There are two existing live update methods to improve the cloud availability: kernel live patching and Virtual Machine (VM) live migration. However, they both have serious drawbacks that impair their usefulness in the large cloud infrastructure: kernel live patching cannot handle complex changes (e.g., changes to persistent data structures); and VM live migration may incur unacceptably long delays when migrating millions of VMs in the whole cloud, for example, to deploy urgent security patches. In this paper, we propose a new method, VMM live upgrade, that can promptly upgrade the whole VMM (KVM & QEMU) without interrupting customer VMs. Timely upgrade of the VMM is essential to the cloud because it is both the main attack surface of malicious VMs and the component to integrate new features. We have built a VMM live upgrade system called Orthus. Orthus features three key techniques: dual KVM, VM grafting, and device handover. Together, they enable the cloud provider to load an upgraded KVM instance while the original one is running and cut-and-paste'' the VM to this new instance. In addition, Orthus can seamlessly hand over passthrough devices to the new KVM instance without losing any ongoing (DMA) operations. Our evaluation shows that Orthus can reduce the total migration time and downtime by more than $99%$ and $90%$, respectively. We have deployed Orthus in one of the largest cloud infrastructures for a long time. It has become the most effective and indispensable tool in our daily maintenance of hundreds of thousands of servers and millions of VMs.
Read moreQuality of service aware cloud resource provisioning for social multimedia services and applications
The increasing number of next-generation multimedia services and social media applications in cloud computing put additional challenges in efficient resource provisioning that targets to minimize under or over utilization of resources as well as to increase user satisfaction. Most of the works in the literature focused either on resource estimation and scheduling approaches or energy consumption for executing social media data processing applications. However, they do not consider energy consumption cost for communication devices and network appliances and schedule Virtual Machines (VMs) based on centralized job placement approach. In this paper, we develop a Quality of Service (QoS) aware cloud resource management system that decreases energy consumption and increases resource utilization by diverse multimedia social applications. In order to minimize the VM creation time we allow recycling of VM resources for user request with similar resource requirements. We have developed two distributed and localized resource management algorithms based on energy conservation, and requirements and availability of resources. The results of simulation experiments depict that the resource scheduling system greatly reduces the amount of energy consumption while maintaining the QoS of social multimedia applications.
Read moreAn Energy-Efficient VM Selection Using Updated Dragonfly Algorithm in Cloud Computing
Cloud computing is popular among industries, academia, and government to supply reliable and scalable computational power. High-speed networks in cloud data centers connect Virtual machines with Physical Machines. Virtualization assists the cloud service providers to manage resources effectively but unoptimized and inefficient services degrade the performance of the system. The scheduling architecture of cloud computing includes Physical Machines (PMs), Virtual Machines (VMs) and the allocation and migration policy of the VMs over the PMs. The overutilized PMs get few migrations and this paper introduces novel behavior of VM selection from overutilized PMs using Swarm intelligence. The evaluation of the proposed algorithm architecture is compared with another state-of-the-art optimization algorithm from the same series. The evaluation has been done on the base of Quality of Service (QoS) parameters, such as Service Level Agreement (SLA) violation, and energy consumption against various load variation scenarios to support elasticity. The proposed algorithm has outperformed other techniques by considerable margin in terms of QoS, and the details are presented in the results section. The simulation results demonstrate that the proposed technique exhibits 6.3% and 6.7% enhancement in terms of reduced energy consumption compared to both Cuckoo Search (CS) and general Dragonfly (DF) techniques, and 3% decrease in SLA violations in comparison to current methods. Additionally, the results reveal an 11% enhancement in VM migration compared to existing approaches.
Read moreComprehensive Heuristic Resource Scheduling Method Based on Virtualized Clusters
The quality of the scheduling method for virtualization clusters directly affects the performance of the entire cluster. Improper scheduling can even eliminate the advantages of virtualization clusters and reduce the performance of the entire system. Aiming at the problems of low resource utilization and poor performance caused by improper resource scheduling in cluster mode, a comprehensive heuristic resource scheduling method based on virtualization cluster - Resource Type Priority List Scheduling (RTPLS) algorithm is proposed. The entire algorithm includes two stages: resource monitoring and virtual machine scheduling. On the basis of considering multiple threshold triggering conditions such as CPU, memory, and network in the host load judgment during virtual machine scheduling, the host’s resource oscillation granularity and resource weight are introduced to comprehensively evaluate the resource load situation of the entire host, avoiding frequent migration of virtual machines caused by the oscillation of host resource load. In the selection of target virtual machine migration, in order to minimize the number of virtual machine migrations as much as possible, the compatibility coefficient λ of virtual machines is introduced, and the migration is sorted according to the priority list of λ to reduce the server load and energy consumption caused by virtual machine migration with the minimum number of virtual machine migrations. When selecting the target server, in order to minimize the load on the target virtual machine, target server relevance is introduced. Finally, by testing the algorithm in practical environments, it was found that the RTPLS algorithm can significantly improve the efficiency of host load balancing adjustments and enhance resource utilization.
Read moreEMinRET: Heuristic for Energy-Aware VM Placement with Fixed Intervals and Non-preemption
Infrastructure-as-a-Service (IaaS) clouds have become more popular enabling users to run applications under virtual machines. This paper investigates the energy-aware virtual machine (VM) allocation problems in IaaS clouds along characteristics: multiple resources, and fixed interval times and non-preemption of virtual machines. Many previous works proposed to use a minimum number of physical machines, however, this is not necessarily a good solution to minimize total energy consumption in the VM placement with multiple resources, fixed interval times and non-preemption. We observed that minimizing total energy consumption of physical machines is equivalent to minimize the sum of total completion time of all physical machines. Based on the observation, we propose EMinRET algorithm. The EMinRET algorithm swaps an allocating VM with a suitable overlapped VM, which is of the same VM type and is allocated on the same physical machine, to minimize total completion time of all physical machines. The EMinRET uses resource utilization during executing time period of a physical machine as the evaluation metric, and will then choose a host that minimizes the metric to allocate a new VM. In addition, this work studies some heuristics for sorting the list of virtual machines (e.g., sorting by the earliest starting time, or the longest duration time first, etc.) to allocate VM. Using the realistic log-trace in the Feitelson's Parallel Workloads Archive, our simulation results show that the EMinRET algorithm could reduce from 25% to 45% energy consumption compared with power-aware best-fit decreasing (PABFD) [1]) and vector binpacking norm-based greedy algorithms (VBP-Norm-L1/L2 [2]). Moreover, the EMinRET heuristic has also less total energy consumption than our previous heuristics (e.g. MinDFT and EPOBF) in the simulations (using same virtual machines sorting method).
Read moreA multi-objective approach for energy-efficient and reliable dynamic VM consolidation in cloud data centers
A multi-objective approach for energy-efficient and reliable dynamic VM consolidation in cloud data centers
A state based energy optimization framework for dynamic virtual machine placement
A state based energy optimization framework for dynamic virtual machine placement
Self-adaptive architecture for virtual machines consolidation based on probabilistic model evaluation of data centers in Cloud computing
By employing the virtual machines (VMs) consolidation technique at a virtualized data center, optimal mapping of VMs to physical machines (PMs) can be performed. The type of optimization approach and the policy of detecting the appropriate time to implement the consolidation process are influential in the performance of the consolidation technique. In a majority of researches, the consolidation approach merely focuses on the management of underloaded or overloaded PMs, while a number of VMs could also be in an underload or overload state. Managing an abnormal state of VM results in the postponement of PM getting into an abnormal state as well and affects the implementation time of the consolidation process. For the aim of optimal VM consolidation in this research, a self-adaptive architecture is presented to detect and manage underloaded and overloaded VMs /PMs in reaction to workload changes in the data center. The goal of consolidation process is employing the minimum number of active VMs and PMs, while guaranteeing the quality of service (QoS). Assessment criteria of QoS are two parameters including average number of requests in the PM buffer and average waiting time in the VM. To evaluate these two parameters, a probabilistic model of the data center is proposed by applying the queuing theory. The assessment results of the probabilistic model form a basis for decision-making in the modules of the proposed architecture. Numerical results obtained from the assessment of the probabilistic model via discrete-event simulator under various parameter settings confirm the efficiency of the proposed architecture in achieving the aims of the consolidation process.
Read moreSelf-Adaptive Resource Management System in IaaS Clouds
Resource management in cloud infrastructures is one of the most challenging problems due to the heterogeneity of resources, variability of the workload and scale of data centers. Efficient management of physical and virtual resources can be achieved considering performance requirements of hosted applications and infrastructure costs. In this paper, we present a self-adaptive resource management system based on a hierarchical multi-agent based architecture. The system uses novel adaptive utilization threshold mechanism and benefits from reinforcement learning technique to dynamically adjust CPU and memory thresholds for each Physical Machine (PM). It periodically runs a Virtual Machine (VM) placement optimization algorithm to keep the total resource utilization of each PM within given thresholds for improving Service Level Agreement (SLA) compliance. More-over, the algorithm consolidates VMs into the minimum number of active PMs in order to reduce the energy consumption. Experimental results on real workload traces show that our recourse management system can provide substantial improvement over other approaches in terms of performance requirements, energy consumption and the number of VM migrations.
Read moreA Novel Self-Adaptive VM Consolidation Strategy Using Dynamic Multi-Thresholds in IaaS Clouds
With the rapid development of cloud computing, the demand for infrastructure resources in cloud data centers has further increased, which has already led to enormous amounts of energy costs. Virtual machine (VM) consolidation as one of the important techniques in Infrastructure as a Service clouds (IaaS) can help resolve energy consumption by reducing the number of active physical machines (PMs). However, the necessity of considering energy-efficiency and the obligation of providing high quality of service (QoS) to customers is a trade-off, as aggressive consolidation may lead to performance degradation. Moreover, most of the existing works of threshold-based VM consolidation strategy are mainly focused on single CPU utilization, although the resource request on different VMs are very diverse. This paper proposes a novel self-adaptive VM consolidation strategy based on dynamic multi-thresholds (DMT) for PM selection, which can be dynamically adjusted by considering future utilization on multi-dimensional resources of CPU, RAM and Bandwidth. Besides, the VM selection and placement algorithm of VM consolidation are also improved by utilizing each multi-dimensional parameter in DMT. The experiments show that our proposed strategy has a better performance than other strategies, not only in high QoS but also in less energy consumption. In addition, the advantage of its reduction on the number of active hosts is much more obvious, especially when it is under extreme workloads.
Read morePower-aware scheduling of real-time virtual machines in cloud data centers considering fixed processing intervals
In Cloud data centers, Virtual Machines (VMs) as resources for Infrastructure as a service (IaaS) can be dynamically allocated to different customers to meet their application goals. In this paper, from the providers' point of view of reducing power consumption, we investigate the power-aware scheduling of real-time VMs by considering fixed processing intervals. In the case of all VMs sharing random portions of the total capacity of a Physical Machine (PM), finding the optimal solution of minimizing the total number of PMs is NP complete as proved in many open literature. Hence, we model the problem as a modified interval partitioning problem to provide approximate solutions and propose scheduling schemes to reduce the power consumption. Simulation results show our proposed scheduling schemes incur 8%-40% less power consumptions than existing algorithms.
Read moreAgnostic Energy Consumption Models for Heterogeneous GPUs in Cloud Computing
The adoption of cloud computing has grown significantly among individuals and in organizations. According to this growth, Cloud Service Providers have continuously expanded and updated cloud-computing infrastructures, which have become more heterogeneous. Managing these heterogeneous resources in cloud infrastructures while ensuring Quality of Service (QoS) and minimizing energy consumption is a prominent challenge. Therefore, unifying energy consumption models to deal with heterogeneous cloud environments is essential in order to efficiently manage these resources. This paper deeply analyzes factors affecting power consumption and employs these factors to develop power models. Because of the strong correlation between power consumption and energy consumption, the influencing factors on power consumption, with the addition of other factors, are considered when developing energy consumption models to enhance the treatment in heterogeneous infrastructures in cloud computing. These models have been developed for two Virtual Machines (VMs) containing heterogeneous Graphics Processing Units (GPUs) architectures with different features and capabilities. Experiments evaluate the models through a cloud testbed between the actual and predicted values produced by the models. Deep Neural Network (DNN) power models are validated with shallow neural networks using performance counters as inputs. Then, the results are significantly enhanced by 8% when using hybrid inputs (performance counters, GPU and memory utilization). Moreover, a DNN energy-agnostic model to abstract the complexity of heterogeneous GPU architectures is presented for the two VMs. A comparison between the standard and agnostic energy models containing common inputs is conducted in each VM. Agnostic energy models with common inputs for both VMs show a slight enhancement in accuracy with input reduction.
Read moreMigration-aware virtual machine placement for cloud data centers
In this paper, we consider virtual machine (VM) placement problem for cloud data centers. Different from previous works, the VMs considered need to be conducted within a finite duration. However, due to the limited resource at physical machines (PMs), the VM may be unable to place on a single PM within duration. To make sure the successful placement, the VM may undergo several PMs for service, e.g., it is run on one PM at this time, while migrated to another PM next time. Migrating the VM from one PM to another incurs extra cost, e.g., the bandwidth. In this paper, we formulate a joint optimization problem, which maximizes the revenue of successfully placing the VMs, and minimizes the total number of migrations for the VMs. We prove it is NP-hard, and show that the minimum number of migrations for each VM under the resource constraint of PMs is equivalent to finding a shortest path problem. We then design a heuristic algorithm, which considers both the revenue and the minimum number of migrations required for the VM. We also design a 1 over 2-approximation algorithm for a special case of the problem. Finally, we demonstrate the effectiveness of the proposed scheme through simulations.
Read more