







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








1
2
3
4
Varies from small number of nodes to many hundreds and thousands
P P P P
Collection of multiple processors & memories Divide work among the processors Collaborate to accomplish task in parallel, rather than sequentially
7
8
Cache
Mem I/O
Interconnect
Cache
Mem I/O
Cache
Mem I/O
Cache
Mem I/O
Cache
Mem I/O
Cache
Mem I/O
Node
Individual interconnected PEs with memory at each node - network connected MPs
Typical for large N
9
Typically high bandwidth interconnect Cost-effective scaling of memory bandwidth Assuming most accesses to local memory Limited node-to-node communication & synchronization Lower latency to local memory Don’t have to go “across bus” to shared memory Communication among nodes is more complex Communication has higher latency
10
13
Benchmark IPC Description SPECint 0.9 General purpose applications SPECweb 0.3 User web requests TPC-C 0.2 Database transactions
Low IPC Î Memory bound applications (will wait on memory) Server class machines Î Many requests to service NOT a good situation for typical general-purpose processor
14
opensparc.org
15
Core 1
Ready
Running
Waiting C^ D
Core 2
Ready
Running
Waiting G
Core 3
Ready
Running
Waiting J^ K
Core 4
Ready
Running
Waiting N^ O
Thread is ready to run: A dependence from memory has been resolved
Thread is running: It is being actively fetched and dispatched into pipeline
Thread is running: It is being actively fetched and dispatched into pipeline
16
Time
Thread 1 (^) COMP MEM MEM MEM COMP MEM MEM
Thread 2
Thread 3
Thread 4
OS selects a new thread to run (among ready ones), say Thread 2
Pipeline stalls during the memory access – has to wait for data to satisfy dependence
19
Time
Thread 1
Thread 2
Thread 3
Thread 4
Round-robin scheduling – favor throughput Î Individual thread latency is harmed ICOUNT for response-time & throughput
20
Time
Thread 1
Thread 2
Thread 3
Thread 4
Typical: Mix of memory, branches, computation Long latency – just skip Schedule using round-robin
21
Time
Virtual Pipeline 32
Virtual Pipeline 31
Virtual Pipeline 30
Virtual Pipeline 29
Core 8
Core 1
Virtual Pipeline 1
Virtual Pipeline 2
Virtual Pipeline 3
Virtual Pipeline 4
22
In-order, single issue pipeline Cache hit 3 cycles (switch) No branch prediction (switch) Fetch 4 instrs/cycle from 2 threads Four contexts
25
26