当前位置:网站首页>Alicloud disk performance analysis

Alicloud disk performance analysis

2022-06-22 13:14:00 gsls200808

Alicloud disk io Performance has been criticized by roast . Here is a brief analysis

Common disk performance indicators are read / write rate , Reading and writing iops, Write from here iops In terms of indicators, Alibaba cloud .

linux Use FIO,windows Use AS SSD Benchmark

FIO Download and install

centos install

yum install fio


ubuntu install
 

apt-get install fio

Use FIO and AS SSD Benchmark Same test indicators (AS SSD Benchmark Switch view-->iops)

4K Write at random 1G Single thread

FIO command

fio -ioengine=libaio -filename=fiofile -bs=4k -direct=1 -iodepth=4 -thread -size=1g -rw=randwrite -name=4k_randwrite -numjobs=1 -group_reporting

iops test result

Alibaba cloud 1 nucleus 1G Normal instance Average 603
Huawei hk Average 3571
company esxi virtual machine mechanical 2T Hard disk Average 551
company vmware   solid state 2T Hard disk   Average 19898
My computer Average 201

4K Write at random 10G Single thread

FIO command

fio -ioengine=libaio -filename=fiofile -bs=4k -direct=1 -iodepth=4 -thread -size=10g -rw=randwrite -name=4k_randwrite -numjobs=1 -group_reporting

iops test result

Alibaba cloud 1 nucleus 1G Normal instance Average 172 5 After minutes, the hard disk write speed continues to decrease ,iops stay 100 Hovering around .
Huawei hk Average 3899
company esxi virtual machine Average 421
company 3.20 Of vmware   Average 21160
My computer Average 214

As can be seen from the test results , There are advantages for writing small files to Alibaba cloud in a short time , But for large files, keep writing , Ali cloud, io Sharp performance degradation , The performance is only common server 1/4, Ordinary mechanical hard disk computer 1/2

Don't forget to delete the test file after the test is completed

rm fiofile

If you forget to create it in that folder , You can find large files directly

find / -type f -size +800M -print0 |xargs -0 du -h
rm  Found file path 

update2022-06-16: Today, we will retest Alibaba cloud 10G Random write , In the morning 9 Multi point test iops stay 1400 about , Afternoon 4 It drops to the single digit around the dot , Extremely unstable , It seems that we have to test in multiple periods .

原网站

版权声明
本文为[gsls200808]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206221226572444.html