我用C++编程,并使用OpenMP进行并行化。机器有2个CPU插座,每个插座8个内核。[0] OMP: Info #204: KMP_AFFINITY: decoding x2APIC ids.[0] OMP: Info #156: KMP_AFFINITY: 1 available OS procs
[0] OMP: Info #157: KMP_AFFINITY: Uniform topology
OMP: Info #210: KMP_AFFINITY: Affinity capable, using global cpuid leaf 11 infoOMP: Info #179: KMP_AFFINITY: 1 packages x 4 cores/pkg x 2 threads/core#171: KMP_AFFINITY: OS proc 3 map
=1; KMP_SETTINGS=1 但是,这可能会导致Cpu上标过多,Golang进程会创建OMP: Info #210: KMP_AFFINITY: Affinity capable, using global cpuid leaf 11 info
OMP: Info #154: KMP_AFFINITYOMP: Info #157: KMP_AFFINITY: Unifo