Streaming Store Usage Models; Coherent Requests; Non-Coherent Requests - Intel ARCHITECTURE IA-32 Reference Manual

Architecture optimization
Table of Contents

Advertisement

6
Optimizing Cache Usage
possible. This behavior should be considered reserved, and dependence
on the behavior of any particular implementation risks future
incompatibility.

Streaming Store Usage Models

The two primary usage domains for streaming store are coherent
requests and non-coherent requests.

Coherent Requests

Coherent requests are normal loads and stores to system memory, which
may also hit cache lines present in another processor in a
multi-processor environment. With coherent requests, a streaming store
can be used in the same way as a regular store that has been mapped
with a
memory type (
or
). An
instruction must be
WC
PAT
MTRR
sfence
used within a producer-consumer usage model in order to ensure
coherency and visibility of data between processors.
Within a single-processor system, the CPU can also re-read the same
memory location and be assured of coherence (that is, a single,
consistent view of this memory location): the same is true for a
multi-processor (MP) system, assuming an accepted MP software
producer-consumer synchronization policy is employed.

Non-coherent requests

Non-coherent requests arise from an I/O device, such as an AGP
graphics card, that reads or writes system memory using non-coherent
requests, which are not reflected on the processor bus and thus will not
query the processor's caches. An
instruction must be used
sfence
within a producer-consumer usage model in order to ensure coherency
and visibility of data between processors. In this case, if the processor is
writing data to the I/O device, a streaming store can be used with a
processor with any behavior of approach (a), page 11, above, only if the
region has also been mapped with a
memory type (
).
WC
PAT, MTRR
6-13

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ARCHITECTURE IA-32 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents