当前位置:网站首页>Hardware factors such as CPU, memory, and graphics card also affect the performance of your deep learning model
Hardware factors such as CPU, memory, and graphics card also affect the performance of your deep learning model
2022-08-04 21:41:00 【The mountain of ignorance, the valley of despair, the slope of 】
Reference: https://posts.careerengine.us/p/5dcb5f53bb8d8844ea19cd0f
Data flow path
Assuming that we now have a batch of image sets on the hard disk, which are to be read into the memory and sent to the GPU for computing, the following process will generally be experienced:
The cpu issues a read command, finds the image data from the hard disk, and stores it inIn memory;
The cpu takes out a batch of data from memory, converts it into numpy array, and performs data preprocessing/enhancement operations, such as flipping, translation, color transformation, etc.Return to memory after processing.
Each of the cpu memory (hereinafter referred to as memory) and the gpu memory (hereinafter referred to as video memory) open up a buffer, and a batch of data in the memory is transferred to the video memory through the PCIe channel.
The GPU core obtains data from the video memory for parallel computing, and returns the calculation results to the video memory.
The calculated result will be returned from the video memory to the memory through the PCIe channel.
These 5 steps involve several links that affect data transfer speed:
HDD read speed;
PCIe transfer speed;
Memory read/write speed;
CPU frequency.
Let's talk about hard drives first.
After the hardware bottleneck is multi-threading at the software level
边栏推荐
- 【uiautomation】微信好友列表获取(存储到txt中)
- LocalDate时间日期包的用法
- DSPE-PEG-Aldehyde, DSPE-PEG-CHO, Phospholipid-Polyethylene Glycol-Aldehyde A hydrophobic 18-carbon phospholipid
- Spss-系统聚类手算实操
- CPU、内存、显卡等硬件因素也影响着你的深度学习模型性能
- matlab drawing
- In which industries is the PMP certificate useful?
- Pinduoduo open platform order information query interface [pdd.order.basic.list.get order basic information list query interface (according to transaction time)] code docking tutorial
- PyTorch Geometric (PyG) 安装教程
- input事件中文触发多次问题研究php DEBUG
猜你喜欢
随机推荐
DSPE-PEG-Aldehyde,DSPE-PEG-CHO,磷脂-聚乙二醇-醛基一种疏水18碳磷脂
中大型商业银行堡垒机升级改造方案!必看!
[QT] Implementation of callback function
ROS packages visualization
Why is MySQL query slow?
PowerCLi import license to vCenter 7
Codeforces Round #811 (Div. 3)
Cocoa Application-基础
unity2D横版游戏教程9-对话框dialog
How to solve the problem that the alarm information cannot be transmitted after EasyGBS is connected to the latest version of Hikvision camera?
七夕特制:《牛郎会织女》
Go----Go 语言基础之标识符、关键字、命名规范、变量、常量
ROS播包可视化
Yolov7:Trainable bag-of-freebies sets new state-of-the-art for real-time objectdetectors
驱动点云格式修改带来的效率提升
PRIMAL: Pathfinding via Reinforcement and Imitation Multi-Agent Learning Code Analysis
如何根据“前序遍历,中序遍历”,“中序遍历,后序遍历”构建按二叉树
Webmine Webpage Mining Trojan Analysis and Disposal
LeetCode143:重排链表
搬走地下空间开发利用“绊脚石” 中地数码取得地下空间透明化技术突破