2.3 KiB
Virtual Memory
collapsed:: true - Additional memory without adding physical RAM - simulates memory using storage devices - Useful when RAM is inusufficient - Hardware and Software implementations - Utilizes disk drive to store memory - ## Why Use Virtual Memory - Modern operating systems require a lot of memory - Not enough physical RAM to multiple apps - ## How Virtual Memory Works - Memory Management Unit (MMU) - Unneeded data in RAM moved to hard disk - Swap file or page file - Slower that RAM, although SSDs are better than hard disks - ## Managing Virtual Memory in Windows - Performance options -> Virtual Memory - ## Pros and Cons of Virtual Memory - | Pros | Cons| | Can improve system performance | Slower than physical RAM | | Increases capacity for multitasking | Consumes disk space | | Useful for large, memory-intensive applications | Can result in frequent hard disk access | | | Leads to poor performance if incorrectly used |
-
Small Outline Dual In-line Memory Module (SODIMM)
collapsed:: true- Refers to its smaller footprint
- Performs similarly to larger DIMMs
-
SODIMM Versions
- DDR
- DDR2
- DDR3
- DDR4
- DDR5
-
DDR5
- Released in 2020
- Maximum DIMM size of 128GB
- Lower voltage at 1.1V
- 51.2 GB/s
-
Double Data Rate 3 (DDR3) Memory
collapsed:: true- Twice the speed of DDR2
- 240-pin DIMM or 204 SODIMM
- Incompatible with previous generations
-
DDR3
- Bus clock speed between 400 and 1066 MHz
- Cycles four times per bus cycle
- Transfers data twice per clock cycle
- Bandwidth between 6400 and 17066 MB/s
- MT/s (Million transfers per second)
- e.g., DDR3-1600 - 1600 million transfers per second
-
Double Data Rate 4 (DDR4) Memory
- DIMM and SODIMM form factors
- Twice the speed of DDR3
-
DDR4
- 288-pin DIMM or 256-pin SODIMM
- Incompatible with previous generations
- Bus clock speed between 1066 and 2133 MHz
- Bandwidth between 12800 and 25600 MB/s
- MT/s from 1600 to 3200
-
Double Data Rate 5 (DDR5) Memory
- Lower Power consumption
- Twice the speed of DDR4
-
DDR5
- Lower voltage at 1.1V
- Voltage regulators
- Additional cost
- 51.2 GB/s
- MT/s from 3200 to 6400
-
DDR5 Enhancements
- Four times the capacity of DDR4
- Single DIMM maximum of 128 GB
- Die stacking