Benchmarks

GeForce RTX 4090 RELION Cryo-EM Benchmarks and Analysis

November 3, 2022
4 min read
EXX-Blog-RTX-4090-Relion-Benchmarks-Ananlysis.jpg

NVIDIA GeForce RTX 4090 Benchmarks Overview

As a value-added supplier of scientific workstations and servers, Exxact regularly provides reference benchmarks in various GPU configurations to guide Cryogenic Electron Microscopy (cryo-EM) scientists looking to procure systems optimized for their research. In this blog, we benchmark the NVIDIA RTX 4090 performance using Relion Cryo-EM, comparing GPU runtime to Total Runtime performance.

Software Summary

RELION (REgularised LIkelihood OptimisatioN), or Relion, has revolutionized the cryo-EM field since 2012. Developed by Scheres Lab at the MRC Laboratory of Molecular Biology, this stand-alone computer program uses a Bayesian approach to refine macromolecular structures by single-particle analysis of electron cryo-microscopy data.

The development of RELION is supported through long-term funding by the UK Medical Research Council and is distributed under a GPLv2 license. This means that anyone (including commercial users) can download, use and modify RELION free of cost. The MRC Laboratory just request that if RELION is useful in your work, you will cite their papers.

RELION GPU Support Summary

With advancements in automation, computing power, and visual technology, the scope and complexity of datasets used in cryo-EM have grown substantially. GPU support and acceleration are essential for the flexibility of resource management, prevention of memory limitations, and addressing the most computationally intensive processes of cryo-EM such as image classification, and high-resolution refinement.

Exxact RTX 4090 Workstation System Specs:

Nodes

1

Processor / Count

1x AMD Ryzen Threadripper PRO 5995WX

Physical Cores

64

Memory

256GB DDR4 Memory

Storage

3.84 TB NVMe Drive

OS

Ubuntu 20.04

CUDA Version

11.8

RELION Version

4.0

GPU Benchmarks

Benchmarks below are 3D classifications performed using the Plasmodium ribosome dataset

  • If runs are performed using the --scratch_dir option in RELION, the time to copy to scratch is subtracted from the total runtime of the command. This allows for the comparison of runs to be independent of storage pool variability.
  • "GPU Time" is reported as the time spent on the Expectation step in each of the 25 iterations of classification, which provides a solid snapshot of GPU speed as this is the primary GPU compute step in RELION.
  • Benchmarks in this chart are performed using four threads per process (--j 4). The system used in these results has two GPU cards installed.

Performance Overview

  • The NVIDIA RTX 4090 performs as expected showing improvements when using dual GPU configuration
  • The optimum setting for NVIDIA RTX 4090 on RELION is a calculation using J4 (4 threads) for both single and dual GPU configuration
  • 2x RTX 4090 (3103.0s) has a 42% gain over 2x RTX A5500 (5430.51s)
  • 2x RTX 4090 (3103.0s) has a 35% gain over 2x RTX 3090 (4788.02s)

Notes on System Memory

Although a minimum of 64GB of RAM is recommended to run RELION with small image sizes (eg. 200×200) on either the original or accelerated versions of RELION, 360×360 problems run best on systems with more than 128GB of RAM. Systems with 256GB or more RAM are recommended for the CPU-accelerated kernels on larger image sizes. Insufficient memory causes individual MPI-ranks to be killed, leading to zombie RELION jobs.

MPI Settings

Where some users may want to run more than one MPI-rank per GPU, sufficient GPU memory is needed. Each MPI-slave that shares a GPU increases the use of memory. In this case, however, it’s recommended to run a single MPI-slave per GPU for good performance and stable execution.

Note: Machines with at least two GPU cards would be preferable for refinement using GPUs. If you need to (or want to) run multiple MPI-ranks on each GPU, RELION will attempt to do so in an efficient way if you simply specify more ranks than there are GPUs.

You can run multiple threads just as with previous versions of RELION, using the --j <x> option. Each MPI process will launch the specified number of threads. This may speed up calculations, without costing much extra memory either on the CPU (RAM) or on the GPU.

The MPI Settings for this configuration used 2 MPI Ranks.

Notes on Scaling

The GPUs tested was Ada Lovelace based. As a result, it is more beneficial to scale out than scale-up. We await professional RTX Ada Generation GPUs and Hopper H100 GPUs to benchmark.


Have any questions about RELION or other applications for molecular dynamics?
Contact Exxact Today


Topics

EXX-Blog-RTX-4090-Relion-Benchmarks-Ananlysis.jpg
Benchmarks

GeForce RTX 4090 RELION Cryo-EM Benchmarks and Analysis

November 3, 20224 min read

NVIDIA GeForce RTX 4090 Benchmarks Overview

As a value-added supplier of scientific workstations and servers, Exxact regularly provides reference benchmarks in various GPU configurations to guide Cryogenic Electron Microscopy (cryo-EM) scientists looking to procure systems optimized for their research. In this blog, we benchmark the NVIDIA RTX 4090 performance using Relion Cryo-EM, comparing GPU runtime to Total Runtime performance.

Software Summary

RELION (REgularised LIkelihood OptimisatioN), or Relion, has revolutionized the cryo-EM field since 2012. Developed by Scheres Lab at the MRC Laboratory of Molecular Biology, this stand-alone computer program uses a Bayesian approach to refine macromolecular structures by single-particle analysis of electron cryo-microscopy data.

The development of RELION is supported through long-term funding by the UK Medical Research Council and is distributed under a GPLv2 license. This means that anyone (including commercial users) can download, use and modify RELION free of cost. The MRC Laboratory just request that if RELION is useful in your work, you will cite their papers.

RELION GPU Support Summary

With advancements in automation, computing power, and visual technology, the scope and complexity of datasets used in cryo-EM have grown substantially. GPU support and acceleration are essential for the flexibility of resource management, prevention of memory limitations, and addressing the most computationally intensive processes of cryo-EM such as image classification, and high-resolution refinement.

Exxact RTX 4090 Workstation System Specs:

Nodes

1

Processor / Count

1x AMD Ryzen Threadripper PRO 5995WX

Physical Cores

64

Memory

256GB DDR4 Memory

Storage

3.84 TB NVMe Drive

OS

Ubuntu 20.04

CUDA Version

11.8

RELION Version

4.0

GPU Benchmarks

Benchmarks below are 3D classifications performed using the Plasmodium ribosome dataset

  • If runs are performed using the --scratch_dir option in RELION, the time to copy to scratch is subtracted from the total runtime of the command. This allows for the comparison of runs to be independent of storage pool variability.
  • "GPU Time" is reported as the time spent on the Expectation step in each of the 25 iterations of classification, which provides a solid snapshot of GPU speed as this is the primary GPU compute step in RELION.
  • Benchmarks in this chart are performed using four threads per process (--j 4). The system used in these results has two GPU cards installed.

Performance Overview

  • The NVIDIA RTX 4090 performs as expected showing improvements when using dual GPU configuration
  • The optimum setting for NVIDIA RTX 4090 on RELION is a calculation using J4 (4 threads) for both single and dual GPU configuration
  • 2x RTX 4090 (3103.0s) has a 42% gain over 2x RTX A5500 (5430.51s)
  • 2x RTX 4090 (3103.0s) has a 35% gain over 2x RTX 3090 (4788.02s)

Notes on System Memory

Although a minimum of 64GB of RAM is recommended to run RELION with small image sizes (eg. 200×200) on either the original or accelerated versions of RELION, 360×360 problems run best on systems with more than 128GB of RAM. Systems with 256GB or more RAM are recommended for the CPU-accelerated kernels on larger image sizes. Insufficient memory causes individual MPI-ranks to be killed, leading to zombie RELION jobs.

MPI Settings

Where some users may want to run more than one MPI-rank per GPU, sufficient GPU memory is needed. Each MPI-slave that shares a GPU increases the use of memory. In this case, however, it’s recommended to run a single MPI-slave per GPU for good performance and stable execution.

Note: Machines with at least two GPU cards would be preferable for refinement using GPUs. If you need to (or want to) run multiple MPI-ranks on each GPU, RELION will attempt to do so in an efficient way if you simply specify more ranks than there are GPUs.

You can run multiple threads just as with previous versions of RELION, using the --j <x> option. Each MPI process will launch the specified number of threads. This may speed up calculations, without costing much extra memory either on the CPU (RAM) or on the GPU.

The MPI Settings for this configuration used 2 MPI Ranks.

Notes on Scaling

The GPUs tested was Ada Lovelace based. As a result, it is more beneficial to scale out than scale-up. We await professional RTX Ada Generation GPUs and Hopper H100 GPUs to benchmark.


Have any questions about RELION or other applications for molecular dynamics?
Contact Exxact Today


Topics