Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.


All students of CS501 are directed to participate in the GDB that will be opened from July 09, 2013 to July 10, 2013.

GDB answer via email or through MDB will not be accepted.

Note: Your answer should not be greater than 200 words.

Topic:

In xyz organization a system was installed based on pipelining processors. Later that system faced structural hazards, now you have two methods to avoid hazards, one is add “stalls” and other one is “adding new hardware” in that system. Which method will you prefer and why?

Justify your answer with appropriate reason.

Views: 1510

Replies to This Discussion

u r right, stalls effect processor utilization.  so, should we prefer addition of hardware ??

 

I think hardware is one time expense and precious time consumed with each instruction. 

where u have tell me dear where stalls is best or new hardware tell me mc110403622

in my opinion adding new hardware will be best in the given situation as it will save time.

The compiler solution to hazards is complex,
expensive and not very efficient as compared to the hardware solution

The data path becomes more complex if forwarding or bypassing mechanism is added to the
processor.

A structural hazard occurs when attempting toaccess the same resource in different ways
at the same time. It occurs when the hardware is not enough to implement pipelining
properly e.g. when the machine does not support separate dataand instruction memories.

Resolving Structural Hazards
One approach to structural hazards is to reorder operations such that two instructions are never so close
to one another that this sort of hazard occurs. The extent to which this is possible depends largely on
the hardware; a string of successive multiplications could be difficult to organize such that a structural
hazard never occurred. However, barring that, reordering operations to prevent this kind of hazard is
often viable during compiler time. Because the compiler has knowledge of how long a particular
instruction will take – it might know, for example, that a multiply instruction will begin using the
multiplier two cycles after it is issued and stop using it seven cycles later – it can organize instructions
such that they do not overlap in this way using only information available at compile time.

Tabassum apki baat us waqt theek ha jb ap koi instruction personally execute kr rahay ho, but in GDB it is the matter of an organization, so adding hardware is better than other methods.

plzzzz yeh confirm karin kay hardware se karin ya stalling 

kosna best ha plz bata dain with reasons

ap log meri descusion dekhen gdb ki 2 tim descusion hy yahan ap 2sri b dekhen ok

RSS

Looking For Something? Search Below

VIP Member Badge & Others

How to Get This Badge at Your Profile DP

------------------------------------

Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service