DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Why We Disable Linux's THP Feature for Databases

4 years ago dzone.com
Why We Disable Linux's THP Feature for Databases

Summary: This is a summary of an article originally published by the source. Read the full original article here →

However, if you're not familiar with its working principles, you might meet unexpected performance issues.

To sum up, when threads apply for memory, the major causes of latency are direct memory reclaim and memory compaction.

This means that the current system doesn't have 2 MB of contiguous physical memory and that triggers the direct memory compaction.

For applications that are not optimized to store their data contiguously, or applications that have sparse workloads, enabling THP and THP defrag is detrimental to the long-running services.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com