Test CentOS hard Drive read and write speed

Source: Internet
Author: User
Tags ide hard drive

Yum Install hdparm

Parameters:
-a< Cache partition > Set the number of partitions that are pre-deposited into the chunk when the file is read, and if the < cache partition > option is not added, the current setting is displayed.
-a<0 or 1> to start or close the cache when the file is read.
-C&LT;I/O mode > Set IDE32 bit I/O mode.
-C detects the power management mode of the IDE hard drive.
-d<0 or 1> sets the DMA mode of the disk.
-F writes the memory buffer's data to the hard disk, and the buffer is clear.
-G Displays the magnetic track, head, magnetic region and other parameters of the hard drive.
-h displays Help.
-I displays hardware specification information for the hard disk, which is provided by the hard disk itself at boot time.
-I directly reads the hardware specifications provided by the hard drive.
-k<0 or 1> when resetting the hard drive, the settings of the-DMU parameter are preserved.
-k<0 or 1> when resetting the hard drive, the settings of the-APSWXZ parameter are preserved.
-m< number of magnetic regions > Sets the number of partitions accessed by the hard disk.
-n<0 or 1> ignores errors that occur when the hard disk is written.
-p<pio mode > Set the PIO mode of the hard drive.
-p< number of magnetic regions > Set the number of partitions on the hard drive internal cache.
-Q does not display any information on the screen when the subsequent parameters are executed.
-r<0 or 1> sets the read/write mode of the hard drive.
-s< time > Set the wait time before the hard drive enters power save mode.
-T evaluates the read efficiency of the hard drive.
-T evaluates the read efficiency of the hard drive cache.
-u<0 or 1> allows other interrupt requests to be performed while the hard disk is accessed.
-V Displays the relevant settings for the drive.
-w<0 or 1> sets the drive's write cache.
-x< Transfer Mode > set the transmission mode of the hard drive.
-y causes the IDE hard drive to enter power-saving mode.
-y causes the IDE hard drive to enter sleep mode.
-Z turns off the automatic power-down function for some Seagate hard drives.

Hdparm-t/DEV/SDA

Results of a I7 8G 7200rpm machine

Test CentOS hard Drive read and write speed

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.