Hi,
I tested a scene with lots of collisions in physics.
Different CPU + same GPU, Same CPU + different GPU, Multiple GPUs
In all cases, I could not see any change in speed in the case of Physics.
Physics seems to run slower when there are a lot of collisions, what could be causing this?
At first, I thought that the calculation was being done by the CPU, not the GPU.
This seemed unlikely, as the speed was the same on different PCs with the same GPU.
I have already confirmed that the Physics Scripting Manual says “By default, rigid body simulation is performed on the GPU.” under “CPU vs GPU Rigid Body Dynamics”.
I tried swapping to a different GPU on the same PC, but this did not change the speed either.
I have confirmed that RTX calculations (RTX Path-traced) become faster when the GPU performance is good or when multiple GPUs are used.
Confirmation environment
Window 10
Omniverse Create 2021.3.8
-
Verification PC1
CPU : AMD Ryzen 5 3600 (6 cores/12 threads)
Mem : 32GB -
Verification PC2
CPU : Intel(R) Xeon(R) Gold 6226R CPU @ 2.0GHz (32 cores/64 threads)
Mem : 96GB -
GPU1 : NVIDIA RTX A4000
-
GPU2 : NVIDIA RTX A5000
Confirmation procedure
-
New in Omniverse Create
-
Run “rigidbody_benchmark.py” in Script Editor
This is a free fall of 2560 balls.
“boundingSphere” is explicitly specified, but the results were the same even if it was not explicitly specified.
rigidbody_benchmark.py (4.1 KB) -
Press the Play button to start the animation.
Check it out by viewing the fps on Omniverse.
To be sure, I also measured it with FrameView.
Verification Results
[Verification PC1] + [RTX A4000]
[Verification PC2] + [RTX A4000]
[Verification PC2] + [RTX A5000]
[Verification PC2] + [RTX A4000] + [RTX A5000]
In both cases, there was no change at about 4.5-5 fps.