[pve-devel] disabling transparent hugepage by default like kernel 2.6.32 ?

Alexandre DERUMIER aderumier at odiso.com
Tue Sep 8 21:55:04 CEST 2015


in kernel 2.6.32, transparent hugepage is disabled by default by openvz patches.

now with kernel 4.1, it's enabled by default.

A lot of users reported in past problem with transparent hugepages, with big memory vms
(like database workload with io memory traffic).

I have myself seeing this recently.

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)

More information about the pve-devel mailing list