NALSD - Non-Abstract Large Sytem Design Flashcards

1
Q

Power of two, 1KB?

A

1KB = 2^10 Bytes

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

Power of two, 64KB?

A

64KB = 2^16 Bytes

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

Power of two, 1MB?

A

1MB = 2^20 Bytes

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

Power of two, 1GB?

A

1GB = 2^30 Bytes

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

Power of two, 1TB?

A

1TB = 2^40 Bytes

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

Power of two, 4GB?

A

4GB = 2^32 Bytes

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

Time L1 cache reference?

A

0’5ns

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

Time Branch mispredict?

A

5ns

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

Time L2 cache reference?

A

7ns (14x L1)

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

Time Mutex lock/unlock?

A

100ns (20x L2, 200x L1)

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

Time compress 1KB with Zippy?

A

10.000ns = 10us

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

Time send 1KB over a Gbit network?

A

10.000ns = 10us

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

Time read 4KB randomly from SSD?

A

150.000ns = 150us

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

Speed Round trips within same data center?

A

500.000ns = 500us

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

Time to read 1MB sequentially, from memory?

A

250.000ns = 250us

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

Time to read 1MB sequentially, from SSD?

A

1ms (4x Memory)

17
Q

Time Disk seek?

A

10ms (20x Data center round trip, 40x Memory)

18
Q

Time Read 1MB sequentially from Gbit network?

A

10ms (40x memory, 10x SSD)

19
Q

Time Read 1MB sequentially from disk?

A

30ms (120x memory, 30x SSD)

20
Q

Time of a Round-trip send between neighbor continents?

A

150ms

21
Q

Power of ten? (ns / us / ms)

A
ns = 10^-9 s
us = 10^-6 s
ms = 10^-3 s
22
Q

Speed Read sequentially from disk?

A

30MB/s

23
Q

Speed Read sequentially from Gbit network?

A

100MB/s

24
Q

Speed Read sequentially from SSD?

A

1GB/s

25
Q

Speed Read sequentially from memory?

A

4GB/s

26
Q

Number of world-wide Round-trips per second?

A

6-7 world-wide trips per second

27
Q

Size TCP header?

A

20B (TCPv4)

40B (TCPv6)

28
Q

Size UUID?

A

16B

29
Q

Size IP address?

A

32b (TCPv4)

128b (TCPv6)