Latency Numbers Flashcards

1
Q

1 ns (nanosecond)

A

10^-9 seconds

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

1 µs (microsecond)

A

10^-6 seconds = 1000 nanoseconds

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

1 ms (millisecond)

A

10^-3 seconds = 1 000 microseconds = 1 000 000 nanoseconds

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

L1 cache reference

A

0.5 nanoseconds

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

Branch mispredict

A

5ns

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

L2 cache reference

A

7ns

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

Mutex lock/unlock

A

100ns

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

Main memory reference

A

100ns

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

Compress k bytes with Zippy

A

10 000 ns = 10µs

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

Send 2K bytes over 1 Gbps network

A

20 000 ns = 20µs

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

Read 1 MB sequentially from memory

A

250 000 ns = 250µs

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

Round trip within the same data center

A

500 000 ns = 500µs

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

Disk seek

A

10 000 000 ns = 10 000 µs = 10 ms

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

Read 1 MB sequentially from the network

A

10 000 000 ns = 10 000 µs = 10 ms

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

Read 1 MB sequentially from the disk

A

30 000 000 ns = 30 000 µs = 30 ms

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

Send packet from CA -> Netherlands or Netherlands -> CA

A

150 000 000 ns = 150 000 µs = 150 ms