Details
-
Bug
-
Status: Done
-
Medium
-
Resolution: Fixed
-
5.7.25-28, 8.0.15-5
-
None
Description
Large pages allocations with innodb buffer pool chunk 4GB and more causing incorrect size for memory segment.
--large-pages --innodb_buffer_pool_chunk_size=4G
I've started mysqld as root, but it's also possible to see the same issue with proper value for /proc/sys/vm/hugetlb_shm_group:
https://dev.mysql.com/doc/refman/8.0/en/large-page-support.html
sync; echo 3 > /proc/sys/vm/drop_caches
echo 5120 > /proc/sys/vm/nr_hugepages # 10GB
ulimit -l unlimited
bin/mysqld --no-defaults --user=root --datadir=$PWD/data --lc-messages-dir=$PWD/share/english --initialize-insecure --skip-networking
bin/mysqld --no-defaults --user=root --datadir=$PWD/data --lc-messages-dir=$PWD/share/english --socket=$PWD/data/mysqld.sock --skip-networking --innodb_buffer_pool_instances=2 --large-pages --innodb_buffer_pool_chunk_size=4G --innodb_buffer_pool_size=8G
ipcs -m
Attachments
Issue Links
- is duplicated by
-
PS-5771 Unable to use innodb_buffer_pool_chunk_size > 3934M with large pages
-
- Done
-