
Thread-Level Parallelism (TLP) refers to the ability of a computer system to execute multiple threads simultaneously , typically on multiple cores or processors , to improve overall...
Thread-Level Parallelism (TLP) refers to the ability of a computer system to execute multiple threads simultaneously, typically on multiple cores or processors, to improve overall throughput.
While Instruction-Level Parallelism (ILP) exploits parallelism within a single thread, TLP exploits parallelism across multiple threads.
Multithreading (MT)
Simultaneous Multithreading (SMT)
Multi-core Processing
Cache coherency is a hardware mechanism that ensures that all processors or cores see a consistent view of memory when multiple caches store copies of the same data.
Without coherency, different cores may read stale or inconsistent data, leading to incorrect program behavior.
Write Propagation
Transaction Ordering
| State | Meaning |
|---|---|
| M (Modified) | Cache has the only valid copy, memory not updated |
| E (Exclusive) | Cache has the only valid copy, memory is updated |
| S (Shared) | Cache shares the data with other caches |
| I (Invalid) | Cache line is invalid |
X = 5 → modifies cache line holding X → invalidates copies in Core 2’s cache.This ensures that all threads see a consistent value for X.
| Concept | Definition / Purpose |
|---|---|
| Thread-Level Parallelism (TLP) | Execution of multiple threads concurrently to increase throughput |
| Forms of TLP | Multithreading, Simultaneous Multithreading (SMT), Multi-core execution |
| Cache Coherency | Ensures consistent memory view across multiple caches |
| Protocols | MESI (Modified, Exclusive, Shared, Invalid), write-invalidate, write-update |
| Challenges | Synchronization, stale data, resource contention |
Open this section to view and download past papers
Click on Show Past Papers to load available exam papers.