• Monty's avatar
    MDEV-33279 Disable transparent huge pages after page buffers has been... · c777429c
    Monty authored
    MDEV-33279 Disable transparent huge pages after page buffers has been allocatedDisable transparent huge pages (THP)
    
    The reason for disabling transparent huge pages (THP) is that they
    do not work well with MariaDB (or other databases, see links in
    MDEV-33279). The effect of using THP are that MariaDB will use much more
    (10x) more memory and will no be able to release memory back to the system.
    
    Disabling THP is done after all storage engines are started, to allow
    buffer pools and keybuffers (big allocations) to be allocated as huge
    pages.
    c777429c
mysqld.cc 340 KB