Scaling MariaDB on ARM
summary
MariaDB on ARM reaches QPS of 1.7 million on four NUMA nodes after fixes; contributors replace a hot global counter with a sharded global counter, switch a global dict mutex to table-level locks, and tune spin loops and purge scheduling. An adaptive purge throttles background purge threads by redo-log watermarks and reduces jitter, boosting throughput up to 5x in tests. IO tuning (innodb_io_capacity, lru_flush_size) and element-per-latch patches further stabilise IO-bound workloads.
AI-written summary · about
chapters (24)
- 0:00Introduction to MariaDB on ARM
- 1:06Speaker introduction and agenda
- 1:52Why ARM suits databases
- 3:16ARM market growth and adoption
- 4:32MariaDB ecosystem on ARM
- 5:59Performance comparison ARM vs x86
- 7:24Cost vs performance trade-offs
- 8:35Community support and readiness
- 9:21What enables MariaDB scaling on ARM
- 9:46Understanding NUMA scalability
- 10:50NUMA issues in MariaDB
- 12:20Performance improvements from NUMA fixes
- 13:48Write workload challenges
- 14:35Spin-loop optimization
- 15:47Purge optimization for read-only workloads
- 17:43Purge scheduling and jitter issues
- 19:31Adaptive purge algorithm
- 22:03Flushing and IO-bound workloads
- 23:35Doublewrite buffer impact
- 24:41Tuning flushing parameters
- 25:45LRU flushing importance
- 27:16LRU flushing configuration
- 28:01Element per patch optimization
- 28:49Resources and Q&A
