Computer Architecture and Memory Systems
-
Instruction Set Architecture and Implementation
Separate an instruction’s architectural effects from the pipeline and execution hardware used to implement them.
-
Two’s Complement, Carry, and Signed Overflow
Interpret a fixed-width sum in signed and unsigned models and identify why carry and signed overflow report different conditions.
-
Pipeline Latency and Steady-State Throughput
Calculate the completion time of a simple pipeline and see how one slow stage limits continued issue.
-
Pipeline Data Hazards and Forwarding
Determine when a dependent instruction can use a value and decide whether bypassing or a stall is necessary.
-
Branch Prediction and Pipeline Recovery
Explain why a processor predicts control flow and estimate a workload’s average cycle cost from misprediction rate and recovery cost.
-
Register Renaming and Out-of-Order Execution
Distinguish true data dependencies from name reuse and trace how physical registers hold values that are still in flight.
-
In-Order Retirement and Precise Exceptions
Separate finishing an instruction internally from committing it and show how exceptions can identify one clean architectural boundary.
-
Superscalar Issue and Dependency Bounds
Estimate achievable throughput by combining the capacity of execution resources with the latency of necessary dependency chains.
-
Cache Lines, Locality, and Reuse
Count cache-line transfers for sequential and strided accesses and distinguish compulsory work from repeated misses.
-
Set-Associative Caches and Conflict Misses
Map line addresses to cache sets and show how a stride can evict lines even when nominal capacity is large enough.
-
Write-Through, Write-Back, and Write Allocation
Follow stores through a cache and separate when lower levels are updated from what happens on an initial write miss.
-
Cache Coherence and Single-Writer Ownership
Trace a shared line from several readers to one writer and distinguish cache ownership from ordering between different locations.
-
False Sharing and Cache-Line Ownership Traffic
Diagnose why independent counters can slow each other down when their storage occupies the same coherence unit.
-
SIMD Lanes, Masks, and Remainders
Group independent operations into lanes and explain how dependencies, masks, and floating-point semantics constrain a vector loop.
-
Matrix Tiling and Arithmetic Intensity
Reuse blocks of matrices within faster memory and compare operation count with the traffic of one tile update.
-
The Roofline Performance Bound
Calculate whether peak arithmetic or byte movement bounds an operation under a specified bandwidth and intensity model.
-
NUMA Placement and Remote Memory Cost
Compare local and remote memory placement for a repeated access pattern and account for the cost of moving data between nodes.
-
DMA Buffers, Ownership, and Coherence
Track a buffer across a CPU and a device and separate address mapping, ownership transfer, and completion visibility.
-
Descriptor Rings and Device Completion
Reason about a circular submission queue whose entries are reused only after the consumer returns ownership.
-
Memory ECC and Error Syndromes
Use a parity-check syndrome to identify a single flipped bit and explain why extra parity improves double-error detection.