- Trending Categories
- Data Structure
- Operating System
- C Programming
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What is interpretation of sequential consistency of instruction execution?
Sequential consistency of instruction execution associates with two techniques such as first to the order in which instructions are finished and second to the order in which memory is created because of the load and store instruction or memory references of other instructions as shown in the figure.
The term processor consistency indicates the consistency of instruction completion with sequential instruction execution. Superscalar processors preserve either a weak or strong consistency.
A weak processor consistency means that instructions can complete out-of-order, provides that no data dependencies are satisfied. In this case, instructions may be reordered by the processor only if no dependencies are violated. To achieve this, data dependencies have to be detected and appropriated resolved during superscalar execution.
In the case of strong processor consistency, instructions are forced to complete in strict program order. Usually, this is achieved by employing a reorder buffer (ROB). The ROB is a very practical tool as it can also be used to implement renaming and shelving as well, and ROB is now widely used in superscalar processors.
The other aspect of superscalar instruction execution is whether memory accesses are performed in the same order as in a sequential processor. This aspect is termed memory consistency.
The memory consistency is weak if memory accesses may be out of order compared with strict sequential program execution. However, data dependencies must not be violated. In other words, weak consistency allows load/store reordering provided that dependencies, particularly memory data dependencies, are detected and resolved.
The other alternative is strong memory consistency, in which memory accesses occur strictly in program order. Strong memory consistency forbids any load/store reordering.
The sequential consistency model of a processor integrates both aspects. It specifies the kind of consistency maintained by the processor and by the memory. Thus, by taking into account both aspects of processor and memory consistency, it arrives at four possible sequential consistency models.
These are the WW, WS, SW, and SS consistency models, where the first character refers to the type of processor consistency (Weak/Strong) and the second type of memory consistency (Weak/Strong).
- Execution of ‘DAD rp’ instruction
- What is design space of instruction dispatch?
- The Interpretation of Dreams: Sigmund Freud
- What is the order of execution of TestNG methods?
- What is Sequential Exception Technique?
- What is sequential pattern mining?
- What is the order of execution of tests in TestNG?
- What is Execution order of Collection Runner in Postman?
- Explain the reading and interpretation of bar graphs.
- What is the layout of Pipelined Instruction in computer architecture?
- What are the approaches of Instruction Scheduling?
- Memory Consistency Error in Java
- What is the order of test execution with priority in TestNG?
- What is execution engine in JAVA?
- What are Sequential Investment Decisions?