Memory Organization, Cache and C programming

35
Carnegie Mellon 1 Memory Organization, Cache and C programming 15-213: Introduction to Computer Systems Recitation 7: Thursday, June19, 2014 Vinay Venkatesh ([email protected]) Shiva ([email protected]) Aditya Gupta ([email protected])

Transcript of Memory Organization, Cache and C programming

Carnegie Mellon

1

Memory Organization, Cache and C programming

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

Vinay Venkatesh ([email protected])

Shiva ([email protected])

Aditya Gupta ([email protected])

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