Numbers every computer scientist should know Flashcards
1
Q
L1 Cache Reference
A
0.5ns
2
Q
Branch Mispredict
A
5ns
3
Q
L2 Cache Reference
A
7ns
4
Q
Mutex Lock/Unlock
A
25ns
5
Q
Main Memory Reference
A
100ns
6
Q
Compress 1Kb with Zippy
A
3,000ns/0.03ms
7
Q
Send 2Kb over 1Gbps network
A
20,000ns/0.02ms
8
Q
Read 1Mb sequentially from memory
A
250,000ns/0.25ms
9
Q
Roundtrip w/in same datacenter
A
500,000ns/0.5ms
10
Q
Disk Seek
A
10,000,000ns/10ms
11
Q
Read 1Mb sequentially from network
A
10,000,000ns/10ms
12
Q
Read 1Mb sequentially from disk
A
30,000,000ns/30ms
13
Q
Send packet CA->Netherlands->CA
A
150,000,000/150ms
14
Q
SSD random read
A
150,000ns/0.15ms
15
Q
Read 1 MB sequentially from SSD*
A
1,000,000ns/1ms