Real Time Systems Design And Analysis

Chapter 7.6.19 - Speculative Execution

7.6.19  Speculative Execution

Speculative execution is a compiler optimization technique used in multiprocessing
software systems. Speculative execution optimization is similar to that
used in pipeline computer architectures (recall the prefetch of the next sequential
instructions from memory). In the case of compiled code, speculative execution
involves an idle processor optimistically and predictively executing code in the
next process block, so long as there is no dependency in that process block on
code that could be running on other processors.

The benefit of this scheme is that idle time and response times can be reduced
on individual processors and for the overall system. However, there is a net
penalty on the average case performance if the optimistic code execution is
nullified by some activity on another processor, for example, a time penalty is
incurred in order to roll back (as in pipeline flushing).

UNLIMITED FREE
ACCESS
TO THE WORLD'S BEST IDEAS

SUBMIT
Already a GlobalSpec user? Log in.

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.

Customize Your GlobalSpec Experience

Category: PCMCIA Memory Cards
Finish!
Privacy Policy

This is embarrasing...

An error occurred while processing the form. Please try again in a few minutes.