A+ 1001: CPU Flashcards
CPU
Central Processing Unit
Main components of CPU
I/O unit:
- external data bus
- internal data bus
Control Unit
- Logic unit “decoder”
- instruction address register
- instruction register
- Instruction Table
Registers
ALU (arithmetic and Logic Unit)
Clock Multiplier
SRAM (Cache)
Intel 8088 code
Used on the first-ever CPU
Clock
Tells the CPU to do something
Cpu pipeline
Cpu core
The internal steps were taken by the CPU Core to perform calculations
CPU can have multiple cores each acting like a CPU in itself
Clock Speed
Rate at which cpu can process information
1 Hz 1 cycle per second
1 GHz = 1 Billion cycles per second
Regulated by the quartz oscillator that acts like a metronome
The rest of the motherboard runs at a max of 400Mhz (4 million cycles per second)
2 major manufacturers
Intel
AMD (Advanced Micro Devices)
Clock multiplying
Cpu takes the pulse coming from the quartz oscillator and multiplies it, using an internal multiplier, because the CPU runs at a clock speed multitudes faster than the mother board
microarchitecture
internal design of the cpu
identified by the code name of cpu
What sets the base speed of the motherboard?
It is set at the factory with the oscillating quartz crystal
Overclocking
Process of manually set clock speeds on CPU and motherboard, to push the system beyond its rated speed
Hyperthreading
one core (pipeline) handling two incoming pieces of code
What happens when you click on a program?
A copy of that program that lives in mass storage is copied into RAM, once it is in RAM individual lines from the program is fed into the CPU where they are executed
or
When you click on a program, a process is created
That process is assigned its own ram and credentials (ie serial number)
The system then assigns that process to a CPU core
If there are no cores available, it will virtually split the core into one of the core threads
If there are no Cores or threads available then the process waits in queue until it is called into action.
If a core or thread is available the process is executed.
SRAM
Superfast ram that is built into the CPU and acts like a Cache
This helps to reduce the lag that results from the differing speeds between CPU, RAM, and MASS STORAGE.
Pipeline stall
Is what happens when the CPU asks for the next line of code and it is not available
The pipeline is shut down and has to wait for the code to be retrieved from RAM
3 Caches
Level 1 cache:
- 64k Ram
- Runs at multiplied speed of CPU
Level 2 cache:
- 128 - 256 K Ram
- Feeds the level 1 cache
- Runs at half the multiplied clock speed
Level 3 cache:
- Megabytes of RAM
- runs at base motherboard speed, littel faster than the RAM itself to prevent stalling
Set association
Defines efficiency of the different kinds of caches
4-way
8-way
12-way
CPU Sockets
Package for CPU
The mount where a CPU connects to the motherboard
PGA(Pin Grid Array): for cpu with pins
LGA(Land Grid Array):for cpu without pins, the socket has pins
Family names
Micro Architecture Design:
1st Gen: Nehalem 2nd Gen: Sandy Bridge 3rd Gen: Ivy Bridge 4th Gen: Haswell 5th Gen: Broadwell 6th Gen: Skylake 7th Gen: Kaby Lake 8th Gen: Coffee Lake
A single Micro Architecture will have different models
i3, i5,i7,i9
New types of cpus require new types of sockets
Why is it important to know the micro-architecture (family name) of a CPU?
To ensure it fits the socket on the mother board
Intel cpu designation
Intel
I7 - 5820K
Model: i7;
Generation: 5
SKU: 820
K: (alpha suffix)
AMD
AMD Ryzen 7 2700X
Brand: Ryzen market Segment: 7 Generation: 2 Performance Level: 7 Model number: 00 Power suffix: X
Comon Cpu socket:
INTEL:
LGA1150:Core i3/i5/i7, Pentium, Celeron, Xeon
LGA1151 (mainstream) Core i3/i5/i7, Pentium, Celeron, Xeon
LGA2011: Core i7, Core i7 extreme edition, Xeon
LGA2066 (higher-end cpus): Core i5/i7/i9, Xeon
AMD:
FM2: A-series
AM3 FX, Opteron
AM4 (mainstream): Ryzen, A-Series
TR4 (High end), Ryzen Thread Ripper
Can you interchange between AMD and Intel?
No
When buying a mother board, what should you look at?
Socket type: Does it match the CPU
Speed: How fast of a CPU can this motherboard handle