This is not the current version of the class.

Storage 2: Caches, costs and benefits, stdio

Overview

In this lecture, we describe caches in general, including access costs, metrics, and benefits. We also use strace to explore the default standard I/O cache.

Full lecture notes on storageTextbook readings

What is a cache?

Write speeds

Investigating the standard I/O cache

Cache abstraction

Storage access costs

Cost model

Question 1

Metrics: Latency and throughput

Relationships between latency and throughput

High-latency, high-throughput I/O

AWS Snowmobile

Latency, throughput, and access costs