Performance Zone is brought to you in partnership with:

Richard is an empirical technologist and solver of deep-dive technical problems. Recently he has been working on data analytics for high performance computing at jClarity and is writing a book on Java 8 Lambdas for O’Reilly. He is a leader in the London Java Community, sits on their JCP Committee and organises the Adopt-a-JSR programs for Lambdas and Date and Time in Java 8. Richard is also a known conference speaker, having talked at JavaOne, DevoxxUK, Geecon and JAX London. Previously he worked on static analysis problems, verifying part of a compiler and developing automated bug detection technology. He obtained a PhD in Computer Science from The University of Warwick where his research focussed on compiler theory. Richard is a DZone MVB and is not an employee of DZone and has posted 15 posts at DZone. You can read more from them at their website. View Full User Profile

Caching In: Understand, Measure and Use your CPU Cache More Effectively

10.04.2013
| 5244 views |
  • submit to reddit
I've put the slides online for JavaOne talk on CPU Cache Optimization. Here's the talk abstract:
Modern computationally intensive tasks are rarely bottlenecked by the absolute performance of your processor cores. The real bottleneck in 2013 is getting data out of memory. CPU caches are designed to alleviate the difference in performance between CPU core clock speed and main memory clock speed, but developers rarely understand how this interaction works or how to measure or tune their application accordingly. This session aims to address this by:
  • Describing how CPU caches work in the latest Intel hardware
  • Showing what and how to measure in order to understand the caching behavior of software
  • Giving examples of how this affects Java program performance and what can be done to address poor cache utilization


Published at DZone with permission of Richard Warburton, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)