Memory Storage Devices and Media Notes
Primary vs. Secondary Storage
CPU Access:
Primary Storage: Directly accessed by the Central Processing Unit (CPU).
Secondary Storage: Not directly accessed by the CPU.
Primary Storage Examples:
Random Access Memory (RAM)
Read-Only Memory (ROM)
Cache memory
Secondary Storage Examples:
Hard Disk Drive (HDD)
Solid-State Drive (SSD)
Digital Versatile Disc (DVD)
Memory stick
Blu-ray disc
Primary Memory: Random Access Memory (RAM)
Function and Purpose:
Used by a computer system when it needs to store and access data immediately that is actively being used or processed by the user.
Key Features of RAM:
Volatiles/Temporary Memory: The contents are volatile and are completely lost when the power to the RAM is turned off.
Stored Data: Used to temporarily store active data and files.
Read/Write Capabilities: RAM can be both written to and read from, allowing its memory contents to be constantly altered and updated.
Performance Impact: A larger physical RAM capacity results in a faster operating computer system.
Memory Management Behavior: RAM never technically runs out of memory addresses completely; instead, as RAM becomes full, the system's performance continues to run slowly because the processor is forced to continually access the hard drive to overwrite old data stored in RAM with new data.
Types of RAM:
DRAM: Dynamic RAM
SRAM: Static RAM
Virtual Memory
Overview and Mechanism:
When physical RAM runs out of available memory space, a memory management issue occurs, creating a high risk of system crashes.
To prevent system failure, virtual memory is utilized as an extension of RAM.
Virtual memory is allocated using secondary storage hardware, specifically a Hard Disk Drive (HDD) or Solid-State Drive (SSD).
Main Advantages of Virtual Memory:
Allows total addressable storage to become significantly larger than the physical RAM installed in the computer.
Avoids the immediate financial cost of installing or upgrading physical RAM modules.
Prevents system instability and ensures the operating system wastes no physical storage capacity on unwanted or unused data.
Read Only Memory (ROM)
Key Features of ROM:
Non-Volatile/Permanent Memory: Retains all stored contents continuously even when the computer system is powered off.
System Functions: Used exclusively to store critical start-up instructions, such as the Basic Input/Output System (BIOS).
Read-Only Nature: Data and contents stored on a ROM chip can only be read; they cannot be altered, overwritten, or changed by normal operation.
Secondary Storage: Hard Disk Drives (HDD)
Data Representation & Architecture:
Data is stored in a digital format directly on the magnetic surfaces of circular disks known as platters.
Each platter possesses two usable surfaces coated in magnetic material for data storage.
Surfaces are segmented into concentric circles called tracks and pie-shaped divisions called sectors.
Read/Write Mechanism:
A set of physical read/write heads moves across the platter surfaces to read data from or write data to any portion of the disk.
Performance:
HDDs exhibit very slow data access speeds when compared directly to primary memory such as RAM.
Solid-State Drive (SSD)
Data Representation & Architecture:
SSDs contain no moving mechanical parts, enabling all data to be accessed simultaneously (unlike the physical scanning required by HDDs).
Stores data by controlling the flow and movement of electrons contained within NAND flash chips, representing binary data as and .
Formulated as non-volatile, rewritable semiconductor memory.
Benefits of SSD over HDD:
Reliability: Significantly more durable and reliable due to the total absence of moving mechanical components.
Weight: Considerably lighter in weight, making them ideal for portable laptops.
Power Consumption: Demonstrates lower electrical power consumption.
Thermal Output: Operates at much cooler thermal levels than mechanical HDDs.
Form Factor: Extremely thin profile.
Speed: Data access speeds are substantially faster than an HDD.
Drawbacks:
Longevity Concerns: SSDs have a limited write-cycle lifespan with questionable long-term durability when subject to heavy continuous daily writing (e.g., writing per day).
Off-Line Storage and Media
CD and DVD Disks:
Mechanism: Uses a red laser beam light to perform read and write operations on the reflective surface of the disk.
Composition: Utilizes a thin layer of metal alloy to physically record and hold data.
Track Layout: Both Compact Discs (CDs) and Digital Versatile Discs (DVDs) construct data along a single continuous spiral track running outward from the center of the disk to its outer edge.
DVD Dual-Layering: DVDs incorporate Dual-Layering technology, utilizing two individual physical recording layers within a single disc to dramatically increase total storage capacity.
Blu-ray Disks:
Mechanism: Employs a blue laser beam to carry out all read and write operations.
Laser Wavelength: The wavelength of blue laser light is significantly smaller than the red laser light used in CDs and DVDs.
Storage Capacity: Able to store up to more data than a standard DVD due to the tighter focus enabled by the shorter wavelength.
Security Features: Integrated with built-in secure hardware encryption standards to actively prevent piracy and unauthorized copyright infringement.
Applications: Frequently deployed as data backup systems.
USB Flash Memories:
Characteristics: Highly portable, very small, and lightweight devices designed for efficient file transfer.
Applications: Function as small external backup devices for personal files such as photos and music.
Media Type: Built using solid-state memory architecture, requiring careful physical handling to prevent damage.
Cloud Storage
Definition: A method of data storage where digital data is saved on remote servers managed by service providers, accessible via a network connection.
Data Redundancy:
To guarantee high availability and fault tolerance, identical data is mirrored and duplicated across multiple servers located in different physical environments.
Ensures that clients maintain uninterrupted access to their data even during server maintenance, hardware failure, or routine repairs.
Deployment Models of Cloud Storage:
Public Cloud: A shared storage environment where the client/customer and the cloud storage service provider are completely separate, independent corporate entities.
Private Cloud: Storage infrastructure provided in a dedicated, isolated environment residing behind a private company firewall. In this setup, the customer/client and cloud storage provider are integrated and function operationalized as a single unified entity.
Hybrid Cloud: A combined deployment architecture merging public and private cloud environments. Sensitive, confidential, or commercially valuable data is retained within the secure private cloud, while less sensitive or public-facing operational data is hosted on public cloud infrastructure.