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.
Storage in computers is broadly classified into three types based on speed, capacity, and purpose:
Each type plays a unique role in balancing speed, cost, and capacity to meet different computing needs.
Now that we understand the types of storage, let's look at the common devices used to store data.
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.
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.
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.
When choosing storage devices, several key characteristics are important:
| 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 on storage devices is organized systematically to allow efficient storage and retrieval.
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.
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.
There are two main ways to access data:
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
To evaluate storage devices, we use several performance metrics:
| 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) |
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.
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.
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.
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.
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.
When to use: When answering questions on storage types and their relative speeds.
When to use: When given price and capacity data for storage devices.
When to use: In problems involving HDD performance metrics.
When to use: When comparing storage devices in multiple-choice questions.
When to use: When dealing with file system and data access questions.
| Feature | HDD | SSD |
|---|---|---|
| Speed | Slower (80-160 MB/s) | Faster (200-550 MB/s) |
| Cost per GB | Lower (Rs.2-Rs.4) | Higher (Rs.8-Rs.15) |
| Durability | Moderate (Mechanical parts) | High (No moving parts) |
| Capacity | Larger (up to 10 TB) | Smaller (up to 4 TB) |
| Power Consumption | Higher | Lower |
Progress tracking is paywalled — subscribe to mark subtopics as understood and save your streak.
Go to practice →