Networking and machine virtualization play critical roles in the success of modern cloud computing. The energy consumption of physical machines has been carefully examined in the past, including the impact from network traffic. When it comes to virtual machines (VMs) in cloud data centers, the interplay between energy consumption and network traffic, however, becomes much more complicated. Through real-world measurement on both Xen- and KVM-based platforms, we show that these state-of-the-art virtualization designs noticeably increase the demand of CPU resources when handling network transactions, generating excessive interrupt requests with ceaseless context switching, which in turn, increases energy consumption. Even when a physical machine is in an idle state, its VM's network transactions will incur nontrivial energy consumption. More interestingly, the energy consumption significantly varies with traffic allocation strategies and virtual CPU affinity conditions, which was not seen in conventional physical machines. Looking closely into the virtualization architectures, we then pinpoint the root causes and examine that our measurement results can be extended for various network configurations. Moreover, we also provide initial solutions toward optimizing energy consumption in virtualized environments.
- Cloud computing
- energy consumption