|
Large page support for MariaDB has a number of problems
MDEV-18726 - innodb allocates chunks larger than innodb_buffer_pool_chunk_size
- granularity - Linux has supported multiple large page sizes since kernel ~2.6.32. MariaDB needs multiple large page sizes to support a 128M key_cache_size/aria_pagecache_buffer_size to a larger 1G innodb_buffer_pool_chunk_size
- using shared memory means that kernel limits of kernel.shmall or kernel.shmmax need to be adjusted (and the biggest clue in the log is `Failed to attach shared memory segment, errno 22`)
- innodb falls back to conventional mmap if shmget SHM_HUGETLB fails, meaning the deallocation attempts to use shmdt on an mmapped segment.
|