Numbers Everyone Should Know

type numbers
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns
Mutex lock/unlock 25ns
Main memory reference 100ns
Compress 1K bytes with Zippy 3000 ns
Send 2K bytes over 1Gbps network 20000 ns
Read 1 MB sequentially from memory 250000 ns
Round trip within same datacenter 500000 ns
Disk seek 10000000 ns
Read 1 MB sequentially from disk 20000000 ns
Send packet CA->Netherlands->CA 150000000 ns
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容