|
谢谢liuyuje714,我是双CPU(每个CPU28核),两个20280TI显卡,修改了参数如下:
GPU_COUNT=2
CPU_COUNT=28(这里是否修改为56,两颗CPU,56核心),
但是还是有错误出现,而且两个GPU加速计算远比单个GPU加速计算慢,这是什么原因?
JAC_PRODUCTION_NPT - 23,558 atoms PME 4fs
-----------------------------------------
CPU code 28 cores: | ns/day = 68.90 seconds/ns = 1253.92
[0] 1 x GPU: | ns/day = 838.67 seconds/ns = 103.02
[1] 1 x GPU: | ns/day = 886.49 seconds/ns = 97.46
Multiple Single GPU Run Performance
[0] 1 x GPU: | ns/day = 857.28 seconds/ns = 100.78
[1] 1 x GPU: | ns/day = 886.67 seconds/ns = 97.44
2 x GPU: | ns/day = 285.90 seconds/ns = 302.21
Multiple 2xGPU Run Performance
[0,1] 2 x GPU: | ns/day = 297.59 seconds/ns = 290.33
JAC_PRODUCTION_NVE - 23,558 atoms PME 2fs
-----------------------------------------
CPU code 28 cores: | ns/day = 38.30 seconds/ns = 2256.10
[0] 1 x GPU: | ns/day = 510.40 seconds/ns = 169.28
[1] 1 x GPU: | ns/day = 513.35 seconds/ns = 168.31
Multiple Single GPU Run Performance
[0] 1 x GPU: | ns/day = 508.17 seconds/ns = 170.02
[1] 1 x GPU: | ns/day = 509.15 seconds/ns = 169.69
cudaMemcpy GpuBuffer::Download failed an illegal memory access was encountered
2 x GPU: | ns/day = 153.21 seconds/ns = 563.94
Multiple 2xGPU Run Performance
[0,1] 2 x GPU: | ns/day = 148.43 seconds/ns = 582.08
JAC_PRODUCTION_NPT - 23,558 atoms PME 2fs
-----------------------------------------
CPU code 28 cores: | ns/day = 38.49 seconds/ns = 2244.69
[0] 1 x GPU: | ns/day = 460.04 seconds/ns = 187.81
[1] 1 x GPU: | ns/day = 462.64 seconds/ns = 186.76
Multiple Single GPU Run Performance
[0] 1 x GPU: | ns/day = 459.35 seconds/ns = 188.09
[1] 1 x GPU: | ns/day = 453.62 seconds/ns = 190.47
2 x GPU: | ns/day = 139.81 seconds/ns = 617.96
Multiple 2xGPU Run Performance
[0,1] 2 x GPU: | ns/day = 134.95 seconds/ns = 640.26
FACTOR_IX_PRODUCTION_NVE - 90,906 atoms PME
|
|