美文网首页
Numbers Everyone Should Know

Numbers Everyone Should Know

作者: 王劲凯 | 来源:发表于2019-12-18 14:36 被阅读0次
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

相关文章

网友评论

      本文标题:Numbers Everyone Should Know

      本文链接:https://www.haomeiwen.com/subject/lvtenctx.html