I recently purchased a Xeon E3 1270 to upgrade an older LGA1155 desktop I am using as a Plex server on Ubuntu. The previous CPU was an I5-2400. I did not reinstall Ubuntu. Instead, I just ran:
update -initramfs -u -k all
as root after installing the "new" cpu.
Good news, the server boots and works! Yay! My challenge is, I'm not sure if the CPU is properly being utilized. According to https://ark.intel.com, this should be a 4 core, 8 thread CPU. However, when I run lscpu
it only indicates 1 thread per core.
So, do I need to reinstall Ubuntu from scratch to get it to recognize the additional threads? Did I somehow get ripped off in the CPU purchase and this is not an actual E3 1270 with 8 threads?
Thanks for any help. I'm using Ubuntu 18.04 LTS Server.
Here is what lscpu
displays:
Architecture: x86_64 <br>
CPU op-mode(s): 32-bit, 64-bit<br>
Byte Order: Little Endian<br>
CPU(s): 4<br>
On-line CPU(s) list: 0-3<br>
Thread(s) per core: 1<br>
Core(s) per socket: 4<br>
Socket(s): 1<br>
NUMA node(s): 1<br>
Vendor ID: GenuineIntel<br>
CPU family: 6<br>
Model: 42<br>
Model name: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz<br>
Stepping: 7<br>
CPU MHz: 1619.944<br>
CPU max MHz: 3800.0000<br>
CPU min MHz: 1600.0000<br>
BogoMIPS: 6784.83<br>
Virtualization: VT-x<br>
L1d cache: 32K<br>
L1i cache: 32K<br>
L2 cache: 256K<br>
L3 cache: 8192K<br>
NUMA node0 CPU(s): 0-3<br>
Спасибо за напоминание о необходимости проверить BIOS Дуг ! Я был уверен, что он у меня там был. Нет. Итак, обнаружение Hyper-Threading в BIOS и его включение сделали это!
Я снова выполнил update -initramfs -u -k all
. Не уверен, было ли это необходимо. Однако теперь htop
показывает все 8 работающих потоков, а lscpu
читает:
Architecture: x86_64 <br>
CPU op-mode(s): 32-bit, 64-bit<br>
Byte Order: Little Endian<br>
CPU(s): 8<br>
On-line CPU(s) list: 0-7<br>
Thread(s) per core: 2<br>
Core(s) per socket: 4<br>
Socket(s): 1<br>
NUMA node(s): 1<br>
Vendor ID: GenuineIntel<br>
CPU family: 6<br>
Model: 42<br>
Model name: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz<br>
Stepping: 7<br>
CPU MHz: 2659.406<br>
CPU max MHz: 3800.0000<br>
CPU min MHz: 1600.0000<br>
BogoMIPS: 6784.79<br>
Virtualization: VT-x<br>
L1d cache: 32K<br>
L1i cache: 32K<br>
L2 cache: 256K<br>
L3 cache: 8192K<br>
NUMA node0 CPU(s): 0-7<br>
Большое спасибо за подсказку, чтобы вернуться в BIOS. Мне неловко, что я не пошел туда сначала, но спасибо!
Architecture: x86_64 <br>
CPU op-mode(s): 32-bit, 64-bit<br>
Byte Order: Little Endian<br>
CPU(s): 8<br>
On-line CPU(s) list: 0-7<br>
Thread(s) per core: 2<br>
Core(s) per socket: 4<br>
Socket(s): 1<br>
NUMA node(s): 1<br>
Vendor ID: GenuineIntel<br>
CPU family: 6<br>
Model: 42<br>
Model name: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz<br>
Stepping: 7<br>
CPU MHz: 2659.406<br>
CPU max MHz: 3800.0000<br>
CPU min MHz: 1600.0000<br>
BogoMIPS: 6784.79<br>
Virtualization: VT-x<br>
L1d cache: 32K<br>
L1i cache: 32K<br>
L2 cache: 256K<br>
L3 cache: 8192K<br>
NUMA node0 CPU(s): 0-7<br>
Большое спасибо за подсказку, чтобы вернуться в BIOS. Мне неловко, что я не пошел туда сначала, но спасибо!
Architecture: x86_64 <br>
CPU op-mode(s): 32-bit, 64-bit<br>
Byte Order: Little Endian<br>
CPU(s): 8<br>
On-line CPU(s) list: 0-7<br>
Thread(s) per core: 2<br>
Core(s) per socket: 4<br>
Socket(s): 1<br>
NUMA node(s): 1<br>
Vendor ID: GenuineIntel<br>
CPU family: 6<br>
Model: 42<br>
Model name: Intel(R) Xeon(R) CPU E31270 @ 3.40GHz<br>
Stepping: 7<br>
CPU MHz: 2659.406<br>
CPU max MHz: 3800.0000<br>
CPU min MHz: 1600.0000<br>
BogoMIPS: 6784.79<br>
Virtualization: VT-x<br>
L1d cache: 32K<br>
L1i cache: 32K<br>
L2 cache: 256K<br>
L3 cache: 8192K<br>
NUMA node0 CPU(s): 0-7<br>
Большое спасибо за подсказку, чтобы вернуться в BIOS. Мне неловко, что я не пошел туда сначала, но спасибо!