Last active
July 9, 2016 19:55
-
-
Save prehensilecode/45483e13cb2af47ac1d4ec9df9fc088e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Operation | Latency (ns) | Comment | |
---|---|---|---|
L1 cache reference | 0.5 | ||
Branch mispredict | 5 | ||
L2 cache reference | 7 | 14x L1 cache | |
Mutex lock/unlock | 25 | ||
Main memory reference | 100 | 20x L2 cache 200x L1 cache | |
Compress 1K bytes with Zippy | 3000 | ||
Send 1K bytes over 1 Gbps network | 10000 | ||
Read 4K randomly from SSD | 150000 | ~1GB/sec SSD | |
Read 1 MB sequentially from memory | 250000 | ||
Round trip within same datacenter | 500000 | ||
Read 1 MB sequentially from SSD | 1000000 | ~1GB/sec SSD 4X memory | |
Disk seek | 10000000 | 20x datacenter roundtrip | |
Read 1 MB sequentially from disk | 20000000 | 80x memory 20X SSD | |
Send packet CA->Netherlands->CA | 150000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Converted from https://gist.github.com/jboner/2841832