Analyze the performance of MongoDB on Arm servers
Introduction
Install MongoDB on Arm
Creating MongoDB test scenarios
Benchmark MongoDB on Arm with Yahoo Cloud Serving Benchmark (YCSB)
Three node replica set testing with YCSB
Alternative performance testing of MongoDB
Automate MongoDB benchmark setup with Pulumi
Next Steps
Analyze the performance of MongoDB on Arm servers
Review frequently asked questions
These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.
You can use Ubuntu 20.04, 22.04, or 24.04; RHEL or CentOS 8 and 9; or Amazon Linux 2023. For more information, see the MongoDB
Platform Support Matrix
.
Use one instance for the YCSB client and one or more instances for MongoDB. For the recommended topology, create three equal-size replica-set nodes and send test traffic to the designated primary.
Start with a 95% read and 5% update mix, which is recommended for real-world testing. You can also run 100% read or a 90% read and 10% update mix. Warm up the database for about five minutes before you collect performance data.
Increase the thread count and adjust
operationcount and recordcount. Aim for about 90% or higher CPU utilization before you record measurements.Install Java and
curl, then use the bundled bin/ycsb.sh launcher for YCSB. Install an OpenJDK runtime if you also use the alternative MongoDB performance test tool.