Troubleshooting the Real-Time Data-Cache-Size Calculation Test (Windows Embedded CE 6.0)

1/6/2010

When you test the data-cache-size calculations, you may encounter error messages or problems when conducting the test.

The following table lists error messages and shows descriptions and resolutions of common problems encountered during this test.

Description Resolution

Cache size is not valid. Choose an array size in KB as a power of two.

Change the array size input to a positive value. This makes sure that the new value is a power of two (for example, 2, 4, 8, 12, and so on).

Stride is not valid. Choose stride in bytes as a power of two.

Change the array size input to a positive value. This makes sure that the new value is a power of two (for example, 2, 4, 8, 12, and so on).

Array size is zero.

Make sure that the array size is not zero.

Stride is smaller than four bytes.

Change the stride size. The stride size must be equal to or greater than four bytes.

Either the array size or the stride size is too small.

Make sure that the maximum and minimum array and stride sizes have been typed correctly.

Cannot determine the cache-size jump rate.

Make sure that the jump rate is not equal to zero.

Cannot determine the cache-line jump rate.

Make sure that the jump rate is not equal to zero.

Cannot determine the initial iteration.

Make sure that the correct minimum array size has been entered.

Cache action duration is zero.

Make sure that the correct parameters have been used.

No XXX% percent cache jump found.

Change the minimum and maximum array sizes and try again.

No XXXu percent block-jump found.

Change the minimum and maximum stride sizes and try again.

Memory allocation error.

Exit the test case and run the test from the beginning.

External Resources

Stokes, Jon. "Understanding CPU Caching and Performance"

     Ars Technica. 9 July 2002. 31 July 2007

     <http://arstechnica.com/news.ars/post/20020709-2048.html>.

See Also

Concepts

Real-Time Data-Cache-Size Calculation Test
OAL Tests