A method and apparatus for testing cache coherency in a multiprocessor
data processing arrangement. Selected values are written to memory by a
plurality of threads, and consistency of the values in the memory with
the values written by the plurality of threads is verified. Performance
characteristics of the data processing system are measured while writing
the values, and in response to the performance characteristics relative
to target performance characteristics, parameters that control writing by
the plurality of threads are selectively adjusted.