CPU 线程未被使用

CPU 线程未被使用

我最近买了一台新的 Thinkpad T570。我运行的是 Fedora 27。它有一个 i7-7600U 处理器,根据英特尔的说法,它应该有 2 个内核和 4 个线程(https://ark.intel.com/products/97466/Intel-Core-i7-7600U-Processor-4M-Cache-up-to-3_90-GHz)。但是,当我运行 lscpu 时,它显示 2 个核心和 2 个线程。

Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  2
Core(s) per socket:  2
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               142
Model name:          Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz
Stepping:            9
CPU MHz:             2900.000
CPU max MHz:         3900.0000
CPU min MHz:         400.0000
BogoMIPS:            5808.00
Virtualization:      VT-x
L1d cache:           32K
L1i cache:           32K
L2 cache:            256K
L3 cache:            4096K
NUMA node0 CPU(s):   0-3
Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp

其他两个线程发生了什么?我可以做些什么来启用这些附加线程吗?

答案1

您的系统有 4 个逻辑处理器:

CPU(s):              4

这是因为有 2 个处理器核心,每个有 2 个硬件线程来自英特尔超线程技术

Thread(s) per core:  2
Core(s) per socket:  2

英特尔 ARK 页面上列出的线程数是全部的处理器拥有的硬件线程数。列出的值lscpu是线程数每个核心

简而言之,你的系统查看物理处理器上的所有线程。

相关内容