Cache Memory Levels

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/213

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:26 PM on 4/18/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

214 Terms

1
New cards

L1 Cache Proximity

Closest to CPU Cores

2
New cards

L1 Cache Speed

Fastest among all cache levels due to proximity and high speed SRAM technology

3
New cards

L1 Cache Size

Smallest in size

16KB - 128 KB per core

4
New cards

L1 Cache Purpose

Primarily stores frequently accessed data and instructions to reduce latency and improve the CPU’s processing speed

5
New cards

L1 Cache Structure

Often split into 2 separate caches

  • L1i - for instructions

  • L1d - for data

6
New cards

L2 Cache Proximity

Sits between L1 Cache and RAM

7
New cards

L2 Cache Speed

Slower than L1 but faster than L3 cache and RAM

8
New cards

L2 Cache Size

Larger than L1

256KB - Several MB per core

9
New cards

L2 Cache Purpose

Acts as an intermediary between L1 and L3

Holds data and instructions that are less frequently accessed than those in L1, but more than RAM

10
New cards

L2 Cache Structure

Can be unified or split

unified = stores both data and instructions

split = similar to L1

11
New cards

L3 Cache Proximity

Shared among multiple CPU cores within the same processor

12
New cards

L3 Cache Speed

Slower than L2 but faster than RAM

13
New cards

L3 Cache Size

Larger than L2

Ranges from a few MB to tens of MB

14
New cards

L3 Cache Purpose

Provides a larger shared cache that can store data and instructions

Accessible by all cores, reducing the need to fetch from slower main memory (RAM)

15
New cards

L3 Cache Structure

Usually unified, storing both data and instruction

16
New cards

Clock Speed

Measured in GHz

Indicates the number of cycles a CPU can perform per second

17
New cards

Core Count

More cores allow for better multitasking and parallel processing

18
New cards

Hyper-threading/Simultaneous Multithreading (SMT)

Allows each core to handle multiple threads

19
New cards

Thermal Design Power (TDP)

Indicates the amount of heat a CPU generates, affecting cooling requirements

20
New cards

General Purpose CPUs

Designed for everyday tasks

  • Web browsing

  • Office applications

  • Multimedia consumption

Examples:

  • Intel Core i3, i5

  • AMD Ryzen 3

21
New cards

High-Performance CPUs

  • Gaming

  • Video editing

  • Intensive tasks

  • High clock speeds

  • More cores/threads

  • Larger cache sizes

Examples:

  • Intel Core i7, i9

  • AMD Ryzen 7, 9 Series

22
New cards

Server CPUs

Enterprise CPUs and Blade Serves/Microservers

23
New cards

Enterprise CPUs

Designed for

  • Data centers

  • High performance computing environments

  • Large caches

  • Support for multi-processor configurations

Examples:

  • Intel Xeon

  • AMD EPYC processors

24
New cards

Blade Servers and Microservers

  • Used in compact and scalable server environments

  • Optimized for density and power efficiency

25
New cards

Mobile CPUs

Smartphones and Tablets: Prioritize power efficiency and integrated graphics capabilities

Laptops: Mobile CPUs for laptops balance performance and battery life

26
New cards

Embedded CPUs

Microcontrollers/System-on-Chip (SOC) and Raspberry Pi and Similar boards

27
New cards

Microcontrollers/System-on-Chip (SOC)

Used in:

  • IoT devices

  • Automotive systems

  • Industrial applications

  • Highly integrated with peripherals and memory

Examples:

  • ARM Cortex-M, Cortex-A

  • Atmel AVR

28
New cards

Raspberry Pi

Use ARM based CPUs like Broadcom BCM series

29
New cards

High-End Workstation CPUs

Designed for:

  • 3D rendering

  • Scientific simulations

  • Professional applications

Examples:

  • Intel Xeon W

  • AMD Threadripper

30
New cards

Gaming Consoles

Used for:

  • Gaming

  • Balancing CPU and GPU performance

Examples:

  • AMD custom processors used in Playstation and Xbox consoles

31
New cards

Supercomputers

High performance CPUs

  • Used in supercomputing clusters

  • High core counts

  • Support for parallel processing

Examples:

  • IBM POWER Processors

  • Intel Xeon Phi

32
New cards

CPU Related Issues: High CPU Usage

Symptoms:

  • Slow system performance

  • Overheating

  • System lag

  • Reduced battery life on laptops

Solution:

  • Close unnecessary programs

  • Optimize software

  • Upgrade hardware

  • Scheduled maintenance

33
New cards

CPU Related Issues: Overheating CPU

Symptoms:

  • System shutdowns

  • Reduced performance due to thermal throttling

  • Potentially permanent damage to the CPU

Solution:

  • Improve cooling systems

  • Optimize CPU airflow

  • Monitor temperatures

  • Cooling pads under laptops

34
New cards

CPU Related Issues: CPU Bottleneck

Symptoms:

  • Inability to fully utilize high-end GPUs or other hardware components

  • Poor performance in games and applications despite having good hardware

Solution:

  • Ensure a balanced configuration of CPU, GPU, and RAM

  • Adjust settings to reduce CPU load

  • Upgrade to a better CPU

  • Carefully overclock the CPU to increase performance

35
New cards

CPU Related Issues: CPU Failure

Symptoms:

  • System will not boot

  • Frequent crashes

  • Unusual noises

Solution

  • Confirm the issue is with the CPU by testing other components such as

    • RAM

    • GPU

    • Motherboard

  • Check physical connections

  • Inspect for physical damage

  • Test power supply

  • Reset and/or update BIOS/UEFI

36
New cards

Control Unit Function

  • Directs the operations of the processor

  • Tells the computer’s memory, ALU, and I/O devices how to respond to the instructions that have been sent to the processor

37
New cards

Control Unit Importance

  • Coordinates how data moves around the CPU

  • Controls the flow of data between the CPU and other components of the computer

38
New cards

Registers

  • Small, fast storage locations within the CPU that hold data and instructions temporarily

  • Provide quick access to frequently used data and instructions

  • Enhance processing speeds

39
New cards

Types of Registers: Accumulator (ACC)

  • A register that stores the results of the arithmetic and logical operations performed by the CPU’s ALU

40
New cards

Types of Registers: Program Counter (PC)

  • A register that holds the memory address of the next instruction to be fetched and executed by the CPU

41
New cards

Types of Registers: Memory Address Register (MAR)

  • A register that holds the memory address of the data or instruction being accessed or manipulated in the computer’s memory

42
New cards

Types of Registers: Memory Data Register (MDR)

  • A register that temporarily holds the data fetched from or to be written to the computer’s memory

43
New cards

Arithmetic Logic Unit (ALU)

  • Performs arithmetic and logical operations

    • Addition, subtraction, multiplication, division, AND, OR, NOT, XOR, etc.

  • Essential for executing mathematical calculations and decision-making processes

44
New cards

GPU

  • A specialized electronic circuit designed to accelerate the processing of images and videos.

  • Particularly efficient at handling tasks that involve parallel processing, where many calculations can be performed simultaneously

45
New cards

Integrated GPU

  • Built into the CPU and share the systems RAM

    • Sufficient for tasks like web browsing, office applications, and some light gaming

46
New cards

Dedicated GPU

  • Separate cards installed in the system, with their own VRAM.

  • Much more powerful and suitable for demanding tasks

47
New cards

Use Cases for GPU

  • Gaming

    • Essential for rendering complex graphics

  • Video Editing and Rendering

    • 3D rendering

    • Animation

  • Scientific Computing

    • Simulations

    • Data Analysis

    • Computational tasks that require massive parallel processing, such as climate modeling, molecular dynamics, and astrophysics

  • Machine Learning and AI

    • Good for training models on large datasets

    • GPUs speed up the process due to their parallel processing capabilities

  • Professional Applications

    • Architecture

    • Engineering

    • Design

    • Used for CAD (Computer Aided Design) applications

48
New cards

Pipelining (CPU Function)

A hardware technique to increase the instruction throughput of a CPU by overlapping instruction execution stages

49
New cards

Step 1 - Pipelining - “Fetch”

Retrieving the instruction from memory

50
New cards

Step 2 - Pipelining - “Decode”

Interpreting the instruction and preparing the necessary control signals

51
New cards

Step 3 - Pipelining - “Execute”

Performing the operation specified by the instruction (arithmetic or logic operations)

52
New cards

Step 4 - Pipelining - “Memory Access”

Reading from or writing to memory, if required by the instruction

53
New cards

Step 5 - Pipelining - “Write Back”

Writing the result back to the register file

54
New cards

Multithreading (Application Function)

Executing multiple threads within a single process concurrently, improving CPU utilization and performance for multithreaded applications

55
New cards

Thread

  • The smallest unit of execution within a process

  • A process can contain multiple threads, each running independently but sharing the same resources, such as memory and file handles

56
New cards

Multithreading - Improved Performance

  • Can improve performance of applications, especially on multi-core processors

57
New cards

Multithreading - Resource Sharing

Threads within the same process share resources like memory and data, which leads to more efficient use of resources

58
New cards

Parallelism

Executing multiple threads simultaneously

59
New cards

Multitasking (OS Function)

OS level feature that allows multiple processes to run concurrently, providing the ability to run multiple applications at the same time

60
New cards

Preemptive Multitasking

  • OS determines when a process should pause to allow another process to execute

  • Allocates time slices to each process

  • Ensures fair distribution of CPU time

  • Prevents any single process from monopolizing the CPU

  • Improves responsiveness

61
New cards

Cooperative Multitasking

  • Each process voluntarily yields control to allow other processes to run

  • Processes must be designed to provide time to the OS

  • Early versions of Window and classic Mac OS used this

  • Disadvantage: If a process does not yield control control, it can lead to system unresponsiveness or crashes

62
New cards

RAM (Random Access Memory)

Stores data and instructions that the CPU needs quickly

63
New cards

ARAM (Asynchronous RAM)

  • A type of RAM where memory operations are not synchronized to a clock signal

  • Each operation (read or write) is initiated independently and can occur at any time without needing to wait for a clock edge

64
New cards

DRAM (Dynamic Random Access Memory)

  • A type of ARAM that:

    • Must be refreshed periodically to preserve the stores data

    • Use: General purpose memory for computers and other devices

    • Pins: Varies, early DRAM used DIP packages with 16 or 18 pins

65
New cards

SRAM (Static Random Access Memory)

  • A type of ARAM that:

    • Data is not stored as charge on a capacitor, but in a pair of cross-couples inverters

    • Does not need to be refreshed

    • Use: Cache memory in CPUs, small amounts of fast memory

    • Pins: Varies

66
New cards

SDRAM (Synchronous DRAM)

  • A type of computer memory that is synchronized with the system bus

  • Allows for faster data transfer rates

  • Use: Main memory in older computers and graphics cards

67
New cards

SDR (Single Data Rate)

  • A type of SDRAM that:

    • Pins: 168

    • Data Rate: Once per clock cycle

    • Usage: Older desktop/laptop computers

68
New cards

DDR (Double Data Rate)

  • A type of SDRAM that:

    • Pins: 184

    • Data Rate: 2x per clock cycle

    • Usage: Early 2000s desktop and laptop computers

69
New cards

DDR2

  • Pins: 240

  • Data Rate: 2x per clock cycle, but with improved speed and efficiency over DDR

  • Latency: Lower latency compared to DDR

  • Usage: Mid 2000s desktop/laptops

70
New cards

DDR3

  • Pins: 240

  • Data Rate: 2x per clock cycle with further improvements over DDR2

  • Latency: Better than DDR2

  • Usage: Late 2000s to mid 2010s desktop/laptop/servers

71
New cards

DDR4

  • Pins: 288

  • Data Rate: 2x per clock cycle with further enhancements

  • Latency: Improved latency and power efficiency compared to DDR3

  • Usage: Mid 2010’s to present day desktop, laptop, servers

72
New cards

DDR5

  • Pins: 288

  • Data Rate: 2x per clock cycle with significant improvements

  • Latency: Further improvements in latency, power efficiency, and increased density compared to DDR4

  • Usage: High performance computing, modern desktop, laptop, servers

73
New cards

Virtual RAM

  • AKA: Virtual memory

  • Memory management technique used by OS to extend the apparent amount of RAM available to applications

  • Done by using a portion of a computer’s storage (such as an SSD or HDD) to simulate additional RAM

74
New cards

Virtual RAM - Paging

  • The OS divides physical memory and virtual memory into small fixed-sized blocks called pages

  • When the system runs out of physical RAM, it can swap inactive pages to the storage device, freeing up RAM for active processes

75
New cards

Virtual RAM - Pagefile/Swap Space

  • File or partition on the storage device

  • Used to store pages that are moved out of physical RAM

76
New cards

Virtual RAM - Address Translation

  • The CPU uses a memory management unit (MMU) to translate virtual addresses (used by programs) into physical addresses (used by the hardware)

  • Allows applications to use more memory than is physically available

77
New cards

RAM Related Issues - Insufficient RAM

  • Symptoms

    • Slow performance

    • Frequent freezing

    • Slow response times when opening apps

    • Excessive hard drive activity due to increased paging/swap file usage

  • Solution

    • Upgrade RAM to handle the memory demands of multiple design applications

78
New cards

RAM Related Issues - Faulty RAM

  • Symptoms

    • Random system crashes

    • Blue screens of death (BSODs)

    • Data corruption

    • Errors during software installation or while running programs

  • Solution

    • Swap or replace faulty RAM

    • If you have multiple RAM modules, test each one individually by removing all but one and booting the computer

79
New cards

RAM Related Issues - Incompatible RAM

  • Symptoms

    • System fails to boot

    • Constant reboots

    • BIOS does not recognize installed RAM

  • Solution

    • Make sure the RAM is installed correctly

    • Make sure there is no physical damage

    • Replace the RAM if it is not compatible with the motherboard specification

80
New cards

RAM Related Issues - Memory Leaks

  • Symptoms

    • Gradual decrease in available memory

    • System slows down over time

    • Applications may crash or freeze

  • Solution

    • Look for improper memory allocation and deallocation patterns

81
New cards

ROM (Read Only Memory)

  • Non-volatile memory used in computers and other electronic devices

  • Unlike RAM, which is volatile and loses its data when the power is turned off,

    • ROM retains its data even when the device is powered down

  • Makes ROM ideal for storing firmware, which is software that is closely tied to specific hardware and unlikely to need frequent updates

82
New cards

Types of ROM - Masked ROM (MROM)

  • Original form of ROM

  • Data is written during the manufacturing process and cannot be altered

  • Used for simple, unchangeable firmware

83
New cards

Types of ROM - Programmable ROM (PROM)

  • Can be written once after manufacturing

  • Data is programmed using a special device called a PROM programmer

84
New cards

Types of ROM - Erasable Programmable ROM (EPROM)

  • Can be erased by exposing it to ultraviolet light and then reprogrammed

  • Allows for the modification of data if needed, but the process is not simple

85
New cards

Types of ROM - Electrically Erasable Programmable ROM (EEPROM)

  • Can be erased and reprogrammed using an electrical charge

  • More flexible than EPROM

  • Allows for byte level modification and is commonly used for firmware updates

86
New cards

Types of ROM - Flash Memory

  • A type of EEPROM that can be erased and reprogrammed in blocks

  • Widely used in USB drives, SSDs, and memory cards

  • Can retain data without power and supports frequent rewrites

87
New cards

RAM VS. ROM

  • Volatility: RAM is volatile, ROM is non-volatile

  • Usage: RAM is used for temporary storage of data in use, ROM is used for permanent storage of firmware

  • Read/Write: RAM can be read and written to easily, ROM is primarily read only

  • Speed: RAM is faster than ROM

  • Capacity: RAM typically has larger capacities compared to ROM

88
New cards

Motherboard

  • Also known as a mainboard

  • Crucial component in any computer system

  • Serves as the central hub that connects various hardware components and allows them to communicate with each other

89
New cards

Motherboard: Chipset

  • A set of integrated circuits that manage data flow between the CPU, memory, storage devices, and peripherals

  • Includes the Northbridge and Southbridge

90
New cards

Motherboard: Northbridge

  • Responsible for highspeed peripherals

91
New cards

Northbridge: CPU Socket

  • Where the CPU is installed

  • Socket type determines which CPUs are compatible with motherboard

92
New cards

Northbridge: RAM Slots

  • Hold RAM modules

93
New cards

Northbridge: Expansion Slots

  • Allow you to install expansion cards such as:

    • Graphics cards (PCIe)

    • Sound cards

    • Network cards

    • Storage controllers

  • Common slot types:

    • PCIe x16

    • PCIe x1

    • Legacy slots like PCI

94
New cards

Northbridge: Integrated Graphics

  • GPU integrated into the motherboard

95
New cards

Motherboard: Southbridge

  • Slow peripherals

96
New cards

Southbridge: Storage Interfaces

  • Come with various storage interfaces for connecting hard drives (HDDs), solid-state drives (SSDs), and optical drives

  • SATA (Serial ATA) and M.2 are common interfaces for modern storage devices

97
New cards

Southbridge: BIOS/UEFI Chip

  • Contains the Basic Input/Output System (BIOS) or Unified Extensible Firmware Interface (UEFI), which provides the firmware interface for initializing hardware during the boot process and configuring system settings

98
New cards

Southbridge: I/O Ports

  • Located on the rear I/O panel of the motherboard and include:

    • USB ports

    • Audio jacks

    • Ethernet ports

    • Video outputs (if motherboard has integrated graphics)

    • Other connectors for peripherals

99
New cards

Southbridge: Fan Headers

  • Headers for connecting:

    • CPU fans

    • Case fans

    • Other cooling devices

  • To regulate system temperature

100
New cards

Southbridge: CMOS Battery

  • Small battery

  • Powers the CMOS (Complementary Metal-Oxide Semiconductor) memory

    • Stores BIOS/EUFI settings and system configurations even when the computer is powered off