I placed a tiny microbenchmark called "memtest" at http://www.opensolaris.org/os/community/performance/numa/observability. It basically walks a big memory chunk several times and measures the time it takes to do the walk. Although very simple this microbenchmark is quite configurable and allows you to easily measure the effect of cache sizes, hardware prefetch policies and memory locality. Try it out. It is especially interesting to play with the "distance" (-d) options which specifies the distance in bytes between subsequent reads.
It would be really great to integrate it to libmicro. If Phil or Bart wouldn't do it soon I'll try to integrate it with libmicro myself, but in the meantime, feel free to play with it. - Alex _______________________________________________ perf-discuss mailing list perf-discuss@opensolaris.org