equal
deleted
inserted
replaced
|
1 .. -*- coding: utf-8; -*- |
|
2 .. include:: HEADER.rst |
|
3 |
|
4 ============= |
|
5 Development |
|
6 ============= |
|
7 .. contents:: |
|
8 :local: |
|
9 |
|
10 Numbers everyone should know |
|
11 ============================ |
|
12 |
|
13 * L1 cache reference 0.5 ns |
|
14 * Branch mispredict 5 ns |
|
15 * L2 cache reference 7 ns |
|
16 * Mutex lock/unlock 100 ns |
|
17 * Main memory reference 100 ns |
|
18 * Compress 1K bytes with Zippy 10,000 ns |
|
19 * Send 2K bytes over 1 Gbps network 20,000 ns |
|
20 * Read 1 MB sequentially from memory 250,000 ns |
|
21 * Round trip within same datacenter 500,000 ns |
|
22 * Disk seek 10,000,000 ns |
|
23 * Read 1 MB sequentially from network 10,000,000 ns |
|
24 * Read 1 MB sequentially from disk 30,000,000 ns |
|
25 * Send packet CA->Netherlands->CA 150,000,000 ns |
|
26 |