title: C++ cache aware programming
body: <p>is there a way in C++ to determine the CPU's cache size? i have an algorithm that processes a lot of data and i'd like to break this data down into chunks such that they fit into the cache. Is this possible?
  Can you give me any other hints on programming with cache-size in mind (especially in regard to multithreaded/multicore data processing)?</p>
  
  <p>Thanks!</p>