Centos Check disk read and write performance

Source: Internet
Author: User

Start Tomcat finds the deploy war significantly slower, suspected disk problems

Test Write

[Email protected] ~]$DD if=/dev/zero of=kwxgd bs=64k count=4k oflag=Dsync4096+0Recordsinch4096+0Records out268435456Bytes (268MB) Copied,127.514S2.1MB/S[[email protected]~]$ Iostatlinux2.6. +-131.0. the. el6.x86_64 (Localhost.localdomain) -/ Geneva/ -_x86_64_ ( -CPU) Avg-CPU:%user% Nice%system%iowait%steal%Idle0.16    0.00    0.08    0.08    0.00   99.67Device:tps Blk_read/s blk_wrtn/s Blk_read blk_wrtnsda10.08         0.04       120.22    1583980 4321086552

Test Read

DD if=kwxgd of=/dev/zero bs=64k count=4k iflag=direct

HDD Performance test
First, install the Hdparm

Yum Install hdparm-y

Second, the evaluation of reading
SSD Drive, use the hdparm command to read the test.

Hdparm-t/dev/xvda

SSH executes the above command, you can use Hdparm to evaluate the SSD read rate.
"/dev/xvda" refers to the drive letter of the corresponding disk, please perform "fdisk-l" view

Centos Check disk read and write performance

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.