title: How do cache lines work?
body: <p>I understand that the processor brings data into the cache via cache lines, which - for instance, on my Atom processor - brings in about 64 bytes at a time, whatever the size of the actual data being read.</p>
  
  <p>My question is:</p>
  
  <p>Imagine that you need to read one byte from memory, which 64 bytes will be brought into the cache?</p>
  
  <p>The two possibilities I can see is that, either the 64 bytes start at the closest 64 bytes boundary below the byte of interest, or the 64 bytes are spread around the byte in some predetermined way (for instance, half under, half above, or all above).</p>
  
  <p>Which is it?</p>