Who is this for?

This is an introductory topic for software developers who want to learn how to deploy and measure MongoDB performance on Arm servers.

What will you learn?

Upon completion of this Learning Path, you will be able to:

  • Install and run MongoDB on an Arm server.
  • Test MongoDB performance using open-source tooling.
  • Measure and compare the performance of MongoDB on Arm versus other architectures with YCSB.

Prerequisites

Before starting, you will need the following:

Summary

AI-assisted

This summary was 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.

Close
?
You’ll install and benchmark MongoDB Community Edition 8.0 on Arm-based Linux servers. First, you’ll configure a three-node replica set and a separate YCSB client. Then, you’ll load data, run common read and update mixes, warm up the database, and adjust threads and dataset parameters to increase CPU use. You can also run a Java-based performance tool for targeted operation mixes and compare results across systems.

Frequently asked questions

AI-assisted

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.

Close
?
Which Linux distributions can I use to install MongoDB Community Edition 8.0 on Arm?
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 .
How should I set up the environment to run YCSB against MongoDB?
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.
Which YCSB workloads should I run first, and how long should I warm up?
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.
What should I change if CPU utilization is low during the benchmark?
Increase the thread count and adjust operationcount and recordcount. Aim for about 90% or higher CPU utilization before you record measurements.
What software do I need to run the benchmarking tools?
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.
Next