Lesson 25: Making Memories
Outline:
- Caution: avoid “fork bombs”
- Shells
- many shell programs exist:
bash,zsh,PowerShell, … - prompt-read-execute loop
- see Lab 8 for relevant samples
- many shell programs exist:
- Storage and the memory hierarchy
- Cache overview
- motivation: spatial/temporal locality
- basic principles
- Cache types
- direct-mapped
- fully associative
- set-associative
Our last two assignments:
Try getting started on these soon!
- Networking (A8): try to print a string containing only the first line of the request, and then get the hostname
- Operating Systems (A9): use
forkto spawn a child process in a prompt-read-execute loop, and hard-code it to callls