wisconsin
Lecture 11: Cache-Friendly Code

Lecture 11: Cache-Friendly Code

Content locked

The catalog is public. Reading this content requires approved access.

Sign in to read
Lecture 11: Cache-Friendly Code
Overview
Learning Objectives
CPU Cache Lines (L1-L3)
Cache Line Granularity
Cache Lines and Misses
Example 1: Step and Multiply
Example 2: Matrices
Numpy: Controlling Layout with Transpose
Example 3: Ordered Collections of Strings
PyArrow String Arrays
Virtual Address Spaces
Processes and Address Spaces
What Goes in an Address Space
How Code Executes
Page Cache
mmap (Memory Map)
Anonymous mmap
File-Backed mmap
Swap Space
Conclusion
Source