zoukankan      html  css  js  c++  java
  • kvm 性能调节总结

    The optimal configuration is (usually) as follows: 

    1. On the host, set elevator=deadline
    2. Use virtio and only virtio
    3. use raw LVs whenever possible. Qcow2 gives overhead. Files on a FS also have overhead
    4. in the VM use the elevator=noop
    5. both in host and VM, use noatime,nodiratime in fstab wherever possible
    6. Make sure the virtio drivers are up to date, especially the windows ones.
    7. Debian based distros are (arguably) not as good as Fedora and RHEL for QEMU/KVM. Not to start a flamewar, but most of the development and testing is done on Fedora and RHEL, and in my own experience, there have been lots of issues on Ubuntu and Debian that I couldn't reproduce on Fedora and RHEL. You can ignore this particular bullet if you want, but if you're looking for a solution, a quick benchmark on another distro is usually worth a try
  • 相关阅读:
    [Heoi2013]Alo
    10.24 考试
    第八周作业
    第七周作业
    第六周作业
    第五周作业
    第四周作业
    求最大值及其下标
    查找整数
    抓老鼠啊~亏了还是赚了?
  • 原文地址:https://www.cnblogs.com/zhangzhang/p/2520894.html
Copyright © 2011-2022 走看看