Performance¶
Measured on rented NVIDIA A40 and A100 machines on 27 and 28 November 2026. Times in milliseconds; lower is better. The full records are 27 November and 28 November.
| Case | Dynome running on | Dynome | MDTraj | Dynome vs MDTraj |
|---|---|---|---|---|
| Surface area, 5 frames x 423 atoms | GPU | 12.7 | 89.4 | 7x faster |
| RMSD, 20,000 frames x 423 atoms | compiled kernel, 31 threads | 0.85 | 1.73 | 2x faster |
| RMSD, 20,000 frames x 423 atoms | compiled kernel, 1 thread | 18.1 | 32.9 | 1.8x faster |
| RMSD, 2,000 frames x 11,421 atoms | compiled kernel, 31 threads | 2.3 | 4.4 | 1.9x faster |
| Distances, 20,000 frames x 5,000 pairs | GPU | 401 | 439 | level |
| Surface area, 5 frames x 423 atoms | NumPy only, no GPU | 1,900 | 89.4 | 21x slower |
Without a GPU or the dynome-accel package, Dynome's NumPy kernels are slower than MDTraj:
surface area by 21x, RMSD by about 6x on one thread. Compiled surface-area and distance
kernels are the next piece of work.
Threads in containers¶
Containers often show every CPU of the host while allowing only a few. On one test machine
(252 CPUs visible, 31 allowed) MDTraj's RMSD took 242-401 ms with default settings and 1.7 ms
with OMP_NUM_THREADS=31. dynome-accel reads the container's CPU quota and chooses by itself.
Run the benchmark yourself¶
python benchmarks/run.py