MtxVec VCL
|
Returns the number of physical CPU cores per one Numa Node.
This value defines the default MtxVec pool thread size and the ThreadDimension property.
The OS scheduler will schedule threads on the same socket on which the memory is allocated. Embarcadero RAD Studio currently does not support memory allocation on a different NUMA node (December 2024). While it is possible to specify ThreadCount and ThreadDimension properties to be more than CPUCores on multi-socket systems, the performance benefits could be modest.
Each time a thread enters sleep, it could wake up on a different CPU core (invalidating CPU cache) and also a different NUMA node (invalidating main memory), if thread affinity is not specified explicitely.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|