Storage Devices Notes
System memory (RAM)
- RAM stands for Random Access Memory and is a form of system memory used for temporary data access while the computer is running.
- RAM is volatile, meaning it only retains data when power is on.
- Analogy: RAM is like the surface of a desk in your workspace.
- The bigger the desk, the more documents or applications you can spread out and work on at the same time.
- If your desk (RAM) is too small, you can place some documents on a nearby shelf (disk space), but fetching them will be slower.
- In everyday use, RAM acts as fast, short-term storage for active processes and data.
- When RAM is limited, the system may rely more on disk space or swap space, which is slower to access than RAM.
- RAM manufacturers (noted for producing high-quality memory): Kingston, Micron, Corsair, PNY, and Integral.
Hard Disk Drives (HDDs) / ADDs
- Hard disk drives (ADDs) are a traditional form of nonvolatile storage used for long-term data storage.
- They store data on magnetic platters and retain it without power.
- Common characteristics:
- Large storage capacity at a relatively low cost per gigabyte.
- Slower than solid-state storage for random access due to mechanical components, but very cost-effective for bulk storage.
- Typical use: archival data, bulk file storage, and backup where high capacity is needed.
Solid State Drives (SSDs)
- Solid state drives use flash memory and have no moving parts, making them much faster than HDDs for both sequential and random access.
- Benefits:
- Faster boot times, quicker application launches, and improved overall system responsiveness.
- More resistant to physical shock and silent operation.
- Common interfaces: SATA and NVMe (PCIe); NVMe offers higher performance than SATA.
Optical Disks
- Optical disks include CDs, DVDs, and Blu-ray discs.
- Use cases: software distribution, media storage, and archival purposes.
- Characteristics:
- Generally slower access times compared to HDDs/SSDs.
- Can be read-only or rewritable depending on the medium (CD-R/RW, DVD-R/RW, BD-R/RE).
Flash Drives (USB Flash Memory)
- Portable nonvolatile storage that uses flash memory.
- Pros:
- Highly portable and easy to use for transferring files between devices.
- No moving parts, compact form factor.
- Considerations:
- Limited write cycles compared to SSDs, and durability varies by quality.
Network Attached Storage (NAS)
- NAS is storage hardware connected to a network, providing centralized data storage accessible by multiple devices.
- Features:
- Shared storage for households or small businesses.
- Can offer redundancy (RAID configurations) and remote access.
- Use cases: centralized backups, media libraries, and file sharing across a network.
Cloud Storage
- Cloud storage involves storing data on remote servers managed by a service provider and accessed over the internet.
- Characteristics:
- Scalable capacity and typically pay-as-you-go pricing.
- Accessibility from anywhere with network access, with potential data redundancy across locations.
- Considerations:
- Dependence on internet connectivity.
- Ongoing subscription costs and potential privacy/compliance considerations.
Volatile vs Nonvolatile Memory
- Volatile memory:
- Data is lost when power is removed.
- RAM is the primary example used for fast, temporary data storage during operation.
- Nonvolatile memory:
- Data is retained without power.
- Includes HDDs, SSDs, flash drives, optical disks, and NAS/cloud storage in their respective roles as long-term storage.
- Practical implications:
- Speed vs. capacity vs. cost trade-offs:
- RAM provides speed but limited capacity.
- HDDs offer large capacity at low cost but slower access.
- SSDs provide high speed with moderate to high cost per GB.
- Optical, flash, NAS, and cloud storage offer various balances of durability, accessibility, and cost.
- Real-world takeaway: choosing storage involves balancing speed, capacity, reliability, portability, and cost for your specific needs.