fa25-cs354 cs354
Exam 2 Review Exam 2 Review
Content locked
The catalog is public. Reading this content requires approved access.
Sign in to readExam 2 Review
Memory Model
Three Faces of Memory
Virtual Address Space Layout
Number System Conversions
Binary ↔ Decimal ↔ Hexadecimal
Powers of 2 Operations
Linux Processes
Heap: Dynamic Memory Allocation
C Standard Library (stdlib.h)
POSIX System Calls (unistd.h)
Heap Allocator Design
Block Organization
Implicit Free List
Header Format (size_status)
Explicit Free List
Allocation Operations
Placement Policies
Splitting
Coalescing
Cache Architecture
Memory Hierarchy
Cache Parameters
Cache Line Structure
Address Breakdown
Cache Types
Cache Operations
Lookup Algorithm
Replacement Policies
Write Policies
Cache Performance
Performance Metrics
Stride Effects
Array Access Patterns
Memory Mountain
IA-32 x86 Assembly
Data Types
Registers (32-bit)
P3: Heap Allocator Implementation
Key Functions
Requirements
Block Header
P4B: Cache Simulator
Command Line
Trace Format
Implementation
Key Formulas
Cache Calculations
Heap Size/Status
Common Pitfalls