Questions tagged [hyperthreading]

In a hyperthreaded CPU, for each processor core that is physically present, the operating system addresses two virtual or logical cores, and shares the workload between them when possible.

hyperthreading
Filter by
Sorted by
Tagged with
-1 votes
1 answer
955 views

Enable AMD-virtualization

Before 3 weeks maybe, i faced a problem in launching WP emulator. After troubleshooting, i found that visualization option in my Laptop is not running successfully. Laptop spec. (Acer 4253): CPU: AMD ...
Minions's user avatar
  • 5,327
1 vote
0 answers
250 views

Disable hyper-threading for better Solr performance?

I have a machine with 16 real cores (32 with HT enabled). I'm running on it a Solr server and trying to reach maximum performance for indexing and queries (indexing 20k documents/sec by a number of ...
Avner Levy's user avatar
  • 6,701
5 votes
1 answer
4k views

When does hyperthreading happen using MPI and OpenMP and PBS Pro?

On a shared memory system running Linux, say it has 4 Intel Xeon-E5 CPUs and each CPU has 10 cores. PBS Pro is installed. And for example users use qsub -l select=1:ncpu=30 to run software programs if ...
ron's user avatar
  • 967
5 votes
1 answer
1k views

Is duplication of state resources considered optimal for hyper-threading?

This question has an answer that says: Hyper-threading duplicates internal resources to reduce context switch time. Resources can be: Registers, arithmetic unit, cache. Why did CPU designers end ...
Leo Heinsaar's user avatar
  • 3,997
3 votes
1 answer
3k views

use all cores of CPU

I want to use parallel computing on matlab, i have i7-960 CPU with 4 cores and 8 threads, when i run feature('numCores') command in matlab, i obtain this feature('numCores') MATLAB detected: 3 ...
ensberg's user avatar
  • 31
8 votes
1 answer
1k views

How does hyperthreading affect parallelization?

I'm using an OpenMP code on a HyperThreaded CPU. If all else were equal, how would performance change on a non-HyperThreaded CPU? I notice a 100% processor utilization, no matter how many threads I ...
roro's user avatar
  • 931
4 votes
0 answers
527 views

How did Intel fix the security flaw with hyper-threading and a shared cache?

In 2005, Colin Percival discovered and presented a security flaw with then newly-introduced hyper-threading on Intel Pentium 4 processors, which, in summary, says (from abstract): ...shared access ...
Leo Heinsaar's user avatar
  • 3,997
0 votes
2 answers
3k views

How to decide whether to use hyperthreading or not? [closed]

Hyperthreading can hurt performance of some applications and it should not be used. From the Microsoft website (https://msdn.microsoft.com/en-us/library/cc615012%28BTS.10%29.aspx): It is critical ...
Maciej's user avatar
  • 9,475
13 votes
2 answers
4k views

Does a hyperthreading CPU implement parallelism or just concurrency?

Does a hyperthreading CPU implement parallelism or just concurrency (context switching)? My guess is no parallelism, only concurrency by context switching.
Tim's user avatar
  • 97.1k
3 votes
1 answer
2k views

Relation between CPU's hyperthreading and OS's context switch?

Hyperthreading of a cpu core means the core can be treated as logically two or more logical/virtual cpu cores to run multiple processes. An operating system also provides concurrency programming, by ...
Tim's user avatar
  • 97.1k
7 votes
1 answer
2k views

What will be used for data exchange between threads are executing on one Core with HT?

Hyper-Threading Technology is a form of simultaneous multithreading technology introduced by Intel. These resources include the execution engine, caches, and system bus interface; the sharing of ...
Alex's user avatar
  • 12.8k
26 votes
4 answers
4k views

Why would a fully CPU bound process work better with hyperthreading?

Given: An entirely CPU bound very large (i.e., more than a few CPU cycles) job, and A CPU with four physical and a total of 8 logical cores, should 8, 16, and 28 threads perform better than 4? I ...
displayName's user avatar
  • 14.1k
0 votes
1 answer
100 views

When I'm testing about multiprocessing and threading with python, and I meet a odd situation

I am using process pools(including 3 processes). In every process, I have set (created) some threads by using the thread classes to speed handle something. At first, everything was OK. But when I ...
xina1i's user avatar
  • 758
2 votes
1 answer
712 views

Processing speed of a core with hyperthreading

If a processor has a specified base frequency and number of threads it supports, what is the frequency that each thread really gets to utilize? For instance, the Intel® Core™ i7-4500U Processor has 2 ...
asdfvar's user avatar
  • 35
0 votes
1 answer
197 views

how basic instructions run in parallel

Maybe this is a stupid question but I am trying to gain a better understanding of hardware inner workings... if a cpu has multi threads and we have a group of instruction set to assign it. as i read ...
Akash Chaudhary's user avatar
0 votes
1 answer
104 views

Cluster Configuration - Worker Nodes

I am beginner in cluster configuration. I know in our cluster we have types of worker nodes: 16 x 4TB Disks 128 RAM 2 x 8 Core CPUs 12 x 1.2 TB Disks 256 RAM 2 x 10 Core CPUs I am confused ...
p.magalhaes's user avatar
  • 7,928
5 votes
1 answer
154 views

Performance of map pattern in multithreaded program lower than expected (4x speedup vs 8x)

I'm getting started in multithreaded programming so please excuse me if the following seems obvious. I am adding multithreading to an image processing program and the speedup isn't exactly the one I ...
Exaberri Tokugawa's user avatar
2 votes
0 answers
829 views

Fast Loopback on Windows 10 with weird HyperThreading results

I have successfully enabled SIO_LOOPBACK_FAST_PATH option on Windows 10 even though there isn't much information on whether Windows 10 supports it. Here is some info on the feature link1 link2 I ...
Harry's user avatar
  • 231
1 vote
2 answers
1k views

Parallel.Foreach considers logical cores or physical cores where hyperthreading supported?

I have been using Parallel.ForEach to fetch & process data concurrently. Collection which is used in Parallel.ForEach has more than 100 elements. If i don't restrict number of thread created in ...
107's user avatar
  • 552
4 votes
1 answer
3k views

Does Hyperthreading have trouble with AVX?

While playing around with overclocking and running burn tests, I noticed that the AVX-optimized version of LINPACK measured lower multithreaded floating-point throughput when Hyperthreading was ...
lcmylin's user avatar
  • 2,652
10 votes
1 answer
1k views

How to regard Hyper-Threading when deciding thread pool size?

I've read several Questions and articles regarding how to decide on a size for a thread pool. Questions include: How to choose thread pool size? What is the relationship between number of CPU cores ...
Basil Bourque's user avatar
0 votes
1 answer
175 views

hyperthreading - which thread runs when both threads are ready

The idea behind Intels hyperthreading is (as far as I understand) that one core is used for two threads in a time-multiplexed manner. The HW support this by having the state-related resources ...
Support Ukraine's user avatar
10 votes
4 answers
18k views

How to check whether Hyper Threading is enabled or not in Ubuntu?

I am using the Ubuntu. How can I check whether Hyper Threading is enabled or not. And if it is disabled, how can I enable it?
Anil Kumar's user avatar
1 vote
1 answer
329 views

Using matlabpool with a specified number of workers

I've been using the command matlabpool open 8 for a while in order to speed up things. However I just tried using it and am denied 8 cores and now limited to 4. My laptop is an i7 with 4 cores but ...
user88595's user avatar
  • 195
0 votes
0 answers
198 views

Hyper-v number of Virtual CPU on Virtual Machine

VMware world recommends that you only add one Virtual CPU on each Virtual Machine unless that your application requires detect more than one CPU. Does this recommendation applies on Microsoft Hyper-V ...
Uh Trog's user avatar
  • 41
1 vote
1 answer
821 views

Kernel Threads vs Hyperthreads

What is the difference between kernel threads and hyper-threads? Or they are same? I understand that it the kernel threads that os schedules not the user threads. Seen nobody talking about both of ...
user267562's user avatar
-1 votes
1 answer
1k views

what software can take full advantage of hyperthreading?

I'm wondering what software must have to take full advantage of hyperthreading? Let's say I have intel cpu with 4physical cores. With hyperthreading the cpu appears to have 8 cores to the OS that is ...
lychee's user avatar
  • 1,841
0 votes
1 answer
78 views

each of 3 ALU+decoders walk on 3 different conditional branches on `switch`/`case` simultaneously?

As known, on Intel x86_64 the Hyper Threading allow to use shared execution units (ALUs, ...) from different threads simultaneously - this is known as Simultaneous multithreading (SMT). And known, ...
Alex's user avatar
  • 12.8k
0 votes
1 answer
784 views

What does 128 threads per processor mean for a supercomputer? [closed]

This article about YARC mentions that the super computer has 128 threads per processor. Is the same thing concept as hyperthreading, where essentially the cpu has additional registers that allows to ...
dwjohnston's user avatar
  • 12.1k
14 votes
3 answers
15k views

c# Environment.ProcessorCount does not always return the full number of Logical Processor, why?

On my machine, windows 7 - Enterprise with 1 x Intel Xeon E5-1660 0 @ 3.30Ghz (6 cores/cpu with Hyper Threading activated), Environment.ProcessorCount return 12 which is exact. On a Windows Server ...
Eric Ouellet's user avatar
  • 11.3k
6 votes
1 answer
2k views

With Hyper Threading, threads of one physical core are exchanging via what level of cache L1/L2/L3?

Does the Hyper Threading allow to use of L1-cache to exchange the data between the two threads, which are executed simultaneously on a single physical core, but in two virtual cores? With the proviso ...
Alex's user avatar
  • 12.8k
3 votes
2 answers
837 views

How to set the maximum simultaneous requests that can be handled by a servlet using Tomcat

I wanted to know how many simultaneous requests a web application built using a servlet can handle (using Tomcat 7). I have configured maxThreads, acceptCount, minSpareThreads attributes of server.xml ...
Chris's user avatar
  • 91
0 votes
1 answer
221 views

Hyperthreading effects on gettimeofday and other time measurements

while I was benchmarking a CPU with hyperthreading with BLAS matrix operations in C, I observed a nearly exact doubling of the runtime of the functions when using hyperthreading. What I expected was ...
bknux's user avatar
  • 556
4 votes
1 answer
10k views

How to Disable Hyper-V and install HAXM in Windows 8

I am trying to install HAXM for android studio but it is showing error: Now my system has VT-x enabled: after this I tried to disable HYPER-V but when i try through cmd it shows a error: In windows ...
shivam's user avatar
  • 383
3 votes
2 answers
577 views

x86 Hyper-threading clarification on cache miss

If I understood correctly on x86 cpu hyper threading is beneficial especially when we have IO calls so that when blocking thread is idle another thread can cheaply work on the same CPU. My question is ...
Onur Gumus's user avatar
  • 1,399
2 votes
1 answer
273 views

Why does a node.js application on Heroku perform identically with 2 threads vs. 4?

I've been working on a series of automatic load-testing scripts, and I've noticed that when averaged out, there's no difference between running a cluster of 2 processes and 4 processes on a Heroku ...
ThreeHams's user avatar
  • 135
0 votes
2 answers
293 views

Can multiple processes hide latency of SSE instructions?

I'm in need of high-performance merging and came accross: Efficient Implementation of Sorting on Multi-Core SIMD CPU Architecture by Jatin Chhugani et al. Their aim is to get the most performance out ...
hbogert's user avatar
  • 4,279
0 votes
1 answer
569 views

How does one specify physical CPU ids in openmpi 1.6.4+ rankfiles?

The latest (v1.8.3) OpenMPI documentation specifies that rankfiles must now use the logical cpu IDs reported by hwloc rather than the physical IDs, see the last sentence in the Rankfiles section of ...
Squirrel's user avatar
  • 2,262
1 vote
1 answer
342 views

Windows phone emulator in windows 8.1 pro (64-bit)

I am trying to enable hyper thread on my pc windows 8.1 pro (64-bit). It is core i3 h61m-ds2 gigabyte motherboard. I have installed coreinfo.exe from there i have seen that my pc have hyper thread ...
Developer's user avatar
  • 385
7 votes
2 answers
8k views

Enable Intel Hyperthreading in Java

I have a multithreaded program running on a quad-core Intel i7. When I execute Runtime.getRuntime.availableProcessors(), I get 8, and I know that hyperthreading is available on this CPU. However, ...
Ryan Dougherty's user avatar
16 votes
1 answer
5k views

Poor performance due to hyper-threading with OpenMP: how to bind threads to cores

I am developing large dense matrix multiplication code. When I profile the code it sometimes gets about 75% of the peak flops of my four core system and other times gets about 36%. The efficiency ...
Z boson's user avatar
  • 33.1k
1 vote
1 answer
311 views

Hyperthreading - realy X2 cores?

According to Intel (If I'm not wrong) the Hyper threading (HT) can: - up the performances up to 30%. - HT can make better use the CPU when there is one task which use the ALU unit and the other doing ...
user3668129's user avatar
  • 4,652
2 votes
1 answer
2k views

Max CPU usage (max allowed CPU usage)

I have a quad core (with hyper threading Technology - HT) I'm running an application which takes 270% CPU (according to TOP command) What is the total available CPU usage? (is it 400% or 800%?) I'm ...
user3668129's user avatar
  • 4,652
-4 votes
1 answer
2k views

Is visual studio optimised for hyper-threaded microprocessors? [closed]

I would like to know whether the most common software development suits such as Microsoft visual studio its compilers are optimized for using the Hyper-Threading feature to the maximum extent? Is it ...
Nidhin David's user avatar
  • 2,456
4 votes
3 answers
2k views

What is a "Logical CPU Core"

I am reading some Operating Systems materials. I read this phrase that confused me a little: "Multicore refers to a computer or processor that has more than one logical CPU core, and that can ...
Rami's user avatar
  • 8,194
2 votes
1 answer
2k views

Hyper-threading, Multi-threading, Multi-processing and Multi-tasking - Theory

I am confused on the different terms as to their actual differences. What are each of them and what do they actually mean? My IT teacher at school gives us one definition the one day, and another the ...
user3241507's user avatar
3 votes
1 answer
3k views

Disable and Enable Hyperthreads on-the-fly

I am wondering if it is, in theory, possible to enable hyperthreads after they have been disabled in the BIOS and vice-versa. As it turns out, if hyper-threads are disabled they do still show up in ...
zgerd's user avatar
  • 1,020
13 votes
5 answers
8k views

Is HyperThreading / SMT a flawed concept?

The primary idea behind HT/SMT was that when one thread stalls, another thread on the same core can co-opt the rest of that core's idle time and run with it, transparently. In 2013 Intel dropped ...
Engineer's user avatar
  • 8,727
1 vote
2 answers
971 views

What is the difference between physical and logical cores in a CPU/microprocessor?

I try to understand below terms but still having confusion on it microprocessor processor cores processor cores physical cores logical cores To my knowledge microprocessor (CPU) == processor ...
Amit Yadav's user avatar
  • 33.6k
6 votes
4 answers
3k views

Best gcc optimization switches for hyperthreading

Background I have an EP (Embarassingly Parallell) C application running four threads on my laptop which contains an intel i5 M 480 running at 2.67GHz. This CPU has two hyperthreaded cores. The four ...
Olof Forshell's user avatar