defrag_mode

file: /proc/sys/vm/defrag_mode
variable: vm.defrag_mode
Official reference

When set to 1, the page allocator tries harder to avoid fragmentation and maintain the ability to produce huge pages / higher-order pages.

It is recommended to enable this right after boot, as fragmentation, once it occurred, can be long-lasting or even permanent.