• DocumentCode
    2786774
  • Title

    Optimization of KVM Network Based on CPU Affinity on Multi-cores

  • Author

    Guo, Zhaoliang ; Hao, Qinfen

  • Author_Institution
    Sch. of Comput. Sci. & Eng., Beihang Univ., Beijing, China
  • Volume
    4
  • fYear
    2011
  • fDate
    24-25 Sept. 2011
  • Firstpage
    347
  • Lastpage
    351
  • Abstract
    In order to improve the network performance of KVM virtual machines, an approach based on CPU affinity is proposed in this paper. By running the processes on the same CPU, the processes can run more efficiently by reducing performance degrading situations such as cache misses. In some performance-critical situations, it makes sense to bind the process to the same CPU. We run the benchmarks NETPERF and PING to validate our method. The results show that with the optimization of CPU affinity, the network latency of KVM decreased by 20% (taskset) and 10%(cgroup), while sustaining the same network bandwidth compared with four CPU cores. The CPU affinity method can effectively improve the network performance of KVM virtual machine by improving the cache performance and reducing the called times of some important models.
  • Keywords
    multiprocessing systems; optimisation; virtual machines; CPU affinity method; CPU affinity optimization; CPU core; KVM network optimization; KVM virtual machine; NETPERF; PING; cache performance; network bandwidth; network latency; network performance; performance-critical situation; Bandwidth; Computers; Educational institutions; Linux; Multicore processing; Program processors; Virtual machining; CPU Affinity; KVM; cgroup; network performance; virtio; virtualization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Technology, Computer Engineering and Management Sciences (ICM), 2011 International Conference on
  • Conference_Location
    Nanjing, Jiangsu
  • Print_ISBN
    978-1-4577-1419-1
  • Type

    conf

  • DOI
    10.1109/ICM.2011.330
  • Filename
    6113765