Jump to content

What is a CPU Thread?

Go to solution Solved by LIGISTX,

Think of it like cars going through tunnels. A "core" or an "actual logical thread" is a tunnel, where a virtual core or virtual thread is a lane before the tunnel.

 

So, a single core without HT *this means this cpu only has 1 core and 1 thread* has a single lane going to a single tunnel, the CPU can only process one lane of cars *data* at a time.

 

Now lets jump to a Pentium 4 with HT, the tunnel has two lanes leading up to it, but still only 1 tunnel. So cars from each lane can switch back and forth taking turns going through the tunnel, thus processing more stuff from two different applications at once, but still only with one tunnel.

 

Now a dual core without HT is 2 lanes, and 2 tunnels.

 

A current i7 has 8 lanes going to 4 tunnels.

 

A very general explanation, but that basically is how that works :)

A CPU has cores and thread, but what is a thread??

 

Thanks ! ! !

Ya. My English isn't very good. I'm not really good in talking English but I'm learning...You making fun with my English, so WHAT??? You get what?? You can just correct the people and this is better than laugh at the people...

Link to comment
https://linustechtips.com/topic/467058-what-is-a-cpu-thread/
Share on other sites

Link to post
Share on other sites

A thread is more the execution by a CPU of a task, rather than the task itself, if I understand the technology correctly. Each core in a CPU can normally do a single thread. If it is hyperthreaded (an i3 or an i7) then it has specialized scheduling processors that allow it to utilize all of the core's ability to process instructions in a single tick, instead of wasting valuable nanoseconds doing nothing. And it's not just a gimmick, either, it works surprisingly well in some use cases.

Link to comment
https://linustechtips.com/topic/467058-what-is-a-cpu-thread/#findComment-6266611
Share on other sites

Link to post
Share on other sites

Think of it like cars going through tunnels. A "core" or an "actual logical thread" is a tunnel, where a virtual core or virtual thread is a lane before the tunnel.

 

So, a single core without HT *this means this cpu only has 1 core and 1 thread* has a single lane going to a single tunnel, the CPU can only process one lane of cars *data* at a time.

 

Now lets jump to a Pentium 4 with HT, the tunnel has two lanes leading up to it, but still only 1 tunnel. So cars from each lane can switch back and forth taking turns going through the tunnel, thus processing more stuff from two different applications at once, but still only with one tunnel.

 

Now a dual core without HT is 2 lanes, and 2 tunnels.

 

A current i7 has 8 lanes going to 4 tunnels.

 

A very general explanation, but that basically is how that works :)

Rig: i7 13700k +Contact Frame - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Crucial P3 2TB NVMe for photo work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - PTM 7950 - - XT45 X-Flow 420 + UT60 280 rads externally mounted - - EK XRES RGB PWM - - Fractal Define S2 - - DellAlienware AW3423DWF 34" -- Logitech Pro X Superlight - - Logitech G710+ - - LTT Northern Lights Deskpad

 

Headphones/amp/dac: Schiit Bifrost Multibit - -  Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x8TB WD Red RAID Z2 - - 2x 800 GB SAS SSD’s (1 SLOG, 1 L2Arc) - - 45 HomeLab HL15 15 Drive 4U - - Corsair RM650i - - LSI 9305-16i HBA - - TreuNAS + many other VM’s

 

Unifi UDM Pro in front of full unifi network infrastructure

 

iPhone 17 Pro - - MacBook Air M3

Link to comment
https://linustechtips.com/topic/467058-what-is-a-cpu-thread/#findComment-6266746
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×