核心与线程:我应该在这台机器上运行多少个线程?
我应该在这台机器上运行多少个线程? 我lscpu说有96个核心。是那些物理核心吗?我可以在此计算机上运行的最大和最佳线程是多少? https://stackoverflow.com/a/10670440/610569显示,每个内核可以运行20个以上的线程。这样可以吗?那是最优的吗? alvas@server:~$ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 96 On-line CPU(s) list: 0-95 Thread(s) per core: 2 Core(s) per socket: 12 Socket(s): 4 NUMA node(s): 4 Vendor ID: GenuineIntel CPU family: 6 Model: 62 Model name: Intel(R) Xeon(R) CPU E5-4657L v2 @ …