# Optimize mdrun

**URL:** <https://gromacs.bioexcel.eu/t/optimize-mdrun/6474>\
**Category:** User discussions\
**Tags:** mdrun\
**Created:** [May 23, 2023, 6:45pm UTC](https://gromacs.bioexcel.eu/t/optimize-mdrun/6474 "2023-05-23T18:45:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matthew1310](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Matthew1310](https://gromacs.bioexcel.eu/u/Matthew1310)\
**Post date:** [May 23, 2023, 6:45pm UTC](https://gromacs.bioexcel.eu/t/optimize-mdrun/6474/1 "2023-05-23T18:45:46Z")

</div>

GROMACS version: 2023  
GROMACS modification: No  
Hi  
I want to optimize mdrun in order to obtain the best performance on this system:  
RYZEN 5 SIX CORE SIX THREADS  
RTX 4070 12 GB GPU  
How to launch an MD-Run with best performance ?  
How many MPI Threads ?  
Should I use only -nb gpu -bonded gpu or also other options ?
