当前位置:网站首页>KVM IO性能测试数据
KVM IO性能测试数据
2022-06-30 21:54:00 【星哥玩云】
目前,主流的共有云提供商大部分采用的hypervisor还是XEN,所以,很多人会笼统的认为xen比kvm更好。个人认为,这是个误区。国外的amazon和国内的阿里云,华为云之所以选择xen作为hypervisor,个人认为只是他们从事hypervisor方面的研究更早,当时最好的hypervisor就是xen,这么多年了投入了大量的人力和物力,已经形成了一定的知识积累,所以才会一直用xen而已,也就是说决定因素并不是,从技术上讲,xen比kvm更好。相反,我反倒认为,kvm在技术上走在了xen的前面。
1. KVM IO 性能测试
下面来介绍下,kvm在IO方面的一个new feature - virtio-blk-data-plane,首先来看下性能测试的结果
(1)测试环境配置参数
(2)测试结果
测试结果总结:
(1)在block size = 4K的情况下,采用了virtio-blk-data-plane的KVM的性能是最好的,达到了1577684 IOPS,是sphere 5.1的1.5倍,是hyper-v的4倍,是KVM默认采用的io驱动virt-blk的10倍
(2)在block size从512B到8K情况下, 采用了virtio-blk-data-plane的KVM的性能也是最好的.
2. virtio-blk-data-plane的基本原理
virtio-blk-data-plane是在原来virt-blk的基础上,通过给每个io device创建一个专门的线程来负责设备的io操作,目的是允许不同设备的IO能够并发的进行。由于每个io设备的io都由单独的线程来处理,一方面,减少了多个io设备之间的同步问题,另一方面,减少了io操作与qemu主进程之间的同步。另外,io线程采用了io eventfd/irqfd机制,使得io处理与guest os的执行解耦,充分利用了host os 的AIO,因此,极大的提高了guest os的io性能。
virtio-blk-data-plane的架构如下图所示。
由于virtio-blk-data-plane在redhat 6.4中属于tecnology preview,所以,目前还有很多限制,主要在存储方面:
(1)仅支持raw格式的镜像
(2)KVM的一些比较新的features,目前还不能使用virtio-blk-data-plane,比如storage migration, disk hot unplug, io throtting, image streaming and driver mirroring.
边栏推荐
- 微服務鏈路風險分析
- About, Qianxin detects code vulnerabilities and XSS series solves them
- Anfulai embedded weekly report no. 271: June 20, 2022 to June 26, 2022
- How to use data sets in machine learning?
- 从PG15 XID64再次跳票说起
- Introduction and example of template method mode
- 1-15 nodemon
- 1-7 Path路径模块
- 5g demand in smart medicine
- Sqlserver string type converted to decimal or integer type
猜你喜欢

On several key issues of digital transformation

Introduction and example of template method mode

周少剑,很少见

【MySQL入门】第一话 · 初入“数据库”大陆

Niubi | the tools I have treasured for many years have made me free to fish with pay

Zhoushaojian, rare

Analysis of PostgreSQL storage structure

Pytorch quantitative practice (1)

国产数据库乱象

Open the jupyter notebook/lab and FAQ & settings on the remote server with the local browser
随机推荐
PyTorch量化感知训练(QAT)步骤
Uniapp life cycle / route jump
Nacos部署及使用
jupyter notebook/lab 切换conda环境
Is machine learning suitable for girls?
1-21 jsonp interface
全面认识痛风:症状、风险因素、发病机理及管理
《安富莱嵌入式周报》第271期:2022.06.20--2022.06.26
Anfulai embedded weekly report no. 271: June 20, 2022 to June 26, 2022
How to use data sets in machine learning?
Development techniques - import files using easyexcel (simple example)
Develop technology - get time 10 minutes ago
pytorch geometric torch-scatter和torch-sparse安装报错问题解决
Neurotransmetteurs excitateurs - glutamate et santé cérébrale
Modify the name of the launched applet
【MySQL入门】第一话 · 初入“数据库”大陆
Summary of interesting websites
Niubi | the tools I have treasured for many years have made me free to fish with pay
1-16 路由的概念
京东与腾讯续签三年战略合作协议;起薪涨至26万元,韩国三星SK争相加薪留住半导体人才;Firefox 102 发布|极客头条