Explain What are the different hazards? How do we avoid them?
Submitted by: AdministratorThere are situations, called hazards, that prevent the next instruction in the instruction stream from executing during its designated clock cycle. Hazards reduce the performance from the ideal speedup gained by pipelining. There are three classes of Hazards:
1. Structural Hazards: It arise from resource conflicts when the hardware cannot support all possible combinations of instructions simultaniously in ovelapped execution.
2. Data Hazards: It arise when an instruction depends on the results of previous instruction in a way that is exposed by the ovelapping of instructions in the pipeline.
3. Control Hazards: It arise from the pipelining of branches and other instructions that change the PC.
Submitted by: Administrator
1. Structural Hazards: It arise from resource conflicts when the hardware cannot support all possible combinations of instructions simultaniously in ovelapped execution.
2. Data Hazards: It arise when an instruction depends on the results of previous instruction in a way that is exposed by the ovelapping of instructions in the pipeline.
3. Control Hazards: It arise from the pipelining of branches and other instructions that change the PC.
Submitted by: Administrator
Read Online Computer Architecture And Design Job Interview Questions And Answers
Top Computer Architecture And Design Questions
☺ | Explain MESI? |
☺ | Explain a Snooping cache? |
☺ | Explain The CPU is busy but you want to stop and do some other task. How do you do it? |
☺ | Instead of just 5-8 pipe stages why not have, say, a pipeline with 50 pipe stages? |
☺ | How do we handle precise exceptions or interrupts? |
Top PC Hardware Categories
☺ | Motherboard Interview Questions. |
☺ | Basic Computer Interview Questions. |
☺ | Embedded Systems Interview Questions. |
☺ | A + (Plus) Hardware Interview Questions. |
☺ | Computer Architecture Interview Questions. |