Memory Organization, Cache and C programming

Post on 18-Dec-2021

4 views 0 download

transcript

Carnegie Mellon

1

Memory Organization, Cache and C programming

15-213: Introduction to Computer Systems Recitation 7: Thursday, June19, 2014

Vinay Venkatesh (vinayven@andrew.cmu.edu)

Shiva (sshankar@andrew.cmu.edu)

Aditya Gupta (adityag1@andrew.cmu.edu)

Carnegie Mellon

2

Memory organization

Caching

Different types of locality

Cache organization

Programming in C and Unix kickstart

Cachelab

Part (a) Building Cache Simulator

Part (b) Efficient Matrix Transpose

Cache Lab demo

Agenda

Carnegie Mellon

16

Programming in C and Unix Kick-Start

Note: Remember to use man

Carnegie Mellon

35

Cache Lab Demo