I have a server with 16 cores. What do I set the CpuAffinityMask to?
1111 1111 1111 1111 is 65535, should I put 65535?
Also, how to I configure the SuperClassic server?
This is for Firebird 2.5.
TIA
|
I have a server with 16 cores. What do I set the CpuAffinityMask to? 1111 1111 1111 1111 is 65535, should I put 65535? Also, how to I configure the SuperClassic server? This is for Firebird 2.5. TIA | |||||||||||||
feedback
|
This question came from our site for professional and enthusiast programmers.
|
From the documentation:
So, yes, 65535 = 216-1 is the correct setting to use all of your 16 cores. | |||
|
feedback
|
|
As far as I know only SuperServer follows the CpuAffinityMask, see Firebird Architectures, so for SuperClassic this configuration value is ignored and it will always be able to use all available CPUs | |||
|
feedback
|
|
Setting CpuAffinityMask to 65535 is only useful if youre If you have just 1 FB-database running, setting this option sounds only useful to me if you want to dedicate a specific core to Firebird instead of using the default first core. If you want to make Firebird use of all your cores, please consider installing Firebird in classic/superclassic-mode. | ||||
|
feedback
|