Hello, I found out about one feature of Windows, maybe this is the problem?
"Windows supports more than 64 logical cores, and they are divided into groups to perform tasks more efficiently. A logical core can be either a separate processor in a socket, or a physical CPU core or SMT thread.
During boot, the operating system creates groups of logical processors, but their number cannot exceed 64 in one group. If there are more cores, then two groups are created. In the case of 32 cores/64 threads or a CPU with fewer cores, there are no problems - there is one group. But in the case of 65++ threads there are two groups.
On systems with 64 or fewer logical cores, applications run smoothly because Windows associates them with the same group. If there are two groups, then the tasks are alternately assigned to the first or second group. And an application can only access its group's threads - unless it recognizes multiple groups. Thus, the application must be able to work with several groups of logical cores. If there is no such support in the application, then the number of logical cores is limited to 64, and processor resources are not fully used."