Hello,
Thank you for posting in Microsoft Community forum.
Based on the description, I understand your question is related to use all cores on a two sockets machine with Windows Server 2022.
- Try below step to set CPU affinity for your child processes
Open Task Manager, go to the Processes, right-click on the process you want to modify and select Set Affinity, choose the specific cores (logical processors) on which you want the process to run.
- You can configure the number of logical processors (threads) that are used during the boot process.
In System Configuration utility, click Boot, select your boot entry, click Advanced options, under Number of processors, choose the maximum number of logical processors you want to use during boot.
- Windows Server 2022 supports hyper-threading, which means that some tasks can run concurrently on a single core. Due to the workload you have, you might not see full load on all logical cores—only on the physical ones.
Have a nice day.
Best Regards,
Molly