This is great. I've come across a few articles lately about caches and their effects on performance. It's really interesting stuff. If this interested you, then you might find this article[1] by Dan Luu on improving performance by <i>misaligning</i> data interesting as well.<p>[1]: <a href="http://danluu.com/3c-conflict/" rel="nofollow">http://danluu.com/3c-conflict/</a>
The code for the benchmark: <a href="https://github.com/mikeb01/qconsf2014/blob/master/src/main/java/com/lmax/qconsf2014/l3/L3CacheBenchmark.java" rel="nofollow">https://github.com/mikeb01/qconsf2014/blob/master/src/main/j...</a>