v.23.3Performance Improvement

Setting max_final_threads to Improve Concurrency on High-CPU Servers

Setting max_final_threads would be set to the number of cores at server startup (by the same algorithm as used for max_threads). This improves the concurrency of final execution on servers with high number of CPUs. #47915 (Nikita Taranov).