12.07.2015 Views

Cache Usage Tutorial - MGNet

Cache Usage Tutorial - MGNet

Cache Usage Tutorial - MGNet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Principles of locality Temporal locality: an item referenced now will bereferenced again soon Spatial locality: an item referenced now indicates thatneighbors will be referenced soon <strong>Cache</strong> lines are typically 32-128 bytes with 1024being the longest recently. Lines, not words, aremoved between memory levels. Both principles aresatisfied. There is an optimal line size based on theproperties of the data bus and the memorysubsystem designs.Prof. Craig C. DouglasUniversity of Kentucky andYale UniversityHiPC2003, 12/17/2003 vHPC <strong>Cache</strong> Aware Methods 15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!