According to Documentation/vm/transhuge.txt you can also set it as the boot parameter "transparent_hugepage=always". The problem with setting it via sysfs is that none of the processes started before you made the change will use huge pages.
According to Documentation/ vm/transhuge. txt you can also set it as the boot parameter "transparent_ hugepage= always" . The problem with setting it via sysfs is that none of the processes started before you made the change will use huge pages.