Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
 One Stop GATE ForumGATE Technical DiscussionsGATE CS
Message Icon Topic: Pipeline Questions Post Reply Post New Topic
Author Message
manju
Senior Member
Senior Member


Joined: 20Feb2007
Online Status: Offline
Posts: 221
Quote manju Replybullet Topic: Pipeline Questions
    Posted: 22Feb2007 at 2:25pm
 1. Consider the case of a computer system employing both a cache and a paged
virtual memory . One can analyze this system
through identifying FIVE combinations of accesses. What are these combinations?

Determine the probability and the access time in each case assuming
the following information. Compute also the overall average access time.

TLB address translation and search 25 ns
Cache search time to determine whether address in cache 25 ns
Cache access time 25 ns
Main memory access time 250 ns
Hard disk access time 100 ms
TLB hit ratio 0.9
Cache hit ratio 0.95
Main memory hit ratio 0.8



2. Consider the execution of 500 instructions on a five-stage pipeline machine.
Compute the speed-up due to the use of pipelining given that the probability
of an instruction being a branch is p = 0.3? What must be the value of p and
the expected number of branch instructions such that a speed-up of at least 4 is
possible? What must be the value of p such that a speed-up of at least 5 is possible?
Assume that each stage takes one cycle to perform its task.

Plz try to solve this questions ??? Rolling Eyes



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
balu
Senior Member
Senior Member


Joined: 20Feb2007
Online Status: Offline
Posts: 236
Quote balu Replybullet Posted: 22Feb2007 at 2:27pm
 I can proceed wth few steps as folows:
In pipeline, 500 instructions, w/o any branch, they will take 500 clock cycles
Now, 500*0.3 are branch instr,
assuming branch instr stalls the pipeline for remaining stages till its execution is complete (coz no behaviour regarding ths is given Sad )
so they will take 500*0.3*(1 : for fetch + 4 : delayed) = 500 * 0.3 * 5

Remaining will execute normally i.e. 500*0.7 will take same amnt..
so avg = 500 * 0.7 + 500 * 0.3 * 5 = 750
as opposed to 500 when no branch.. Confused (i doubt abt ths.. )
so speed up = 1.5 Question

plz chk n correct.. i guess m mising some details.. Sad
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

GET LATEST FRESHERS JOBS IN YOUR MAIL





This page was generated in 0.188 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Job Interview Questions | Girls Magazine | DLL, OCX File Errors | Freshers Jobs | Placement Papers | More Papers