当前位置:网站首页>Common hardware delays
Common hardware delays
2022-08-05 02:18:00 【FatherOfCodingMan】
Latency Numbers Every Programmer Should Know · GitHub
Latency Comparison Numbers (~2012)
----------------------------------
Level 1 Cache Reference 0.5 NS
Branch prediction error Branch Mispredict 5 NS
Tier Class Cache Reference 7 NS 14X L1 Cache
Mutex Lokk/UNLOCK 25 NS
Main Memory Reference 100NS 20X L2 Cache, 200x L1 Cache
Compression Compress 1K Bytes with Zipp 3,000 NS 3 us
Send 1K Bytes Over 1 GBPS Network 10,000 NS 10 US
Read 4K Randomly FROMLY SSD* 150,000 NS 150 US ~ 1G MSD* 150 US ~ 1G MSD* 150 US ~ 1G MSD/sec SSD
Read 1 MB sequentially from memory 250,000 ns 250 us
Round trip within same datacenter 500,000 ns 500 us
Read 1 MB sequentially from SSD* 1,000,000 ns 1 ms ~1GB/sec SSD, 4X memory
Disk seek 10,000,000 ns 10,000 us 10 ms 20x datacenter roundtrip
Read 1 MB sequentially from disk 20,000,000 ns 20,000 us 20 ms 80x memory, 20X SSD
Send packet CA->Netherlands->CA 150,000,000 ns 150,000 us 150 ms
Notes
-----
1 ns = 10^-9 seconds
1 us = 10^-6 seconds = 1,000 ns
1 ms = 10^-3 seconds = 1,000us = 1,000,000 ns
Yearly data are shown below
Numbers Every Programmer Should Know By YearNumbers Every Programmer Should Know By YearNumbers Every Programmer Should Know By Year

Level 1 cache 1ns
Branch prediction failed 3ns
Second level cache 4ns
Mutex lock/unlock 17ns
Main memory 100ns
Zipp Compression 1k 2,000 ns
Public network sending 2k 44ns (the network has improved a lot, I don't know if there is any problem with the data, if the sending and receiving are added up)
Memory reads 1m data continuously for 3,000ns
SSD random read 16,000ns
边栏推荐
- the mechanism of ideology
- Matlab map with color representation module value size arrow
- 高数_复习_第1章:函数、极限、连续
- CMS website construction process
- 第09章 性能分析工具的使用【2.索引及调优篇】【MySQL高级】
- 【日常训练】1403. 非递增顺序的最小子序列
- 亚马逊云科技 + 英特尔 + 中科创达为行业客户构建 AIoT 平台
- Flink 1.15.1 集群搭建(StandaloneSession)
- 2022了你还不会『低代码』?数据科学也能玩转Low-Code啦!
- Quickly learn chess from zero to one
猜你喜欢

常见的硬件延迟

多线程(2)

LeetCode uses the minimum cost to climb the stairs----dp problem

【解密】OpenSea免费创造的NFT都没上链竟能出现在我的钱包里?

Using OpenVINO to implement the flying paddle version of the PGNet inference program

LPQ(局部相位量化)学习笔记

Live preview | 30 minutes started quickly!Look at credible distributed AI chain oar architectural design

MySQL learning

ExcelPatternTool: Excel table-database mutual import tool

迁移学习——Joint Geometrical and Statistical Alignment for Visual Domain Adaptation
随机推荐
直播回放含 PPT 下载|基于 Flink & DeepRec 构建 Online Deep Learning
PHP技能评测
Quickly learn chess from zero to one
海量服务实例动态化管理
迁移学习——Joint Geometrical and Statistical Alignment for Visual Domain Adaptation
Live playback including PPT download | Build Online Deep Learning based on Flink & DeepRec
".NET IoT from scratch" series
编译预处理等细节
使用SuperMap iDesktopX数据迁移工具迁移ArcGIS数据
Transfer Learning - Joint Geometrical and Statistical Alignment for Visual Domain Adaptation
ExcelPatternTool: Excel table-database mutual import tool
英特尔 XDC 2022 精彩回顾:共建开放生态,释放“基建”潜能
开篇-开启全新的.NET现代应用开发体验
Amazon Cloud Technology joins hands with Thundersoft to build an AIoT platform for industry customers
高数_复习_第1章:函数、极限、连续
领域驱动设计——MDD
Leetcode brushing questions - 22. Bracket generation
第09章 性能分析工具的使用【2.索引及调优篇】【MySQL高级】
Opening - Open a new .NET modern application development experience
Tree search (bintree)