In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the method of pressure testing the performance of ESSD cloud disk, which is very detailed and has a certain reference value. Interested friends must read it!
How to pressure test the performance of ESSD cloud disk
ESSD cloud disk, also known as enhanced (Enhanced) SSD cloud disk, is a new ultra-high-performance cloud disk product launched by Aliyun. Because the cloud disk itself and the pressure test conditions play an important role when testing the performance of the cloud disk, this article provides an example of how to configure appropriate conditions to test the performance of the ESSD cloud disk, and tests out 1 million IOPS.
Warning:
Testing a bare disk can achieve real block storage disk performance, but directly testing a bare disk will destroy the file system structure. Please prepare the data in advance before testing, for example, create a disk snapshot. It is recommended that you only use tools to test block storage performance on newly purchased ECS instances with no data to avoid data loss.
Preparatory work
In order to give full play to the system performance of multi-core and multi-concurrency, and test the performance index of 1 million IOPS, you can refer to the following recommendations to test the performance of ESSD cloud disks.
Image recommendation
You can use the higher version of the Linux image in the official Aliyun image. For example, CentOS 7.4Compact 7.3Compact 7.2 64-bit and AliyunLinux 17.1 64-bit operating systems. As the corresponding driver is not perfect, it is not recommended to use other lower versions of Linux image and Windows image.
Tool recommendation
You can use FIO as a testing tool for cloud disk performance standards.
Recommendation of instance specification
Currently, only the storage-enhanced g5se instance specification family supports mounting ESSD cloud disks. You need to apply to be added to the whitelist of the storage-enhanced g5se instance specification family. After the application review is completed, you can purchase both the storage-enhanced g5se instance specification family and the ESSD cloud disk.
Operation example
Take the instance specification ecs.g5se.18xlarge as an example, and the device name of the ESSD cloud disk is / dev/vdb. Test the performance of the ESSD cloud disk by randwrite.
Connect remotely and log in to the Linux instance.
Run the following command to install libaio and FIO.
Sudo yum install libaio- ysudo yum install libaio-devel-ysudo yum install fio-y
Run cd / tmp to switch paths.
Run vim test100w.sh to create a new script file and paste the following content. The script is a random randwrite IOPS performance test example.
The number of test threads in the function RunFio {numjobs=$1 # instance, such as the upper limit of the number of iodepth=$2 O issued simultaneously by 8 iodepth=$2 # in the example, such as the block file size of 64 bs=$3 # in the example, such as the read and write strategy of 4K rw=$4 # in the example, such as randwrite filename=$5 # in the example, which specifies the name of the test file. Such as / dev/vdb nr_cpus= `cat / proc/cpuinfo in the example | grep "processor" | wc-l`cat [$nr_cpus-lt $numjobs] Then echo "Numjobs is more than cpu cores, exit!" Exit-1 fi let nu=$numjobs+1 cpulist= "" for (I / sys/block/vdb/queue/rq_affinitysleep 5RunFio 8 64 '4k'' randwrite''/ dev/vdb'
Note:
Depending on the test environment, the command lines you need to modify in the script are:
Command line list=cat / sys/block/vdb/mq/*/cpu_list | awk'{if (I
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.