A benchmark for random memory accesses