Questions tagged [hyperthreading]
The hyperthreading tag has no summary.
29 questions
8
votes
1
answer
762
views
Kernel shows SMT as "notsupported" for AMD 3970x
I have a Threadripper 3970x that has 32 cores and 64 threads. I installed Linux and the kernel shows SMT as being "notsupported":
root@services:~# cat /sys/devices/system/cpu/smt/control
...
1
vote
1
answer
259
views
How to measure actual CPU utilization in Linux for multi core applications?
I have a computation intensive process that I need to run multiple times on a multi-core processor but "top" isn't showing utilization or load in a useful way.
For example, imagine my task ...
3
votes
2
answers
826
views
Why does higher CPU-usage slow down a task?
I am using whisper.cpp to transcribe some sound files. It is a very CPU heavy process so I try to find some optimal settings and therefore I have done some tests with the thread setting (-t) but the ...
0
votes
0
answers
72
views
Linux 5.10 E5-2666 V3 hyperthreading not detected
Per the title, I have a Supermicro X10-DRLi based machine with 2x E5-2666 V3 (the Amazon OEM CPUs) in it.
Secure Boot, FWIW, is disabled.
Linux 5.10 (debian 11 stock kernel, amd64) tells me via the /...
3
votes
0
answers
354
views
How do I flag a process to avoid hyperthreading (SMT)?
Suppose I have an 18 core CPU with SMT enabled, and there are 18 long runnning processes, all using ~100% of a thread. If I start a 19th process, the kernel will schedule it to run on one of the cores,...
0
votes
0
answers
795
views
Determining the number of threads per EPYC AMD 7601 cpu
I'm trying to confirm that my AMD EPYC 7601 CPUs are set up with dual threading.
I have 2 X 32 CPUs and should have 2 threads per CPU.
When I run:
lscpu | grep -E '^Thread|^Core|^Socket|^CPU\('
I ...
0
votes
1
answer
731
views
Linux Mint showing 1 thread per core in a 4 thread/core cpu
I have a Ryzen 3 3200g and, when I do lscpu in a Linux Mint 20.1 Cinnamon OS terminal, the output says that I only have 1 thread per core. The Windows system's info accurately recognizes that my CPU ...
0
votes
1
answer
637
views
Does a process filling all logical cores have a negative impact on performance? [closed]
Because of hyper-threading, my CPU has 2 logical processors per core. If I understand the premise of hyper-threading correctly, it allows each core to have a separate cache and instruction pointer for ...
1
vote
1
answer
719
views
In Solaris box how do we check if hyper-threading/multi-threading is enabled or not using command?
In Solaris, how we can find the status or check hyper-threading or multi-threading is enabled or not using commands?
1
vote
3
answers
6k
views
How hyperthreading is useful in kvm based guest VM?
We are creating virtual os threads inside guest os but the actual physical core is on the host machine. Will hyperthread = true in guest VM config make any difference?
I can visualize how ...
3
votes
1
answer
874
views
How to reliably tell from Linux whether the CPU supports Hyperthreading, even if Hyperthreading is disabled?
The following is what I am doing to tell whether a processor does support HT or not, regardless of whether it is enabled or disabled:
# dmidecode -t processor | grep "Hardware Thread" | wc -l
If ...
4
votes
1
answer
279
views
Can hyperthread be enabled
I would like to know if hyperthread can be enabled on my operating system or not? I am using HP-UX Itanium, below is truncated output of machinfo
Intel(R) Itanium(R) Processor 9560 (2.53 GHz, 32 ...
3
votes
1
answer
158
views
CMOS occasionally resets hyperthreading. Can I force hyperthreading on using Linux kernel?
I have some i7-4700EQ based embedded server systems that require hyperthreading. All is good except that, on rare occasions, the hyperthreading flag in CMOS gets set to disabled. While the hardware ...
3
votes
1
answer
856
views
Hyper Threading and Process Priority
Are there any methods (linux kernel options, sysctl settings or configurable scheduler modules) that can cause a high priority process/thread to run on a physical processor core with the second (hyper ...
2
votes
0
answers
2k
views
How to tell if the CPU supports hyper threading
I know it should be a simple matter of grep -wl ht /proc/cpuinfo but that's not always accurate.
I have an i5-7440HQ CPU which doesn't support hyper-threading (Intel, WikiPedia, and my BIOS agree on ...
57
votes
3
answers
83k
views
VirtualBox: Is it a bad idea to assign more virtual CPU cores than number of physical CPU cores
VirtualBox: As I have Hyper-Threading capable CPU, I wonder:
Is it a bad idea to assign more virtual CPU cores than a number of physical CPU cores as the following warning suggests (simply using all 8 ...
-1
votes
1
answer
192
views
Are there UNIX variants or other OS which make user level threads visible to OS kernel? [closed]
Are there UNIX variants or other OS which make user level threads visible to OS kernel ?
1
vote
1
answer
2k
views
Processor affinity not respected by iperf threads
I'm running iperf in server mode on a Ubuntu box (14.04 LTS). The hardware is quad core with hyper-threading, so I have cores 0-7 available (0 is paired with 4, 1 with 5 and so on).
I've set the ...
11
votes
1
answer
19k
views
What does "cpu MHz" field mean in the /proc/cpuinfo of a hyper-threading cpu?
The CPU is a [email protected]. It has 4 cores and each core has 2 threads. Here is the dmidecode output:
# dmidecode -t 4
# dmidecode 2.9
SMBIOS 2.7 present.
Handle 0x0042, DMI type 4, 42 bytes
...
1
vote
0
answers
47
views
CPU load and hyperthreading [duplicate]
If I have two physical cores and hyperthreading enabled, is the CPU load computed against two cores or fours?
In other words, is complete load indicated by 2.0 or 4.0?
0
votes
2
answers
513
views
Plain installation vs Virtual machines - what is better for multicore? [closed]
We've currently bought a new server, with 64 GB of RAM and 8 cores with hyperthreading support. We are going to build a system using:
nginx.
apache.
mysql.
php
So, the question is about performance: ...
4
votes
1
answer
2k
views
Unexpected processor/core counts for AMD processor
I wanted to determine if a machine has hyperthreading enabled or not. To determine this, I used advice I found online, which operates as follows:
physical_proc_count = `grep "physical id" /proc/...
1
vote
1
answer
4k
views
Benefits of hyperthreading for an Oracle database
I'm running Oracle 10 on a blade450 g6. I have hyper-threading turned on but I have heard several people say that Oracle databases don't play well with it. Are there specific performance or ...
2
votes
2
answers
4k
views
Hyperthreading not detected by Linux [closed]
I have a Dell server with two Intel Xeon E5645 cpus, each cpu has 6 cores, and each core is hyperthreaded (i.e. should be equivalent to two virtual cores). I installed CentOS 6.2 on this server and it ...
3
votes
1
answer
1k
views
Hyperthread and processors Clock, Size, and Capacity
When I enable hyperthreading, CPU size and capacity decrease to about half the non-hyperthreaded value. Since most of my processes use only two cores, should I disable hyperthreading?
lshw -C ...
85
votes
15
answers
233k
views
Checking if HyperThreading is enabled or not?
How can I check if hyperthreading is enabled on a Linux machine, using a perl script to check for it?
I'm trying the following way:
dmidecode -t processor | grep HTT
Let me know if I'm on right ...
7
votes
1
answer
5k
views
Should I disable hyperthreading when concerned about performance of single-threaded applications?
I use a i5-2410M processor, which is setup to do hyperthreading by default on my laptop. Considering that this is a 2-core processor, this means it can do 4 threads at a time. This also means that ...
2
votes
2
answers
4k
views
How to find if hyperthreading is enabled on FreeBSD
Is it possible to find out if hyperthreading is enabled within the BSD kernel of a given machine without watching the boot up sequence?
13
votes
3
answers
4k
views
How can I have 400% CPU occupied on 2 cores
I understand that Σ(%CPU) ≤ logicalcores*(1+ε) (where ε is measure and rounding error). But, how can I have on a 2 core system 2 different processes, each taking 200% of CPU (as measured by htop)?
...