Reference no: EM133248212
Assignment:
Consider the following statement: "A sequentially consistent multiprocessor guarantees that different executions of the same multithreaded program produce the same architecturally-exposed ordering of memory operations." Is this statement true or false? Explain your reasoning.
Assume an operation can be divided into 1, 10, or 50 pipeline stages with no overhead and the pipeline can be kept full. Answer the following questions.
A) What degree of pipelining would provide the optimal throughput? What is the throughput relative to the un-pipelined version?
B) What degree of pipelining would provide the optimal latency? What is the latency relative to the un-pipelined version?
A cache may be organized such that: In one case, there are more data elements per block and fewer blocks. In another case, there are fewer elements per block but more blocks However, in both cases - i.e. larger blocks but fewer of them OR shorter blocks, but more of them - the cache's total capacity (amount of data storage) remains the same.
Answer the following questions.
A) What are the pros and cons If block size is larger? Support your answer with a short example assuming that the cache is direct mapped.
B) What are pros and cons If there are fewer elements per block and more blocks. Support your answer with a short example assuming that the cache is direct mapped.
Please give detail explanation to these questions.