Benchmark GPU Blender classroom on Linux in command line

Posted on Wed 04 September 2024 by Pavlo Khmel

Measure: time to render 1 frame from Blender demo files "Classroom".

OS: Rocky Linux 9.4

Blender release: 4.0.1

Download Classroom demo file:

curl -O https://download.blender.org/demo/test/classroom.zip
unzip classroom.zip
cd classroom

Commands example to run on the first GPU:

module load Blender/4.0.1-linux-x86_64-CUDA-12.1.1
export CUDA_VISIBLE_DEVICES=0
blender -noaudio -b classroom.blend -F PNG -s 1 -e 1 -o ./image -a -- --cycles-device CUDA

For multiple GPUs change:

export CUDA_VISIBLE_DEVICES=0,1,....

Results on NVIDIA P100, V100, A100, H100:

1 x P100: 00:58.27
2 x P100: 00:33.41

1 x V100: 00:30.41
2 x V100: 00:16.94

1 x A100: 00:20.28
2 x A100: 00:12.05
3 x A100: 00:09.85
4 x A100: 00:08.80
5 x A100: 00:08.84
6 x A100: 00:08.48

1 x H100: 00:12.99
2 x H100: 00:07.98
3 x H100: 00:06.88
4 x H100: 00:07.01
5 x H100: 00:07.41
6 x H100: 00:07.68
7 x H100: 00:08.32
8 x H100: 00:08.90