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.
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.
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
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