If you want to use TokuDB with MariaDB, MySQL, or Percona Server, you will need to disable support for transparent hugepages in Linux.
Fortunately, this is very easy to check, and to change.
An easy way to check is with:
This will return something like:
[always] madvise never
Note the word surrounded by “” is what this option is set to. So the above is set to “always”. To disable it, we want it set to “never”.
I’ve found the easiest way to change/set this is to add the below to your /etc/rc.local file (and then reboot your system):
if test -f /sys/kernel/mm/transparent_hugepage/enabled; then echo never >[Read more...]