32 - Memory Technologies - CompTIA A+ 220-1201 - 3.3
Memory Modules in Computing
Memory types vary based on system usage.
Desktop Computer: Typically uses standard memory.
Server: Requires memory with advanced capabilities for handling essential services (e.g., web servers, database servers).
Types of Memory
Parity Memory
Includes an extra parity bit for each byte stored.
Functionality:
Detects memory errors (not all errors).
Identifies errors but cannot correct them directly.
Triggers system halt and requires reboot upon error detection.
Utility: Informs the user of memory error location.
ECC Memory (Error Correction Code)
Provides error correction, allowing the system to continue running after detection of a memory error.
Comparison:
Similar physical size to standard and parity memory.
Differentiation requires examining memory specifications.
Error Detection and Parity Bits
A parity bit is additional information that helps determine if an error has occurred in memory.
Base Information:
A byte consists of 8 bits.
A parity bit adds a 9th bit.
Even Parity: The parity bit makes the total number of 1s even.
Examples of Calculating Parity
First Byte: 11100111
Count of 1s: 6 (even).
Parity Bit: 0.
Second Byte: 00000010
Count of 1s: 1 (odd).
Parity Bit: 1 (to make total even).
Third Byte: 10011000
Count of 1s: 3 (odd).
Parity Bit: 1 (to make total even).
Writing and Retrieving Memory
When data is written to memory, it includes both the original 8 bits and the parity bit.
On retrieval, the system checks the stored parity bit against the calculated parity for the retrieved byte.
Matching Parity Bits: Indicates no error detected.
Non-Matching Parity Bits: Indicates an error during writing or reading.
Performing Parity Checks on Stored Memory
Retrieved Byte 1: 0000001(1)
Parity Count: 1 (odd) → Expected Parity: 1 (valid).
Retrieved Byte 2: 00000010(0)
Parity Count: 1 (odd) → Expected Parity: 1 (error detected).
Retrieved Byte 3: 00101000(1)
Parity Count: 3 (odd) → Expected Parity: 1 (valid).
Memory Bandwidth and Data Transfer
Memory Bandwidth: The amount of data transferred between the CPU and memory, measured in megatransfers (MT) per second.
Example Specification: A 32 GB DDR5 memory module supporting 5600 MT/s.
The higher the memory bandwidth, the faster the computer operates.
Throughput Challenges
CPU Idle Time: Occurs while waiting for memory data transfer.
This can delay calculations due to limited memory bandwidth.
Potential Solution: Add additional communication channels to allow simultaneous memory module access, thereby increasing total throughput.
Configurations: Dual channel, triple channel, or quad channel memory.
Supports multiple memory modules in the system for enhanced transfer rates.
Implementing Multichannel Memory
Motherboards may support dual, triple, or quad channel memory, indicated by colored slots for memory modules.
Setup Recommendations:
Use identical memory types (make and model) across modules to ensure stability and performance.
Ideal configurations utilize matching colored slots on the motherboard.
Example Memory Module Configuration: Two 16 GB memory modules instead of one 32 GB module, providing increased throughput while maintaining the same total memory capacity.