当前位置:网站首页>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
边栏推荐
- C language knowledge (1) - overview of C language, data types
- Spss-系统聚类软件实操
- 零基础都能拿捏的七夕浪漫代码,快去表白或去制造惊喜吧
- Win11如何开启Telnet客户端?
- Altium Designer 19.1.18 - Protecting Locked Objects
- [larave]关于laravel使用form submit()不能获取值问题
- Webmine Webpage Mining Trojan Analysis and Disposal
- Hands-on Deep Learning_NiN
- matlab drawing
- CPU、内存、显卡等硬件因素也影响着你的深度学习模型性能
猜你喜欢
随机推荐
数字重塑客观世界,全空间GIS发展正当其时
Axure9基本交互操作(一)
强网杯2022——WEB
Altium Designer 19.1.18 - Protecting Locked Objects
[larave]关于laravel使用form submit()不能获取值问题
AI/ML无线通信
1319_STM32F103串口BootLoader移植
【uiautomation】微信好友列表获取(存储到txt中)
模拟对抗之红队免杀开发实践
C语言知识大全(一)——C语言概述,数据类型
2022强网杯web(部分)
laravel whereDoesntHave
打卡第 2 天: urllib简记
看看XDOC如何做Word文档预览
buu web
实战:10 种实现延迟任务的方法,附代码!
In action: 10 ways to implement delayed tasks, with code!
【PCBA program design】Grip dynamometer program
立方度量(Cubic Metric)
DSPE-PEG-Aldehyde, DSPE-PEG-CHO, Phospholipid-Polyethylene Glycol-Aldehyde A hydrophobic 18-carbon phospholipid