Thread pool limited to 16 threads on 48 core machine
Issue #19
resolved
It seems that FL is unable to use more than 16 threads in the thread pool to perform computations. Some potentially useful information, !CPU gives
{
"HW_VECTOR": 1,
"VECTOR_ENABLE": 1,
"HW_NCPU": 16,
"TPOOL_NTHREADS": 16,
"TPOOL_MIN_ELTS": 100000,
"TPOOL_MAX_ELTS": 0
}
although the machine has two hyperthreaded 12-core CPUs (so, 2 12-core chips giving 24 real cores and 48 virtual cores). The output of lscpu on this system gives:
#!
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 48
On-line CPU(s) list: 0-47
Thread(s) per core: 2
Core(s) per socket: 12
Socket(s): 2
NUMA node(s): 2
Vendor ID: GenuineIntel
CPU family: 6
Model: 63
Model name: Intel(R) Xeon(R) CPU E5-2670 v3 @ 2.30GHz
Stepping: 2
CPU MHz: 2174.128
BogoMIPS: 4604.26
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 30720K
NUMA node0 CPU(s): 0-11,24-35
NUMA node1 CPU(s): 12-23,36-47
Comments (2)
-
repo owner -
repo owner - changed status to resolved
Closed.
- Log in to comment
Yes, there is a limit for the number of cores used, it was set to 16 a decade ago. I’ll change it to 64.