计算服务器中并行线程的数量

时间:2014-09-30 16:24:17

标签: linux multithreading parallel-processing

以下是" lscpu"的输出。服务器机器中的命令。

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                32
On-line CPU(s) list:   0-31
Thread(s) per core:    2
Core(s) per socket:    8
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 45
Stepping:              7
CPU MHz:               1200.000
BogoMIPS:              5188.69
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              20480K
NUMA node0 CPU(s):     0-31

这台机器上可以并行执行多少个线程?用上述参数计算这个数字的公式是什么?

0 个答案:

没有答案