Maximizing OpenMM Molecular Dynamics Throughput with NVIDIA Multi-Process Service

AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.

Why it matters

Computational chemists running OpenMM molecular dynamics can more than double GPU throughput for small systems today by enabling NVIDIA MPS, with no code changes.

Read this as

Molecular dynamics simulations, computer models of how atoms move over time, often can't fill up a modern graphics card (GPU) on their own, wasting computing power. NVIDIA's Multi-Process Service (MPS) lets several simulations run at once on the same GPU. NVIDIA benchmarked this using OpenMM, a popular simulation tool, and found throughput more than doubled for a small 23,000-atom system on an H100 GPU. This affects anyone running scientific simulations, especially drug-discovery researchers.

NVIDIA published a tutorial showing that its Multi-Process Service (MPS) boosts molecular dynamics throughput in OpenMM 8.2.0 at no added cost: a small DHFR system more than doubled throughput on an H100, and a large 409K-atom system gained about 20%. Free energy perturbation simulations via OpenFE saw 36% gains with three concurrent processes on L40S and H100 GPUs. Labs already owning these GPUs gain utilization without buying hardware; individual simulations run slower, only total throughput rises.

MPS is a binary-compatible CUDA API implementation that lets multiple processes share one GPU's scheduling resources, avoiding context-switch overhead and enabling concurrent kernel execution (Volta and later). Benchmarks with OpenMM 8.2.0, CUDA 12 and openmm/examples/benchmark.py on DHFR (23K atoms), ApoA1 (92K) and Cellulose (409K) showed the smallest systems gaining most, over 2x on H100. Setting CUDA_MPS_ACTIVE_THREAD_PERCENTAGE to 200/number-of-processes added a further 15–25% for eight DHFR runs, reaching ~5 microseconds per day on one L40S or H100. OpenFE replica-exchange FEP runs saw 36% higher throughput with three MPS processes.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

NVIDIA Multi-Process Service OpenMM OpenFE H100 L40S CUDA

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading