Sample Questins
Printed From: One Stop GATE
Category: GATE Technical Discussions
Forum Name: GATE CS
Forum Discription: General Technical Discussions, Queries, doubts etc. for GATE in CS.
URL: http://forum.onestopgate.com/forum_posts.asp?TID=1247
Printed Date: 09Feb2025 at 5:48am
Topic: Sample Questins
Posted By: ramya
Subject: Sample Questins
Date Posted: 30Apr2007 at 5:09am
Q.5. Computer Organization
In a certain machine data references constitute 40%
of the mix, and that the ideal CPI of the pipelined
machine is 1. Assume that the machine with structural
hazards has a clock rate that is 1.05 times higher
than the clock rate of machine without hazard.
What is effective speedup with pipelining without
structural hazard?
Options
1. 1.05
2. 1.3
3. 1
4. none of above
Ans: 2
Explanation:
We major the average instruction time on both the
machines to access speedup/slowdown.
Avg. instruction time = CPI * clock cycle time
Since there are no stalls/hazards, the average
instruction time for ideal machine is the clock cycle
times.
|
|