Category: Software, Database, Data

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.

Related Articles