👁 Preview — Study, Practice and Revise are open; mock tests and the rest of the syllabus unlock on subscription. Unlock all · ₹4,999
← Back to Computer Architecture and Hardware
Study mode

Storage Technology

Introduction to Storage Technology

In the world of computers, storage technology refers to the methods and devices used to save and retrieve digital data. Just like a library stores books for future reading, computers use storage to keep information, programs, and files safe and accessible whenever needed.

Storage is a fundamental part of computer architecture because it allows a computer to remember data even when it is turned off. Without storage, every time you switch off your computer, all your work would be lost.

Storage in computers is organized in a hierarchy based on speed and size. At the top are the fastest but smallest storage units like registers inside the CPU, followed by cache memory, then primary memory (RAM), and finally larger but slower storage devices like hard drives and tape drives.

This chapter will explore the different types of storage, the devices used, how data is organized, and how to measure storage performance. Understanding these concepts is essential for grasping how computers efficiently manage and access vast amounts of data.

Types of Storage

Storage in computers is broadly classified into three types based on speed, capacity, and purpose:

  • Primary Storage: This is the main memory directly accessible by the CPU. It is fast but usually volatile, meaning data is lost when power is off. Examples include RAM (Random Access Memory) and CPU registers.
  • Secondary Storage: This storage is non-volatile and holds data permanently until deleted or overwritten. It is slower than primary storage but offers much larger capacity. Common examples are Hard Disk Drives (HDDs) and Solid State Drives (SSDs).
  • Tertiary Storage: Used mainly for backup and archival purposes, tertiary storage is even slower but offers massive capacity at low cost. Examples include magnetic tape drives and cloud storage.

Each type plays a unique role in balancing speed, cost, and capacity to meet different computing needs.

Registers Cache Memory Primary Storage (RAM) SSD HDD Optical Drives Tape Drives Storage Hierarchy by Speed & Capacity Fastest & Smallest Slowest & Largest

Storage Devices

Now that we understand the types of storage, let's look at the common devices used to store data.

Hard Disk Drives (HDD)

HDDs are traditional storage devices that use spinning magnetic disks called platters to store data. A mechanical arm with a read/write head moves over the platters to read or write data.

Advantages: Large capacity at a low cost per GB.

Disadvantages: Slower access times due to mechanical movement, and more prone to physical damage.

Solid State Drives (SSD)

SSDs use flash memory chips to store data electronically with no moving parts. This makes them faster and more durable than HDDs.

Advantages: Faster data access, lower power consumption, and better durability.

Disadvantages: Higher cost per GB compared to HDDs.

Optical Drives

These devices use lasers to read and write data on optical discs like CDs, DVDs, and Blu-rays. They are mainly used for media storage and backups.

Advantages: Portable and good for distribution.

Disadvantages: Slower and less durable compared to HDDs and SSDs.

Hard Disk Drive (HDD) Platters Read/Write Head Spindle Solid State Drive (SSD) Flash Memory Chips Controller

Storage Characteristics

When choosing storage devices, several key characteristics are important:

  • Capacity: The amount of data a device can hold, measured in Gigabytes (GB) or Terabytes (TB).
  • Speed: How fast data can be read from or written to the device, usually in Megabytes per second (MB/s).
  • Cost: Price per GB, often expressed in Indian Rupees (INR) per GB.
  • Durability: How well the device withstands wear and tear, including physical shocks and write cycles.
Comparison of Storage Devices
Device Capacity Speed (MB/s) Cost (INR/GB) Durability
HDD 500 GB - 10 TB 80 - 160 Rs.2 - Rs.4 Moderate (Mechanical parts)
SSD 120 GB - 4 TB 200 - 550 Rs.8 - Rs.15 High (No moving parts, limited write cycles)
Optical Drives (DVD/CD) 4.7 GB (DVD), 700 MB (CD) 10 - 20 Rs.1 - Rs.3 (per disc) Low (Scratches, physical damage)

Data Organization

Data on storage devices is organized systematically to allow efficient storage and retrieval.

Blocks and Sectors

Storage devices divide data into small units called blocks or sectors. A sector is the smallest physical storage unit on a disk, typically 512 bytes or 4096 bytes in size. Blocks are logical units used by the operating system, often consisting of multiple sectors.

File Systems

A file system manages how data is stored and retrieved. It keeps track of files, directories, and their locations on the storage device. Examples include NTFS, FAT32, and ext4.

Access Methods

There are two main ways to access data:

  • Sequential Access: Data is accessed in order, one piece after another. This is common in tape drives.
  • Random Access: Data can be accessed directly at any location without reading through other data first. HDDs and SSDs support random access.
graph TD    CPU[CPU Requests Data]    OS[Operating System]    FS[File System]    Storage[Storage Device]    Block[Block & Sector Access]    CPU --> OS    OS --> FS    FS --> Block    Block --> Storage

Performance Metrics

To evaluate storage devices, we use several performance metrics:

Performance Metric Definitions
Metric Definition Example Value
Latency Time delay before data transfer starts (milliseconds) 5 ms (HDD), 0.1 ms (SSD)
Throughput Amount of data transferred per unit time (MB/s) 100 MB/s (HDD), 500 MB/s (SSD)
Transfer Rate Speed at which data is read/written (MB/s) 150 MB/s (HDD), 550 MB/s (SSD)

Formula Bank

Cost per GB
\[ \text{Cost per GB} = \frac{\text{Total Cost (INR)}}{\text{Storage Capacity (GB)}} \]
where: Total Cost (INR) = price of the device in Indian Rupees; Storage Capacity (GB) = total storage capacity in Gigabytes.
Data Transfer Time
\[ \text{Transfer Time (s)} = \frac{\text{File Size (GB)} \times 1024}{\text{Transfer Rate (MB/s)}} \]
where: File Size (GB) = size of the file; Transfer Rate (MB/s) = speed of data transfer.
Average Access Time (HDD)
\[ \text{Access Time} = \text{Seek Time} + \text{Rotational Latency} + \text{Transfer Time} \]
where: Seek Time = time to position the read/write head; Rotational Latency = time waiting for disk rotation; Transfer Time = time to transfer data.
Example 1: Calculating Storage Cost per GB Easy
A 1 TB HDD costs Rs.3,000 and a 512 GB SSD costs Rs.5,000. Calculate the cost per GB for both devices and determine which is more cost-effective.

Step 1: Convert 1 TB to GB: 1 TB = 1024 GB.

Step 2: Calculate cost per GB for HDD:

\[ \text{Cost per GB (HDD)} = \frac{3000}{1024} \approx Rs.2.93 \]

Step 3: Calculate cost per GB for SSD:

\[ \text{Cost per GB (SSD)} = \frac{5000}{512} \approx Rs.9.77 \]

Answer: The HDD is more cost-effective at approximately Rs.2.93 per GB compared to Rs.9.77 per GB for the SSD.

Example 2: Determining Data Transfer Time Medium
How long will it take to transfer a 10 GB file from an SSD with a transfer rate of 500 MB/s?

Step 1: Convert file size to MB: 10 GB x 1024 = 10,240 MB.

Step 2: Use the transfer time formula:

\[ \text{Transfer Time} = \frac{10,240 \text{ MB}}{500 \text{ MB/s}} = 20.48 \text{ seconds} \]

Answer: It will take approximately 20.48 seconds to transfer the file.

Example 3: Access Time Calculation Medium
An HDD has a seek time of 8 ms, rotational latency of 4 ms, and transfer time of 2 ms. Calculate the average access time.

Step 1: Add all components of access time:

\[ \text{Access Time} = 8 \text{ ms} + 4 \text{ ms} + 2 \text{ ms} = 14 \text{ ms} \]

Answer: The average access time is 14 milliseconds.

Example 4: Comparing Storage Speeds Easy
An HDD has a read speed of 120 MB/s and an SSD has a read speed of 450 MB/s. Which device is faster and by how much?

Step 1: Calculate speed difference:

\[ 450 \text{ MB/s} - 120 \text{ MB/s} = 330 \text{ MB/s} \]

Step 2: Calculate speed ratio:

\[ \frac{450}{120} = 3.75 \]

Answer: The SSD is faster by 330 MB/s, which is approximately 3.75 times faster than the HDD.

Example 5: File Organization Impact on Access Hard
Explain how sequential and random access affect data retrieval times on an HDD and why sequential access is generally faster.

Step 1: Understand sequential access: Data is stored and read in continuous blocks, so the read/write head moves minimally.

Step 2: Understand random access: Data is scattered in different locations, requiring the read/write head to move frequently, increasing seek time.

Step 3: Because mechanical movement takes time, sequential access reduces seek time and rotational latency, making data retrieval faster.

Answer: Sequential access is faster on HDDs because it minimizes mechanical movements, while random access increases delays due to frequent repositioning of the read/write head.

Tips & Tricks

Tip: Remember the storage hierarchy order by speed and size: Registers > Cache > RAM > SSD > HDD > Optical > Tape.

When to use: When answering questions on storage types and their relative speeds.

Tip: Use the formula Cost per GB to quickly compare storage devices during exams.

When to use: When given price and capacity data for storage devices.

Tip: For access time calculations, always add seek time, rotational latency, and transfer time to avoid missing components.

When to use: In problems involving HDD performance metrics.

Tip: Associate SSDs with faster speeds and higher cost per GB; HDDs with slower speeds and lower cost per GB for quick recall.

When to use: When comparing storage devices in multiple-choice questions.

Tip: Visualize data organization as blocks and sectors arranged sequentially to understand access methods better.

When to use: When dealing with file system and data access questions.

Common Mistakes to Avoid

❌ Confusing primary storage (RAM) with secondary storage (HDD/SSD).
✓ Primary storage is volatile and faster; secondary storage is non-volatile and slower.
Why: Students often overlook volatility and speed differences.
❌ Using incorrect units when calculating transfer times (mixing GB and MB).
✓ Convert all units consistently, e.g., 1 GB = 1024 MB before calculations.
Why: Unit inconsistency leads to wrong answers.
❌ Ignoring rotational latency in HDD access time calculations.
✓ Always include seek time, rotational latency, and transfer time for accurate access time.
Why: Students underestimate total access time by missing latency.
❌ Assuming SSDs have infinite durability.
✓ Explain SSDs have limited write cycles, unlike HDDs.
Why: Misconception due to SSD speed overshadowing durability concerns.
❌ Mixing up sequential and random access impacts on performance.
✓ Sequential access is faster on HDDs; random access is less efficient due to mechanical movement.
Why: Lack of understanding of physical device operation.

HDD vs SSD: Quick Comparison

FeatureHDDSSD
SpeedSlower (80-160 MB/s)Faster (200-550 MB/s)
Cost per GBLower (Rs.2-Rs.4)Higher (Rs.8-Rs.15)
DurabilityModerate (Mechanical parts)High (No moving parts)
CapacityLarger (up to 10 TB)Smaller (up to 4 TB)
Power ConsumptionHigherLower
✨ AI exam tools — try them free (included in every plan)
Tip: select any text above to Explain / Example / Simplify it.
Curated videos per subtopic
Top YouTube explainers, AI-ranked for your exam and language. Unlocks with subscription.
Unlock

Try Practice next.

Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.

Go to practice →
Ask a doubt
Storage Technology · 10 free messages
Ask me anything about this subtopic. You have 10 free messages this session — chat history isn't saved in preview.