> I think it's better to disable it by default. > > echo never > /sys/kernel/mm/transparent_hugepage/enabled. > > (I don't known what is the best way to disable it by default) I could set it in kernel config, for example: CONFIG_TRANSPARENT_HUGEPAGE_MADVISE=y would that help?