当前位置:网站首页>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
边栏推荐
- 迁移学习——Distant Domain Transfer Learning
- "Dilili, wait for the lights, wait for the lights", the prompt sound for safe production in the factory
- 在这个超连接的世界里,你的数据安全吗
- 特殊矩阵的压缩存储
- 如何模拟后台API调用场景,很细!
- 【MySQL series】- Does LIKE query start with % will make the index invalid?
- 短域名绕过及xss相关知识
- SDC简介
- HOG特征学习笔记
- C language diary 9 3 kinds of statements of if
猜你喜欢

学习笔记-----左偏树

C language diary 9 3 kinds of statements of if

DAY23: Command Execution & Code Execution Vulnerability

Unleashing the engine of technological innovation, Intel joins hands with ecological partners to promote the vigorous development of smart retail

Quickly learn chess from zero to one

Advanced Numbers_Review_Chapter 1: Functions, Limits, Continuity

Intel XDC 2022 Wonderful Review: Build an Open Ecosystem and Unleash the Potential of "Infrastructure"

【Unity入门计划】2D游戏中遮挡问题的处理方法&伪透视

Matlab map with color representation module value size arrow

.Net C# Console Create a window using Win32 API
随机推荐
1349. Maximum number of students taking the exam Status Compression
第09章 性能分析工具的使用【2.索引及调优篇】【MySQL高级】
select 标签自定义样式
Transfer Learning - Joint Geometrical and Statistical Alignment for Visual Domain Adaptation
多线程(2)
02 【开发服务器 资源模块】
力扣-相同的树
亚马逊云科技 + 英特尔 + 中科创达为行业客户构建 AIoT 平台
使用SuperMap iDesktopX数据迁移工具迁移地图文档和符号
EBS利用虚拟列及hint 提示优化sql案例一则
Domain Driven Design - MDD
How do programmers without objects spend the Chinese Valentine's Day
HOG feature study notes
2022 EdgeX中国挑战赛8月3日即将盛大开幕
Live preview | 30 minutes started quickly!Look at credible distributed AI chain oar architectural design
【genius_platform软件平台开发】第七十六讲:vs预处理器定义的牛逼写法!!!!(其他组牛逼conding人员告知这么配置来取消宏定义)
【日常训练】1403. 非递增顺序的最小子序列
Exploding the circle of friends, Alibaba produced billion-level concurrent design quick notes are too fragrant
SuperMap iDesktop.Net之布尔运算求交——修复含拓扑错误复杂模型
行业案例|世界 500 强险企如何建设指标驱动的经营分析系统