System Memory Flashcards

1
Q

What is cache memory, and where is it located?

A

Cache memory is very fast, has a limited capacity, and is located within or very close to the CPU for rapid access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is system memory (RAM), and how does it differ from cache memory?

A

System memory (RAM) is fast but not as fast as cache. It holds data actively used by the system for processing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is mass storage, and how does it compare to RAM?

A

Mass storage (e.g., hard drives, SSDs) is permanent storage that retains data when the system is powered off but is much slower than RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does data flow through a system’s memory hierarchy?

A

Data flows from mass storage to RAM and then to CPU cache before being processed by the CPU, which helps improve operation speed and efficiency.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How does RAM differ from mass storage in terms of data persistence?

A

RAM is non-persistent, meaning data is lost when power is off, whereas mass storage retains data even when the system is powered down.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How does the capacity of RAM compare to mass storage?

A

Mass storage has a larger capacity than RAM, often storing hundreds of GBs or TBs, while RAM typically ranges from 8GB to 32GB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do the speeds of RAM and hard drives differ?

A

RAM is much faster than hard drives, providing near-instantaneous access, while mechanical hard drives are slower due to the need for physical movement to locate data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is DRAM and what is its characteristic?

A

DRAM (Dynamic RAM) requires frequent refreshing to retain data.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is SRAM and how is it different from DRAM?

A

SRAM (Static RAM) is faster than DRAM, does not require refreshing, and is used in cache (L1, L2, L3) and hard drive buffers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is SDRAM and what makes it unique?

A

SDRAM (Synchronous DRAM) synchronizes with the motherboard’s bus speed, such as PC133 for 133 MHz.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is DDR and how does it improve data transfer?

A

DDR (Double Data Rate SDRAM) transfers data twice per clock cycle, offering higher throughput than standard SDRAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the key features of DDR1 memory?

A

DDR1 has 184 pins and offers a throughput of 1.6 GB/s.

Example: PC-1600

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What distinguishes DDR2 memory from DDR1?

A

DDR2 has 240 pins, higher latency but faster access to the external bus, and a throughput of 4.2 GB/s.

Example: PC2-4200

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the improvements in DDR3 over DDR2?

A

DDR3 uses lower voltage, offers higher speeds, and has 240 pins. Its throughput is 10.6 GB/s.

Example: PC3-10600

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the characteristics of DDR4 memory?

A

DDR4 has higher throughput (12.8 to 25.6 GB/s) and a max module size of 32GB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the advantage of DDR5 over previous versions?

A

DDR5 offers the highest throughput (38.4 to 51.2 GB/s) and supports a max module size of 128GB.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is a SODIMM module and where is it used?

A

SODIMM (Small Outline DIMM) is a smaller memory module used in laptops and compact devices. It is inserted at a 45° angle.

18
Q

What is a DIMM module and where is it used?

A

DIMM (Dual Inline Memory Module) is the standard memory module used in desktop computers. It is inserted at a 90° angle.

19
Q

What is multi-channel memory and how does it improve performance?

A

Multi-channel memory enables two or more memory modules to work in tandem, interleaving data paths to increase data transfer rates, similar to adding “extra horsepower” for faster and more efficient data handling.

20
Q

What is the data transfer rate of single-channel memory?

A

Single-channel memory uses one memory module on one 64-bit data bus, transferring 64 bits per clock cycle.

21
Q

How does dual-channel memory improve data transfer?

A

Dual-channel memory requires two modules and two slots, doubling the data pathway to 128 bits per clock cycle, which increases performance.

22
Q

What is the benefit of triple-channel memory?

A

Triple-channel memory uses three modules and three slots, providing a 192-bit data pathway per clock cycle, boosting data transfer rates further.

23
Q

How does quad-channel memory enhance data transfer rates?

A

Quad-channel memory uses four modules and four slots, achieving a 256-bit data transfer per clock cycle, resulting in the highest throughput among common channel configurations.

24
Q

What is non-parity memory and what are its characteristics?

A

Non-parity memory is standard memory without error-checking capabilities. It is faster and cheaper but lacks error detection.

25
Q

How does parity memory detect errors?

A

Parity memory uses a parity bit for error detection in each byte (9 bits total). It detects single-bit errors by verifying data integrity during read, but it cannot detect errors if two bits are altered.

26
Q

What is ECC memory and how does it work?

A

ECC memory detects and corrects single-bit errors automatically. It uses additional data in memory to identify and correct corrupted bits, providing greater reliability than parity memory, which only detects errors.

27
Q

Where is ECC memory typically used?

A

ECC memory is primarily used in high-reliability environments, such as servers and high-end workstations, where data integrity is critical.

28
Q

What is the performance tradeoff with ECC memory?

A

ECC memory is slower than non-parity and parity memory due to the additional error correction process, but it offers greater reliability.

29
Q

What is buffered (registered) memory and why is it used?

A

Buffered memory includes a register between the memory and CPU to stabilize performance. It stores data temporarily to reduce the electrical load, commonly used in systems with many memory modules.

30
Q

What are the compatibility requirements for ECC memory?

A

ECC memory requires support from both the motherboard and CPU. ECC and non-ECC modules cannot be mixed in a system, as the motherboard needs to support either all ECC or all non-ECC memory.

31
Q

What is the error-checking feature of DDR5 memory?

A

DDR5 memory includes built-in error checking that offers basic error detection. It is not full ECC but can detect errors. Full ECC functionality requires motherboard and CPU support.

32
Q

What is virtual memory and what is its purpose?

A

Virtual memory is a reserved block of storage on a hard drive (HDD) or solid-state drive (SSD) that acts as additional memory when physical RAM is fully utilized. It helps run programs when system RAM is low.

33
Q

Why might a system rely on virtual memory and what does it indicate?

A

A system relies on virtual memory when physical RAM is insufficient. Heavy reliance on virtual memory indicates that adding more physical RAM might be necessary for better performance.

34
Q

How does cache memory compare to other types of memory in terms of speed?

A

Cache memory is the fastest type of memory within the CPU, used for rapid access to frequently used data.

35
Q

How does physical RAM compare to cache memory and storage?

A

Physical RAM is slower than cache memory but much faster than storage. It is ideal for handling active program data.

36
Q

Why is storage slower than RAM and why can’t it fully substitute for physical RAM?

A

Storage, whether HDD or SSD, is slower than RAM. Even SSDs are significantly slower than RAM, making them unsuitable for fully substituting physical RAM, though they are used for virtual memory.

37
Q

What is the page file or swap space, and how is it used in virtual memory?

A

The page file (Windows) or swap space (Linux/Unix/Mac) is a hidden file on the storage device that acts as virtual memory. It expands as needed to handle more tasks when physical RAM is full.

38
Q

How does the data transfer process work when RAM is full and virtual memory is used?

A

When RAM is full, the system moves less-used data from RAM to the page file/swap space in 4 KB chunks called “pages”. The memory controller manages the movement of these pages in and out of RAM.

39
Q

What signs indicate that virtual memory is causing system slowdowns?

A

Frequent reading and writing to storage for virtual memory management causes performance drops, and you may hear audible HDD sounds (if using an HDD).

40
Q

How does virtual memory impact system performance?

A

Since storage access is much slower than RAM, relying heavily on virtual memory slows down the system, resulting in lag and delays in applications.

41
Q

What are common signs of insufficient physical RAM in a system?

A

Frequent HDD noise, lag in applications, and a general slow response may indicate that the system is using virtual memory due to low physical RAM.

42
Q

How can increasing virtual memory help in the short term?

A

Increasing the virtual memory size can temporarily alleviate performance issues caused by insufficient physical RAM, but it’s not a permanent solution.