Details
-
Task
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
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.
Attachments
Issue Links
- causes
-
MDEV-26533 MariaDB 10.5 and 10.6 crashes with key_buffer_size greater than 4Gb on Windows 64bit
- Closed
- relates to
-
MDEV-18726 INNDOB gets confused when using large pages if pages=1G
- Closed
-
MDEV-25424 my_multi_malloc_large doesn't do large allocations
- Open
-
MDEV-21239 ASAN use-after-poison in a server shutdown in innodb.innodb_buffer_pool_resize
- Closed
-
MDEV-22135 Document changes to large/huge page support in 10.5
- Open
-
DOCS-2782 Loading...