1Q. If the instruction count is 4210, what is the number of memory stall cycles?
ID: 3672035 • Letter: 1
Question
1Q. If the instruction count is 4210, what is the number of memory stall cycles?
2Q) Assume you have the following 3 types of instructions, with execution time breakdown: numerical instruction at 83 seconds memory instructions at 40 seconds subroutine instructions at 21 seconds Let’s say you eliminate subroutine instructions. What is the speedup? What if you eliminate half of the subroutine instruction, what is the speedup?
3Q. Compare the cache placement if there are 24 sets in the cache, 16 is the block address; when there is a fully associative cache, 4-way set associative cache and direct mapped cache.
Explanation / Answer
Question 1:
Formula to calculate Memory stall cycles is
Memory Stall Cycles = Iinstruction Count x Memory References per Instruction x Miss Rate x Miss Penalty
Instrruction Count is given as 4210
Remaining values are not given in the question.
Substituting remaing values will get the result
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.