Details
-
Task
-
Status: Open (View Workflow)
-
Minor
-
Resolution: Unresolved
-
None
-
None
Description
It would be a good thing to have numa-interleave enabled "automatically" if these conditions are met :
- The server is running with more than one physical CPU on a NUMA architecture without NUMA interleaving enabled on bios
- The server is running on Linux
- The numactl tool is present on the system
- innodb-buffer-pool-size > memory/physicalCPUcount
(the latter could be optional)
In that case, there would be parameters for --numa-interleave such as true|false|auto to keep it simple if one want to force it either way.
On another hand, throwing a warning in case the interleaving wouldnt be activated but (innodb-buffer-pool-size > memory/physicalCPUcount) and innodb_buffer_pool_instances wouldnt be set (with a value of 1) could be a good thing.
Attachments
Issue Links
- relates to
-
MDEV-10829 Enable Innodb NUMA interleave - (and only use available nodes)
-
- Closed
-
-
MDEV-12213 NUMA support
-
- Open
-
-
MDEV-5507 Add the possibility set default parameters passed to mysqld_safe on the init script
-
- Closed
-
Activity
Description |
For now (using Debian packages at least), if you want to run _mysqld_ with numa interleaving, you need to manually modify the init script ( It would be a good thing to have numa-interleave enabled "automatically" if these conditions are met : - The server is running with more than one physical CPU on a NUMA architecture without NUMA interleaving enabled on bios - The server is running on Linux - The numactl tool is present on the system - _innodb-buffer-pool-size_ > memory/physicalCPUcount (the latter could be optional) In that case, there would be parameters for _--numa-interleave_ such as _true|false|auto_ to keep it simple if one want to force it either way. On another hand, throwing a warning in case the interleaving wouldnt be used but (_innodb-buffer-pool-size_ > memory/physicalCPUcount) and innodb_buffer_pool_instances wouldnt be set oculd be a good thing. |
For now (using Debian packages at least), if you want to run _mysqld_ with numa interleaving, you need to manually modify the init script ( It would be a good thing to have numa-interleave enabled "automatically" if these conditions are met : - The server is running with more than one physical CPU on a NUMA architecture without NUMA interleaving enabled on bios - The server is running on Linux - The numactl tool is present on the system - _innodb-buffer-pool-size_ > memory/physicalCPUcount (the latter could be optional) In that case, there would be parameters for _--numa-interleave_ such as _true|false|auto_ to keep it simple if one want to force it either way. On another hand, throwing a warning in case the interleaving wouldnt be used but (_innodb-buffer-pool-size_ > memory/physicalCPUcount) and innodb_buffer_pool_instances wouldnt be set (with a value of 1) could be a good thing. |
Description |
For now (using Debian packages at least), if you want to run _mysqld_ with numa interleaving, you need to manually modify the init script ( It would be a good thing to have numa-interleave enabled "automatically" if these conditions are met : - The server is running with more than one physical CPU on a NUMA architecture without NUMA interleaving enabled on bios - The server is running on Linux - The numactl tool is present on the system - _innodb-buffer-pool-size_ > memory/physicalCPUcount (the latter could be optional) In that case, there would be parameters for _--numa-interleave_ such as _true|false|auto_ to keep it simple if one want to force it either way. On another hand, throwing a warning in case the interleaving wouldnt be used but (_innodb-buffer-pool-size_ > memory/physicalCPUcount) and innodb_buffer_pool_instances wouldnt be set (with a value of 1) could be a good thing. |
It would be a good thing to have numa-interleave enabled "automatically" if these conditions are met : - The server is running with more than one physical CPU on a NUMA architecture without NUMA interleaving enabled on bios - The server is running on Linux - The numactl tool is present on the system - _innodb-buffer-pool-size_ > memory/physicalCPUcount (the latter could be optional) In that case, there would be parameters for _--numa-interleave_ such as _true|false|auto_ to keep it simple if one want to force it either way. On another hand, throwing a warning in case the interleaving wouldnt be activated but (_innodb-buffer-pool-size_ > memory/physicalCPUcount) and innodb_buffer_pool_instances wouldnt be set (with a value of 1) could be a good thing. |
Workflow | defaullt [ 35602 ] | MariaDB v2 [ 42465 ] |
Workflow | MariaDB v2 [ 42465 ] | MariaDB v3 [ 61419 ] |
Link |
This issue relates to |
Link | This issue relates to MDEV-12213 [ MDEV-12213 ] |
Workflow | MariaDB v3 [ 61419 ] | MariaDB v4 [ 130203 ] |