# Percona MongoDB InMemory performance tuning

**URL:** <https://forums.percona.com/t/percona-mongodb-inmemory-performance-tuning/7739>\
**Category:** Percona Server for MongoDB\
**Created:** [July 3, 2020, 5:35am UTC](https://forums.percona.com/t/percona-mongodb-inmemory-performance-tuning/7739 "2020-07-03T05:35:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gck](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@gck](https://forums.percona.com/u/gck)\
**Post date:** [July 3, 2020, 5:35am UTC](https://forums.percona.com/t/percona-mongodb-inmemory-performance-tuning/7739/1 "2020-07-03T05:35:29Z")

</div>

Hello everyone,I’m looking for battle tested tips for tuning MongoDB and OS in order to achieve better throughput and latency.

---

<div class="post-metadata">

**Author:** ![Akira\_Kurogane](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/akira_kurogane/32/1280_2.png) [@Akira\_Kurogane](https://forums.percona.com/u/Akira_Kurogane)\
**Post date:** [July 14, 2020, 7:36am UTC](https://forums.percona.com/t/percona-mongodb-inmemory-performance-tuning/7739/2 "2020-07-14T07:36:42Z")

</div>

Hi.  
For that broad topic I would suggest&nbsp;[https://www.percona.com/blog/2020/04/17/mongodb-best-practices-2020-edition/](https://www.percona.com/blog/2020/04/17/mongodb-best-practices-2020-edition/ "Link: https://www.percona.com/blog/2020/04/17/mongodb-best-practices-2020-edition/")&nbsp;by Vinnie Grippa as a first stop.  
If you’re definitely going to use only the In-memory engine, well, anything to do with filesystems will be beside the point as the data files won’t be on disk. Also when using in-memory you can make the WiredTiger cache most of the RAM; with normal use you should leave a large proportion of RAM to be available for the OS’s filecache.  
Akira
