



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CSE490-590 Quiz 1 2025 Quiz 1 – V2| Answered 2025/2026.
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!
CSE 490/590 – Quiz 1 2025/26. Instructions:
[Question 1] (6 Points) Suppose that we want to enhance the processor used for web serving. The new processor is 4 times faster on computation in a given web serving application than the original processor. Assuming that the original processor was busy with computation 60% of the time and was waiting for I/O 40% of the time, what is the overall speedup gained by incorporating the enhancement? Show your work. [Question 2] (6 Points) A program's run time for a given processor is determined using the number of instructions per program, the number of cycles per instruction, and clock frequency of the processer. Consider a program with the following instruction mix. Find the CPI for the same. Show your work. Instructions % cycle branch 20% 3 integer ALU 45% 1 load 20% 4 sw 15% 2
Green Sheet attached] (Show your work) lw $s1,6($t1)
a. For each of the following instructions, list the stages that are necessary for the execution of the given instruction: (IF, ID, EX, MEM, WB) i. add $t6, $s3, $s ii. b. For each of the following instructions, list the component numbers (as shown in the diagram above) that are required for the given instruction: i. add $t6, $s3, $s
Page 5 sw $s3, 24($s1)
Instr. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Page 6 sub $s4, $s2, $s lw $t0, 8($s1) addi $t1, $t0, 2 sw $t0, 4($s1) ii. sw $s3, 24($s1)
Consider the following MIPS instruction sequence: add $s3, $s2, $s a. Find the data (RAW) hazards for the above instruction sequence and explain why it creates such hazard(s). (3 Points)
b. Show the pipeline diagram after inserting Data Forwarding Unit to overcome data dependencies: (5 Points)