15-213 Recitation 10 - PowerPoint PPT Presentation

About This Presentation
Title:

15-213 Recitation 10

Description:

HW 3 Due 4/4, 11:59 PM. Lab 4 Due 4/11, 11:59 ... Focus on algorithms first, then code. Think simple. There are two parts. Split the work between partners? ... – PowerPoint PPT presentation

Number of Views:26
Avg rating:3.0/5.0
Slides: 5
Provided by: shaheen8
Learn more at: http://www.cs.cmu.edu
Category:

less

Transcript and Presenter's Notes

Title: 15-213 Recitation 10


1
15-213 Recitation 10 4/2/01
  • Outline
  • Cacheing
  • Lab 4 Tips

Shaheen Gandhi e-mail sgandhi_at_andrew.cmu.edu Of
fice Hours Wednesday 130 230 Wean 3108
  • Reminders
  • HW 3 Due 4/4, 1159 PM
  • Lab 4 Due 4/11, 1159 PM

2
Cacheing
  • One of the big ideas in Computer Science
  • Store stuff thats going to be used again (or
    soon) closer to the processor
  • Locality
  • Temporal Locality Values recently used are used
    again (loops)
  • Spatial Locality Values close to each other are
    used together (arrays, data structures, etc.)
  • We will focus on hardware caches, although
    software caches are used as well

3
Hardware Caches
  • Three types
  • Direct Mapped Values are hashed to specific
    places in the cache
  • Fully Associative Values can go anywhere
  • Set Associative Mix of the two. Values are
    hashed to sets, in which the value can go
    anywhere
  • What difference does it make?
  • Performance

4
Lab 4 Tips
  • You have one week
  • Start soon
  • More theory than coding
  • Focus on algorithms first, then code
  • Think simple
  • There are two parts
  • Split the work between partners?
Write a Comment
User Comments (0)
About PowerShow.com