智星云文档
  • 新手入门

    • 算力租用流程
    • 常见问题
    • 如何选择GPU
  • 技术相关

    • turbovnc安装配置
    • 智星云huggingface加速节点使用教程
    • AI模型库:服务器预载,极速下载
    • linux安装cuda和pytorch方法
    • 测试服务器带宽的方法
    • windows常见问题
    • GPU测速
    • Linux实用基础
    • jupyter notebook连接linux
    • VSCode连接到云主机
    • macOS系统连接到云主机
    • 拓展磁盘
    • 端口映射
    • GPU无法调用
    • ssh链接保持
    • ssh在云主机后台运行
    • 基于SSH的链接异常
    • VSCode远程连接失败
    • centos7-epel加速
    • conda使用源
    • docker镜像压缩
    • dynslam安装
    • huggingface下载
    • ubuntu安装显卡驱动
    • 编译tensorflow
    • linux上传文件&数据上传Windows
    • 更新git到最新
    • 回环设备
    • nvidia-smi输出解析
    • Topaz 视频处理教程

安装gpu burn

git clone https://github.com/wilicc/gpu-burn
cd gpu-burn/
make

测试

./gpu_burn 60
100.0%  proc'd: 14280 (7373 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13464 (7369 Gflop/s) - 13974 (7351 Gflop/s) - 16626 (7470 Gflop/s
100.0%  proc'd: 14280 (7373 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16626 (7470 Gflop/s
100.0%  proc'd: 14382 (7224 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16626 (7470 Gflop/s
100.0%  proc'd: 14382 (7224 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16728 (7458 Gflop/s
100.0%  proc'd: 14382 (7224 Gflop/s) - 13390 (6997 Gflop/s) - 16014 (6994 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16728 (7458 Gflop/s) - 14688 (7569 Gflop/s)   
errors: 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0   temps: 59 C - 69 C - 66 C - 65 C - 67 C - 65 C - 60 C - 63 C 
Killing processes.. Freed memory for dev 7
Uninitted cublas
Freed memory for dev 5
Uninitted cublas
Freed memory for dev 1
Freed memory for dev 4
Uninitted cublas
Uninitted cublas
Freed memory for dev 3
Freed memory for dev 0
Uninitted cublas
Uninitted cublas
Freed memory for dev 6
Uninitted cublas
Freed memory for dev 2
Uninitted cublas
done

Tested 8 GPUs:
        GPU 0: OK
        GPU 1: OK
        GPU 2: OK
        GPU 3: OK
        GPU 4: OK
        GPU 5: OK
        GPU 6: OK
        GPU 7: OK

这样我们就能看到每张gpu的性能了

测试单精度

./gpu_burn 60

双精度

./gpu_burn -d 60

tensor core

./gpu_burn -tc 60

可用环境变量指定测哪个显卡

export CUDA_VISIBLE_DEVICES=0,1
Prev
windows常见问题
Next
Linux实用基础