Formulas Flashcards

1
Q

Amdahl’s Law

A

1 / ((1-P) + P/N)
Amdahl’s law states that if P is the proportion of a program that can be made parallel (i.e. benefit from parallelization), then the maximum speedup that can be
achieved by using N processors is:

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

Bytes to bits

A

1 byte = 8 bits

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

Mega, Giga, Tera, Peta

A

1 mega = 1 e6
1 giga = 1e9
1 tera = 1e12
1 peta = 1e15

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

The false positive probability of a lookup in Bloom filter

A

(1 - e^(- kn/m))^k,
where n is the number of unique items inserted to the Bloom filter so far, k is the (optimal) number of hash functions, m is the memory in bits

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

The optimal number of hash functions

A

k = m/n ln(2),

m is memory in bits, n is the number of unique items inserted

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