GPU Utilization

萝らか妹 提交于 2019-12-06 11:07:45

问题


I have been using NVML library to get the values of graphics and memory utilization for Rodinia benchmark suite. I observe that with different frequencies, the utilization of the same application shows different values. From the wiki link http://en.wikipedia.org/wiki/CPU_usage it seems it does not take into account the various stalls like memory, branch etc. What exactly is this utilization measuring during a time interval? And how come its value is varying with variation in frequency.

Thanks


回答1:


The definition of the utilization rates is given in the nvml documentation, p90:

8.12 nvmlUtilization_t Struct Reference
#include <nvml.h>
Data Fields
• unsigned int gpu
Percent of time over the past second during which one or more kernels was executing on the GPU.
• unsigned int memory
Percent of time over the past second during which global (device) memory was being read or written.

The utilization rates for a given workload will likely vary if you change the application clocks (I assume that is what you mean by frequency).

For example, if the GPU core clock runs faster, then the processing of the workload may be changed, and it may take less time to complete the workload.



来源:https://stackoverflow.com/questions/16617796/gpu-utilization

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!