- Disk-drive performance characteristics
Disk-drive performance characteristics are the attributes which control the time it takes to transfer (read or write) data between a computer and a data storage device (most typically disk storage) starting with the initial command from the computer or host until the storage device completes the command. Higher performance comes from devices which have faster performance characteristics. These devices include those with rotating media, hereby called rotating drives, i.e., hard-disk drives (HDD), floppy disk drives (FDD), optical discs (DVD-RW / CD-RW), and it also covers devices without moving parts like solid-state drives (SSD). For SSDs, most of the attributes related to the movement of mechanical components are not applicable, but the device is actually affected by some other electrically based element that still causes a measurable delay when isolating and measuring that attribute. These performance characteristics can be grouped into two categories: access time and data transfer time (or rate).
The access time or response time of a rotating drive is a measure of the time it takes before the drive can actually transfer data. The factors that control this time on a rotating drive are mostly related to the mechanical nature of the rotating disks and moving heads. It is composed of a few independently measurable elements that are added together to get a single value when evaluating the performance of a storage device. The access time can vary significantly, so it is typically provided by manufacturers or measured in benchmarks as an average. For SSDs this time is not dependent on moving parts, but rather electrical connections to solid state memory, so the access time is very quick and consistent. Most testing and benchmark applications do not draw a distinction between rotating drives and SSDs so they both go through the same measurement process.
With rotating drives, the seek time measures the time it takes the head assembly on the actuator arm to travel to the track of the disk where the data will be read or written. The data on the media is stored in sectors which are arranged in parallel circular tracks (concentric or spiral depending upon the device type) and there is an actuator with an arm that suspends a head that can transfer data with that media. When the drive needs to read or write a certain sector it determines in which track the sector is located. It then uses the actuator to move the head to that particular track. If the initial location of the head was the desired track then the seek time would be zero. If the initial track was the outermost edge of the media and the desired track was at the innermost edge then the seek time would be the maximum for that drive. Seek times are not linear compared with the seek distance traveled because of factors of acceleration and deceleration of the actuator arm.
A rotating drive's average seek time is the average of all possible seek times which technically is the time to do all possible seeks divided by the number of all possible seeks, but in practice it is determined by statistical methods or simply approximated as the time of a seek over one-third of the number of tracks. Average seek time ranges from 3 ms for high-end server drives, to 15 ms for mobile drives, with the most common mobile drives at about 12 ms and the most common desktop drives typically being around 9 ms.
The first HDD had an average seek time of about 600 ms, and by the middle 1970s, HDDs were available with seek times of about 25 ms. Some early PC drives used a stepper motor to move the heads, and as a result had seek times as slow as 80–120 ms, but this was quickly improved by voice coil type actuation in the 1980s, reducing seek times to around 20 ms. Seek time has continued to improve slowly over time.
The other two less commonly referenced seek measurements are track-to-track and full stroke. The track-to-track measurement is the time required to move from one track to an adjacent track. This is the shortest (fastest) possible seek time. In HDDs this is typically between 0.2 and 0.8 ms. The full stroke measurement is the time required to move from the outermost track to the innermost track. This is the longest (slowest) possible seek time.
With SSDs there are no moving parts, so a measurement of the seek time is only testing electronic circuits preparing a particular location on the memory in the storage device. Typical SSDs will have a seek time between 0.08 and 0.16 ms.
Short stroking is a term used in enterprise storage environments to describe an HDD that is purposely restricted in total capacity so that the actuator only has to move the heads across a smaller number of total tracks. This limits the maximum distance the heads can be from any point on the drive thereby reducing its average seek time, but also restricts the total capacity of the drive. This reduced seek time enables the HDD to increase the number of IOPS available from the drive. The cost and power per usable byte of storage rises as the maximum track range is reduced, but the increase in IOPS per dollar is better.
Effect of audible noise and vibration control
Measured in dBA, audible noise is significant for certain applications, such as DVRs, digital audio recording and quiet computers. Low noise disks typically use fluid bearings, slower rotational speeds (usually 5,400 rpm) and reduce the seek speed under load (AAM) to reduce audible clicks and crunching sounds. Drives in smaller form factors (e.g. 2.5 inch) are often quieter than larger drives.
Some desktop- and laptop-class disk drives allow the user to make a trade-off between seek performance and drive noise. For example, Seagate offers a set of features in some drives called Sound Barrier Technology that include some user or system controlled noise and vibration reduction capability. Faster seek times typically require more energy usage to quickly move the heads across the platter, causing loud noises from the pivot bearing and greater device vibrations as the heads are rapidly accelerated during the start of the seek motion and decelerated at the end of the seek motion. Quiet operation reduces movement speed and acceleration rates, but at a cost of reduced seek performance.
Typical HDD figures HDD
4,200 7.14 5,400 5.56 7,200 4.17 10,000 3.00 15,000 2.00
Rotational latency (sometimes called rotational delay or just latency) is the delay waiting for the rotation of the disk to bring the required disk sector under the read-write head. It depends on the rotational speed of a disk (or spindle motor), measured in revolutions per minute (RPM). For most magnetic media-based drives, the average rotational latency is typically based on the empirical relation that the average latency in milliseconds for such a drive is one-half the rotational period. Maximum rotational latency is the time it takes to do a full rotation excluding any spin-up time (as the relevant part of the disk may have just passed the head when the request arrived). Therefore the rotational latency and resulting access time can be improved (decreased) by increasing the rotational speed of the disks. This also has the benefit of improving (increasing) the throughput (discussed later in this article).
For more details on track layout see Disk storage
The spindle motor speed can use one of two types of disk rotation methods: 1) constant linear velocity (CLV), used mainly in optical storage, varies the rotational speed of the optical disc depending upon the position of the head, and 2) constant angular velocity (CAV), used in HDDs, standard FDDs, a few optical disc systems, and vinyl audio records, spins the media at one constant speed regardless of where the head is positioned.
Another wrinkle occurs depending on whether surface bit densities are constant. Usually, with a CAV spin rate, the densities are not constant so that the long outside tracks have the same number of bits as the shorter inside tracks. When the bit density is constant, outside tracks have more bits than inside tracks and is generally combined with a CLV spin rate. In both these schemes contiguous bit transfer rates are constant. This is not the case with other schemes such as using constant bit density with a CAV spin rate.
Effect of reduced power consumption
Power consumption has become increasingly important, not only in mobile devices such as laptops but also in server and desktop markets. Increasing data center machine density has led to problems delivering sufficient power to devices (especially for spin-up), and getting rid of the waste heat subsequently produced, as well as environmental and electrical cost concerns (see green computing). Most hard disk drives today support some form of power management which uses a number of specific power modes that save energy by reducing performance. When implemented, an HDD will change between a full power mode to one or more power saving modes as a function of drive usage. Recovery from the deepest mode, typically called Sleep where the drive is stopped or spun down, may take as long as several seconds to be fully operational thereby increasing the resulting latency. The drive manufacturers are also now producing green drives that include some additional features that do reduce power, but can can adversely affect the latency including slower spindle speeds and parking heads off the media to reduce friction.
The command processing time or command overhead is the time it takes for the drive electronics to set up the necessary communication between the various components in the device so it can read or write the data. This is in the range of 0.003 ms. With a value this low most people or benchmarks tend to ignore this time.
The settle time measures the time it takes the heads to settle on the target track and stop vibrating so it does not read or write off track. This amount is usually very small (typically less than 0.1 ms) or already included in the seek time specifications from the drive manufacturer. In a benchmark test the settle time would be included in the seek time.
Data transfer rate
The data transfer rate of a drive (also called throughput) covers both the internal rate (moving data between the disk surface and the controller on the drive) and the external rate (moving data between the controller on the drive and the host system). The measurable data transfer rate will be the lower (slower) of the two rates. The sustained data transfer rate or sustained throughput of a drive will be the slower of the sustained internal and sustained external rates. The sustained rate is less than or equal to the maximum or burst rate because it does not have the benefit of any cache or buffer memory in the drive. The internal rate is further broken down into media rate, head switch time, and cylinder switch time. These are not applicable to SSDs.
- Media rate – speed at which the drive can read bits from the surface of the media
- Head switch time – time required to electrically switch from one head to another; only applies to multi-head drive and is about 1 to 2 ms.
- Cylinder switch time – time required to move to an adjacent track; the name cylinder is used because typically all the tracks of a drive with more than one head or data surface are read before moving the actuator. This time is typically about twice the track-to-track seek time or about 2 to 3 ms.
Data transfer rate (read/write) can be measured by writing a large file to disk using special file generator tools, then reading back the file. As of 2010[update], a typical 7200 RPM desktop HDD has a sustained "disk-to-buffer" data transfer rate up to 1030 Mbit/s. This rate depends on the track location, so it will be higher for data on the outer tracks (where there are more data sectors) and lower toward the inner tracks (where there are fewer data sectors); and is generally somewhat higher for 10,000 RPM drives. A current widely used standard for the "buffer-to-computer" interface is 3.0 Gbit/s SATA, which can send about 300 megabyte/s (10-bit encoding) from the buffer to the computer, and thus is still comfortably ahead of today's disk-to-buffer transfer rates.
SSDs do not have the same internal limits of HDDs, so their internal and external transfer rates are often maximizing the capabilities of the drive-to-host interface.
Effect of file fragmentation
Transfer rate can be influenced by file system fragmentation and the layout of the files. Defragmentation is a procedure used to minimize delay in retrieving data by moving related items to physically proximate areas on the disk. Some computer operating systems perform defragmentation automatically. Although automatic defragmentation is intended to reduce access delays, the procedure can slow response when performed while the computer is in use.
In stark contrast to HDDs, flash memory-based SSDs do not need defragmentation. The nature of recording information on flash memory wears it out over time, so any unnecessary writes to the SSD is bad. Since the data is accessed differently (solid state electronics compared to physical sectors on a disk) defragmentation is not necessary or desirable.
Effect of areal density
HDD data transfer rate depends upon the rotational speed of the disks and the data recording density. Because heat and vibration limit rotational speed, advancing density becomes the main method to improve sequential transfer rates. Areal density advances by increasing both the number of tracks across the disk and the number of sectors per track, the latter will increase the data transfer rate (for a given RPM). Improvement of data transfer rate performance is correlated to the areal density only by increasing a track's linear surface bit density (sectors per track). Simply increasing the number of tracks on a disk can affect seek times but not gross transfer rates. Based on historic trends, analysts predict a future growth in HDD areal density (and therefore capacity) of about 40% per year. Seek times have not kept up with throughput increases, which themselves have not kept up with growth in storage capacity.
- ^ "Hard Disk (Hard Drive) Performance – transfer rates, latency and seek times". pctechguide.com. http://www.pctechguide.com/hard-disk-hard-drive-performance-transfer-rates-latency-and-seek-times. Retrieved 2011-07-01.
- ^ a b c "Red Hat Documentation: Hard Drive Performance Characteristics". redhat.com. http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/4/html/Introduction_To_System_Administration/s1-storage-perf.html. Retrieved 2011-07-01.
- ^ Lee, Yu Hsuan (2008-12). "To Defrag or Not to Defrag–That Is the Question for SSD". rtcmagazine.com. http://rtcmagazine.com/articles/view/101053. Retrieved 2011-07-01.
- ^ a b Jefferies, Charles (2007-05-17). "Access Time". storagereview.com. http://www.storagereview.com/guide/posAccess.html. Retrieved 2011-07-04.
- ^ "Getting the hang of IOPS". 2011-04-25. http://www.symantec.com/connect/articles/getting-hang-iops. Retrieved 2011-07-03.
- ^ a b c "Understanding Solid State Drives (part two – performance)". HP. 2008-10-27. http://h41112.www4.hp.com/promo/blades-community/eur/en/library/weekly_comment/081027_HP-SSD-part2-v2_clean.pdf. Retrieved 2011-07-06.
- ^ a b c d e f g "Hard Drive Data Recovery Glossary". New York Data Recovery. http://www.newyorkdatarecovery.com/hard-drive-glossary.html. Retrieved 2011-07-14.
- ^ a b c Jefferies, Charles (2007-05-17). "Seek Time". storagereview.com. http://www.storagereview.com/guide/posSeek.html. Retrieved 2011-07-04.
- ^ Jefferies, Charles (2007-05-17). "Hard Disk Tracks, Cylinders and Sectors". storagereview.com. http://www.storagereview.com/guide/tracks.html. Retrieved 2011-07-06.
- ^ John Wilkes (1994-03). "An introduction to disk drive modeling". Hewlett-Packard Laboratories. http://www.cs.uh.edu/~paris/7360/PAPERS03/IEEEComputer.DiskModel.pdf. Retrieved 2011-08-02.
- ^ "Definition of Average Seek time". http://www.lintech.org/comp-per/10HDDISK.pdf. Retrieved 2011-07-06.
- ^ "WD VelicoRaptor: Drive Specifications". Western Digital. 2010-06. http://www.wdc.com/en/products/products.aspx?id=20. Retrieved 2011-01-15.
- ^ "WD Scorpio Blue Mobile: Drive Specifications". Western Digital. 2010-06. http://www.wdc.com/en/products/products.aspx?id=140. Retrieved 2011-01-15.
- ^ "IBM Archives – IBM 350 disk storage unit". IBM. http://www-03.ibm.com/ibm/history/exhibits/storage/storage_350.html. Retrieved 2011-07-04.
- ^ "IBM Archives – IBM 3350 direct access storage". IBM. http://www-03.ibm.com/ibm/history/exhibits/storage/storage_3350.html. Retrieved 2011-07-04.
- ^ Schmid, Patrick; Roos, Achim (2009-03-05). "Accelerate Your Hard Drive By Short Stroking". tomshardware.com. http://www.tomshardware.com/reviews/short-stroking-hdd,2157.html. Retrieved 2011-07-05.
- ^ "Noise and Vibration". storagereview.com. 2007-05-17. http://www.storagereview.com/guide/issuesNoise.html. Retrieved 2011-07-06.
- ^ "Seagate's Sound Barrier Technology". 2000-11. http://www.seagate.com/docs/pdf/whitepaper/sound_barrier.pdf. Retrieved 2011-07-06.
- ^ In the 1950s and 1960s magnetic data storage devices used a drum instead of flat discs.
- ^ In some early PCs the internal bus was slower than the drive data rate so sectors would be missed resulting the loss of an entire revolution. To prevent this sectors were interleaved to slow the effective data rate preventing missed sectors. This is no longer a problem for current PCs and storage devices.
- ^ Lowe, Scott (2010-02-12). "Calculate IOPS in a storage array". techrepublic.com. http://www.techrepublic.com/blog/datacenter/calculate-iops-in-a-storage-array/2182. Retrieved 2011-07-03.
- ^ "Adaptive Power Management for Mobile Hard Drives". IBM. http://www.almaden.ibm.com/almaden/mobile_hard_drives.html#2. Retrieved 2011-07-06.
- ^ "Momentus 5400.5 SATA 3Gb/s 320-GB Hard Drive". http://www.seagate.com/ww/v/index.jsp?vgnextoid=5fb658a3fd20a110VgnVCM100000f5ee0a0aRCRD. Retrieved 2011-07-06.
- ^ Jefferies, Charles (2007-05-17). "Command Overhead Time". storagereview.com. http://www.storagereview.com/guide/posOverhead.html. Retrieved 2011-07-04.
- ^ Jefferies, Charles (2007-05-17). "Settle Time". storagereview.com. http://www.storagereview.com/guide/posSettle.html. Retrieved 2011-07-04.
- ^ Jefferies, Charles (2007-05-17). "Transfer Performance Specifications". storagereview.com. http://www.storagereview.com/guide/trans.html. Retrieved 2011-07-07.
- ^ Jefferies, Charles (2007-05-17). "Head switch Time". storagereview.com. http://www.storagereview.com/guide/transHeadSwitch.html. Retrieved 2011-08-02.
- ^ Jefferies, Charles (2007-05-17). "Cylinder switch Time". storagereview.com. http://www.storagereview.com/guide/transCylinderSwitch.html. Retrieved 2011-08-02.
- ^ "Speed Considerations". Seagate. http://www.seagate.com/www/en-us/support/before_you_buy/speed_considerations. Retrieved 2011-01-22.
- ^ Kearns, Dave (2001-04-18). "How to defrag". ITWorld. http://www.itworld.com/NWW01041100636262. Retrieved 2011-07-03.
- ^ Broida, Rick (2009-04-10). "Turning Off Disk Defragmenter May Solve a Sluggish PC". PCWorld. http://www.pcworld.com/article/162955/turning_off_disk_defragmenter_may_solve_a_sluggish_pc.html. Retrieved 2011-07-03.
- ^ "Sustaining SSD Performance". 2010. http://www.supertalent.com/datasheets/TRIM%20White%20Paper.pdf. Retrieved 2011-07-06.
- ^ Jefferies, Charles (2007-05-17). "Areal Density". storagereview.com. http://www.storagereview.com/guide/postransAreal.html. Retrieved 2011-07-06.
- ^ "Seagate Outlines the Future of Storage :: Articles :: www.hardwarezone.com". www.hardwarezone.com. 2006-01-27. http://www.hardwarezone.com.ph/articles/view.php?cid=1&id=1805&pg=2. Retrieved 2009-03-13.
Wikimedia Foundation. 2010.