










































































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!











































































All transfers simultaneous One task or operation enters the pipeline per cycle Processors reservation table : diagonal 4
T T T T T T T T T
Full pipeline after 4 cycles
i
i+ m d Clock cycle of the pipeline : Latch delay : d = max {m } + d Pipeline frequency : f f = 1 / 6
k-stage pipeline processes n tasks in k + (n-1) clock cycles: k cycles for the first task and n- 1 cycles for the remaining n- 1 tasks Total time to process n tasks Tk = [ k + (n-1)] For the non-pipelined processor T 1 = n k Speedup factor Sk = T 1 Tk = n k [ k + (n-1)] = n k k + (n-1) 7
14
x 1 x^ x 1 x 2 1 x 1 x 2 x 1 x 2 x 3 x 2 x 3 x 1 x 4 x 1 x 2 x 2 x 3 x 4 x 3 x 4 x 1 x 2 x 4 x 2 x 3 x 4 1 2 3 4 5 6 7 8 9 10 Latency = 2 16
x 1 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 x 1 x 1 x 1 x 1 x 1 x 1 x 2 x 1 x 2 x 2 x 2 x 2 x 2 x 3 x 2 x 2 x 3 x 3 x 3 x 3 18 x 3 Cycle Cycle Latency cycle : the sequence of initiations which has repetitive subsequence and without collisions Latency sequence length : the number of time intervals within the cycle Average latency : the sum of all latencies divided by the number of latencies along the cycle 17