Drive - Hard (disk|drive) (HDD) - Mass Storage - Flash

Hierachy Storage


A disk is a storage device that refers to magnetic media, such as:

  • a floppy disk,
  • the disk in your computer's hard drive,
  • an external hard drive.

It's also known as mass storage device.

Disks are always rewritable unless intentionally locked or write-protected. You can easily partition a disk into several smaller volumes, too.

Disks are usually sealed inside a metal or plastic casing (often, a disk and its enclosing mechanism are collectively known as a “hard drive”).

A disk is not a disc (optical media).

On the memory hierarchy, they are classified as external memory.

The minimal unit of write/read is called for all disks a sectors. (Flash disk does not have a sector but the term applied also). Sector can be bundled in logical unit called blocks.



What is a platter (physical spinning) hard drives?


Flash disks 1) have no mechanical parts but the spinning disk storage structure is emulated.

On flash memory, the minimum size of a read is typically much smaller than a minimum write


Disk Operations

The performance of the disk are really depend of the access mode (random or sequential)

See also: I/O - Request (Write/Read) - IO Request Packet (IRP)


Harddisk Random Io Time

On a spinning disk drive, when data are requested by a process which is identified:

  • the disk head seeks to the appropriate track.
  • the platter spins until the proper sector of data is under the waiting disk head.
  • the data is read.

The combination of the seek and rotational time associated with obtaining the data is the access time.

  • the data is then transferred to the embedded disk controller that is physically located on the disk drive unit.

The most costly portions of this process is the time it takes for the head to move to the correct track, for example, seek time and the rotation time of the disks platters (latency). Cost here is referenced in time. The longer it takes for the physical activity to be completed, the longer the server process must wait for its data. To get an understanding of what contributes to the relative time required to get data from the disk subsystem up to the PCI bus, look at the pie chart.

Then from the embedded disk controller, the data is send to the host system (the computer) with one of this type of transport:


During the write operation, the host issue a write command chipset (write command), then this command will be sent to the hard disk.

  1. The Host send an order (write 4 blocks from 1000).
  2. The hard disk after receiving the order ask the the host to send the data.
  3. The Data are placed into the write buffer.
  4. The Hard disk find the corresponding blocks in the physical sectors and the data are written to disc.
  5. The Hard disk return information indicating that the write operation is complete.

Counter / Metrics


The key counter relating to density per platter are:

  • Tracks Per Inch (TPI): the number of tracks that can fit in a given area (inch).
  • and Bits Per Inch (BPI): the number which defines how many bits can be written onto one inch of a track on a disk surface.

With fdisk, you can get this information by using the p command.

fdisk /dev/sda2
Command (m for help): p
Disk /dev/sda2: 21.3 GB, 21361052160 bytes
255 heads, 63 sectors/track, 2597 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Others metrics


Windows: Windows - Disk

Documentation / Reference

Discover More
System Metrics
(Operating) System Metrics

This article is the resources Metrics of an OS (Operating System) Meaning that they will report on all physical server functional components (CPUs, disks, busses, ...). The primary metrics are: CPUs...
Data System Architecture
Atomic Commit

An Atomic commit is a commit that implements atomicity for a transaction. Either all the tasks in a transaction must happen, or none of them. The transaction must be completed, or else it must be undone...
Cpu Moore Law Transistor
Bit - Physical Representation and Storage

A binary number can be represented by any sequence of bits (binary digits), which in turn may be represented by any mechanism capable of being in two mutually exclusive states. In a computer, the numeric...
Card Puncher Data Processing
Computer - Storage Device (Media)

A storage device is a that stores byte: machine instructions byte data byte It is an array of circuits that saves bit state (0 or 1). A storage device can be anything that can store and retrieve...
Card Puncher Data Processing
Data Processing - Buffer (Batch concept in code)

Buffers are catalog containers of a (fixed|variable with max) amount of data or operations. memoryblocksdisk Without buffer, each read or write request is handled directly by the underlying layer (OS,...
Windows Disk
Data Storage - Boot Sector Startup Processes

Two sectors are critical to start a computer on Windows: the master boot record (MBR), the first sector of a hard disk and the boot sector, which resides at sector 1 of each volume. These sectors...
Card Puncher Data Processing
Data Storage - Data Striping (I/O parallelism)

In computer data storage, data striping is the technique of segmenting logically sequential data, such as a file, in a way that accesses of sequential segments are made to different physical storage devices....
Data Storage - Logical Block Addressing (LBA)

Logical block addressing (LBA) is a common scheme used for specifying the location of blocks of data stored on computer storage devices, generally secondary storage systems such as hard disks. LBA has...
Data Storage - Spindle

Spindle is the axis on which the hard disks spin. In storage engineering, the physical disk drive is often called a “spindle”, referencing the spinning parts which limit the device to a single I/O...
Card Puncher Data Processing
Data Storage - The Buffer Cache (File System Cache)

All data accessed from files on the system that are performed through the use of read() and write() system calls, pass through the file system buffer cache. This buffer cache greatly speeds up disk access...

Share this page:
Follow us:
Task Runner