2コアのCPU使用率400%に達する方法

2コアのCPU使用率400%に達する方法

私はこれを理解していますΣ(%CPU) ≤ logicalcores*(1+ε)(ここでεは測定と丸め誤差です)。しかし、2コアシステムでそれぞれCPUの200%を占める2つの異なるプロセスを持つ方法は何ですか(htopで測定)。

編集する上記の式では、コアは論理コア、つまりすべてのハイパースレッド、CPUの数などを考慮した数を意味します。

編集2htopは接続されたプロセッサの数を示していますが、cpuinfo

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model       : 23
model name  : Intel(R) Core(TM)2 Duo CPU     T9600  @ 2.80GHz
stepping    : 10
cpu MHz     : 800.000
cache size  : 6144 KB
physical id : 0
siblings    : 2
core id     : 0
cpu cores   : 2
apicid      : 0
initial apicid  : 0
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
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 lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dts tpr_shadow vnmi flexpriority
bogomips    : 5585.20
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model       : 23
model name  : Intel(R) Core(TM)2 Duo CPU     T9600  @ 2.80GHz
stepping    : 10
cpu MHz     : 800.000
cache size  : 6144 KB
physical id : 0
siblings    : 2
core id     : 1
cpu cores   : 2
apicid      : 1
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid level : 13
wp      : yes
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 lm constant_tsc arch_perfmon pebs bts rep_good aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm ida dts tpr_shadow vnmi flexpriority
bogomips    : 5586.38
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

ベストアンサー1

2つのデュアルコアプロセッサには4つのCPUが含まれています。マルチスレッドプロセッサも存在します。各スレッドはカーネルなどの実際のCPUではありませんが、オペレーティングシステムにはCPUとして表示されます。ほとんどのマルチスレッドCPUには通常、コアあたり2つのスレッドがあるため、オペレーティングシステムには4つのCPUで表されるシングルデュアルスレッドデュアルコアプロセッサを持つことができます。

Sun MicrosystemsのT2チップには、コアあたり8つのスレッドを持つ8つのコアがあり、単一のプロセッサに64の仮想CPUがあることは注目に値します。

おすすめ記事