Questions tagged [hyperthreading]

55 questions
37
votes
12 answers

Disable hyperthreading from within Linux (no access to BIOS)

I have a system running a financial trading application at a remote facility. I do not have access to the ILO/DRAC, but need to disable hyperthreading. The system runs Intel Westmere 3.33GHz X5680 hex-core CPUs. I can reboot, but want to make sure…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
28
votes
8 answers

Will disabling hyperthreading improve performance on our SQL Server install

Related to: Current wisdom on SQL Server and Hyperthreading Recently we upgraded our Windows 2008 R2 database server from an X5470 to a X5560. The theory is both CPUs have very similar performance, if anything the X5560 is slightly faster. However,…
Sam Saffron
  • 1,959
  • 3
  • 18
  • 27
27
votes
5 answers

Hyper-V and Hyper-threading: On or off?

With the new Xeon CPUs supporting Hyper-threading, what is the current wisdom with regard to using it (or not) on a Hyper-V host machine? I was originally under the impression that turning it on in a virtual host environment could be detrimental as…
CapBBeard
  • 948
  • 2
  • 9
  • 13
24
votes
4 answers

How many CPUs should be utilised with Hyperthreading?

Let's say I have a server cpu with 18 cores, with hyperthreading on, which means I can see 36 cpus in htop. To fully utilise the CPU and not impact single-thread performance, should I be aiming for all 36 "cores" to run at 100%, and the HT cores…
Tassadar
  • 343
  • 2
  • 5
16
votes
3 answers

Hyper Threading and Virtual Machines?

I already looked at this thread: Hyper-V and Hyper-threading: On or off?, but the only answer is Windows specific.... I am building a VM server (using Proxmox VE if that makes a difference) and was wondering about how hyper threading can affect…
Soviero
  • 4,306
  • 7
  • 34
  • 59
14
votes
2 answers

Why did disabling hyperthreading make my server slower?

I have a server that's primarily running a Ruby script. Because Ruby (2.7) has a GIL, it is single threaded. My computer (server) has an Intel i3 dual core processor, but due to hyperthreading I see 4 cores. Ruby only utilizes 25% CPU under heavy…
S.Goswami
  • 277
  • 1
  • 3
  • 9
7
votes
3 answers

Current wisdom on SQL Server and Hyperthreading?

Lots of articles out there (see Slava Oks's original SQL 2000 article and Kevin Kline's SQL 2005 update) recommend disabling hyperthreading on SQL servers, or at least testing your specific workload before enabling it on your servers. This issue is…
BradC
  • 2,200
  • 4
  • 25
  • 35
7
votes
3 answers

taskset core numbers question

I have quad core CPU with hyper threading enabled. So I have 8 logical cores. I want to limit my application to use only 4 cores and I want this 4 cores to be different physical cores. Which taskset options (core numbers) should I use? : taskset -c…
6
votes
3 answers

VMware / SQL - physical vs logical cores - how many vCPUs to assign when HT is enabled

We have a ESX host: It has 2 CPU x 8 cores each, and HT enabled. So, total 16 physical cores or 32 logical cores. It has a single dedicated SQL VM on it (no other VMs run on this host), and it has 16 vCPUs assigned: and the SQL NUMA config looks…
d-_-b
  • 191
  • 2
  • 7
6
votes
3 answers

VMware CPU Hyper Threading Scheduling Affinity

I have looked everyware and read a bunch of documentation on this but haven't found a direct answer so here it goes: There is a setting in the "Resources" Tab in vCenter that lets you configure Hyper-threading Core Sharing. I have this set to…
Mike Myers
  • 63
  • 1
  • 3
6
votes
1 answer

Enabled hyperthreading - causes qthread creation error on Ubuntu Precise 64 bit

We recently set up an HP ProLiant DL360p server for some heavy grunt-work. For one reason or another we disabled hyperthreading in the system BIOS when setting it up. Being a dual-CPU 8-core system, that gave us 16 hardware threads. 32 GB RAM. We…
davidA
  • 353
  • 2
  • 11
6
votes
2 answers

Nginx worker_processes and multi core cpu's - Do Hyper-threading cores count?

Quite often, when reading about the recommended worker_processes for nginx it is stated that this should be set to the numbers of cores the server hosting nginx has. We were wondering if we should count the number of HT cores for this as well? Or do…
anonymous-one
  • 958
  • 4
  • 26
  • 43
6
votes
1 answer

EC2, Windows 10, half of the virtual processors

We run t3.large and m5.large instances, which have 2 vCPUs (as displayed in the EC2 management console). I'm trying to understand why the Windows 2019 (AMI provided by my IT) can only see half the number of logical CPUs. Half the number is reported…
fskexp
  • 63
  • 4
5
votes
1 answer

CPU parking, windows 2012r2, with no hyper threading

I have server based on Intel R1304WT2GS with two e5-2660v3, windows 2012r2. I've installed last drivers from intel site. For business purposes i need to disable hyper threading, and use windows 8.1 / 2012r2. The problem is that all cores except two…
Dmitry
  • 151
  • 2
5
votes
1 answer

AWS EC2 instance hyperthreading

I am currently doing some performance testing of web-apps that we have moved to AWS. One of the things we have noticed is that vCPU performance doesn't seem to be nearly as good as we'd expected. In fact, on a highly utilize single vCPU machine we…
1
2 3 4