当前位置:网站首页>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
边栏推荐
- Cocoa Application-test
- matlab drawing
- input事件中文触发多次问题研究php DEBUG
- [QT] Implementation of callback function
- Hands-on Deep Learning_NiN
- js data type, throttling/anti-shake, click event delegation optimization, transition animation
- 【CC3200AI 实验教程 1】疯壳·AI语音人脸识别(会议记录仪/人脸打卡机)-开发环境搭建
- Spss-一元回归实操
- "Jianzhi offer" brush title classification
- dotnet delete read-only files
猜你喜欢
随机推荐
未知点云结构文件转换需求
Named routes, the role of name in components
【SQL之降龙十八掌】01——亢龙有悔:入门10题
强网杯2022——WEB
JdbcTemplate概述和测试
unity2D横版游戏教程9-对话框dialog
【PCBA program design】Grip dynamometer program
Driving point cloud format changes bring efficiency improvement
LayaBox---TypeScript---structure
milvus配置相关
[QT] Implementation of callback function
webmine网页挖矿木马分析与处置
打卡第 1 天:正则表达式学习总结
Cocoa Application-基础
硬件开发定制全流程解析
Axure9基本交互操作(一)
ROS packages visualization
知识分享|如何设计有效的帮助中心,不妨来看看以下几点
ROS播包可视化
2022强网杯web(部分)