- Wait state
A wait state is a delay experienced by a computer processor when accessing external memory or another device that is slow to respond.
As of late
2007 , computer microprocessors run at very high speeds, while memory technology does not seem to be able to catch up: typical PC processors like theIntel Core 2 and theAMD Athlon 64 X2 run with a clock of severalGHz , while the main memory clock generally ranges from 667 to 1333 MHz. Some second-levelCPU cache s run slower than the processor core.When the processor needs to access external memory, it starts placing the address of the requested information on the
address bus . It then must wait for the answer, that may come back tens if not hundreds of cycles later. Each of the cycles spent waiting is called a wait state.Wait states are a pure waste for a processor's performance. Modern designs try to eliminate or hide them using a variety of techniques:
CPU cache s,instruction pipeline s,instruction prefetch ,branch prediction ,simultaneous multithreading and others. No single technique is 100% successful, but together they can significantly reduce the problem.Energy Conservation
Wait states can be used to reduce the energy consumption of a processor, by allowing the main processor clock to either slow down or temporarily pause during the wait state if the CPU has no other work to do. Rather than spinning uselessly in a tight loop waiting for data, sporadically reducing the clock speed in this manner helps to keep the processor core cool and to extend battery life in portable computing devices.
ee also
*
Bubble (computing)
Wikimedia Foundation. 2010.