|
这个计数器只是CPU”空载”等待GPU回传数据的时间,跟gmx计算效率没啥关系。事实上,gmx 2023版mdrun默认选项,The mdrun -update auto will by default map to GPU if supported. This gives a significant performance improvement with a single MPI rank. 再者,如果mdrun选项再加上-bonded gpu,那么绝大多数计算都在gpu上进行,cpu便空闲下来,此项计数器的时间自然大为增长。
以下为gmx论坛讨论https://gromacs.bioexcel.eu/t/re ... gle-gpu-runs/3555/2原文:
Nothing abnormal here, as you offload all CPU force compute the CPU has no useful work to do and after enqueuing GPU work for a sequence of steps until the CPU requires results (e.g. for pair search of I/O) it waits for the GPU to complete work. That is the wall-time measured in the above counter.
此外,众所周知,任何虚拟机都会带来性能损失,wsl也不例外。虚拟机影响cpu-gpu通信效率,从而使得整体计算效率降低。 |
|