Numbers every computer scientist should know Flashcards

1
Q

L1 Cache Reference

A

0.5ns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Branch Mispredict

A

5ns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

L2 Cache Reference

A

7ns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Mutex Lock/Unlock

A

25ns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Main Memory Reference

A

100ns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Compress 1Kb with Zippy

A

3,000ns/0.03ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Send 2Kb over 1Gbps network

A

20,000ns/0.02ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Read 1Mb sequentially from memory

A

250,000ns/0.25ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Roundtrip w/in same datacenter

A

500,000ns/0.5ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Disk Seek

A

10,000,000ns/10ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Read 1Mb sequentially from network

A

10,000,000ns/10ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Read 1Mb sequentially from disk

A

30,000,000ns/30ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Send packet CA->Netherlands->CA

A

150,000,000/150ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

SSD random read

A

150,000ns/0.15ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Read 1 MB sequentially from SSD*

A

1,000,000ns/1ms

How well did you know this?
1
Not at all
2
3
4
5
Perfectly