Professional Documents
Culture Documents
Asgnt2 Pency
Asgnt2 Pency
Part - A
Ques2. Suppose you are given a processor with cache size of 2K (2048) words
with 16 words per block. Thus the cache has 128 block frames. Let the main
memory have a capacity of 256K words or 16,384 blocks. The physical address is
representable in 18 bits. Implement the direct mapping function in organizing the
cache memory.
Part - B
Ques3. Differentiate between Tse-yun Feng and Wolfgang Handler of processors?
Ques4. For a pipeline with 'n' stages, what is the ideal throughput? What prevents
us from achieving this ideal throughput?
Instrn Throughput
• Pipelining increases processor performance by increasing the instruction
throughput
• Several instructions overlapped in the pipeline, cycle time can be reduced,
increasing the rate at which instructions execute
The ideal throughput is to have 100% delivery through the pipes and it is not possible due to
absorbing and leakages in the pipe.
With "n" stage pipeline the throughput should be "n" instructions.As the pipe stages can't be perfectly
balanced ( time to perform task in a pipeline stage), furthermore pipeline does involve some
overheads.
Ques5. Instead of just 5-to-8 pipe, pipe stages, why not have, say, a pipeline with
50 pipe stages?