OAL Cache Churn Test (Windows Embedded CE 6.0)

1/6/2010

This test causes churn of the memory hierarchy and cache systems by mixing operations, such as allocation, freedom, reading, and writing, on blocks of memory.

To cause the churn, the test uses heuristic algorithms to perform the following tasks:

  1. Randomly move data into and out of the cache.
  2. Continuously put pressure on the cache.
  3. Test whether the VirtualAlloc(…) API returns zero-filled data. If it does not, this is good evidence of cache problems, because programs depend upon this behavior.
  4. Test whether data written to the cache matches that read from the cache.

In This Section

See Also

Concepts

OAL Tests

Other Resources

OAL Cache Tests