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
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。
推荐阅读更多精彩内容
- 每一个计算机工程师都应该知道的数据列表 L1 cache reference: 0.5 nsBranch misp...
- 饿了么技术团队花了1年多的时间,实现了业务的整体异地多活,能够灵活的在多个异地机房之间调度用户,实现了自由扩容和多...
- 谷歌专业提示你知道对于一个给定的问题,最佳设计是什么吗?如果,假如,给你一个生成30个缩略图的图像搜索结果页面的问...