diff --git a/etc/tmpfiles.d/thp.conf b/etc/tmpfiles.d/thp.conf new file mode 100644 index 0000000..284a726 --- /dev/null +++ b/etc/tmpfiles.d/thp.conf @@ -0,0 +1,3 @@ +# Improve performance for applications that use tcmalloc +# https://github.com/google/tcmalloc/blob/master/docs/tuning.md#system-level-optimizations +w! /sys/kernel/mm/transparent_hugepage/defrag - - - - defer+madvise