@toreuyar

For anyone who is looking for more detailed explanation: HT is a technology to utilize empty bubles on pipeline. On a pipelined processor instruction goes through multiple hardware pipeline stages to get executed. Not every instructions use every stage of pipelines, which creates unused pipeline stage bubles on execution (parts of core hardware). HT rearranges code instructions on software level to execute another instruction which uses the empty pipeline stages but not the ones already utilised back to back. So for CPU performs fuller by utilizing all the pipeline stages. Since you can’t execute the next instruction of the same thread most of the time, you can effectively only utilize another thread. That’s why you will see CPU exposing itself as a multicore processor to the operating system, which by the way requirea OS to support such technology. Performance gain by this optimisation is generally %10-30, depending on pipeline bubles on the executed code at the time. Those threads would run nearly simultaneously on the instruction level, together but slightly shifted on pipeline level. The extra core you see is just scavenging of the non utilized hardware parts of the physical core.

@arisweedler4703

The OS magnifying glass bit was genius. I love it, you rock!

@rustyboomerton2235

The best layman’s explanation I ever heard was: 
“Imagine you are in a hotdog eating contest. You have one mouth, that is your single core. Now, you have one hand tied behind your back. If you become hyper threaded, you’ll be able to use both arms again. Still just one mouth, but you can handle two instructions with your hands. 

Feel free to take that into the gutter if you want, I’m sure it will happen in record timing hahaha

@SirLoochie444

You are changing lives dude! Idk how you do it, but when you talk, it sticks and it's clear as daylight! KEEP IT UP! I appreciate your vids so freaking much man!!!!

@theendurance

I've found a gold mine channel!

@DanielAlvarez-v9e

I've ordered on eBay a pentium 4 processor with hyper-threading technology. This video really made things simple for me. Thank you so much!!

@_Triple-B

this channel is so underrated.  
Simpel but great information,  good animation and  no screaming or 'funny stuff' in the animation. 
Well done guys! You should have a lot more  likes and subscribes


thumbs up

@borders00

You have the best videos I have not found a person that can compare to your videos, We need teachers like you.

@markfalina9160

The video explains what hyper-threading is perfectly. This channel is worth its weight in gold!!!

@edwardjohnson7166

Thank god. Your the only person who made me understand hyperthreading. Other people were explaining it WAY too fast. But you kept it simple and spoke clearly and calmly.

@nikhilrd7686

finally i am glad i got some techy who explains the hectic terms in much simpler words and with better presentation.THANK YOU so much for all your efforts.

@ChaseKelleh

I haven't turned off adblocker to support someone in a while. this is a great channel

@smensmen8529

Oh man! You won't believe how very much I've learned on this Channel without a single video from this channel I had to watch as many videos i wish this will the biggest channel on YouTube 👍

@imcool1347

I appreciate your videos and the way there presented so precisely man, i passed my 901 because of you!

@thatfirstone

For a deeper explanation, each single instruction utilizes specific CPU registers per clock cycle, while other registers go unused. These registers perform tasks and output info to subsequent registers for further logical operations and outputs. That is basically the instruction pipeline within CPUs. What the CPU, BIOS, and operating system does, is allow for the insertion of code for multiple instructions into a single instruction, which will therefore use more CPU registers. The output is then a single 64-bit instruction (for x64), but the OS will separate the secondary instruction from that single instruction. So, for an 8 bit CPU, instead of, for example, two instructions of 11110000 and 10110000. You can have 11111011 (1111 + 1011) as one instruction. The system makes use of the unused bits in each 8-bit instruction to make space for an 8-bit amalgamation (combination). The  system will then separate 11111011 into 1111 and 1011 for two separate instructions. The 1111000 code will progress through a pipeline unused by the 10110000 code in the 8-bit CPU, and vice versa. Therefore, there will be two instructions processed simultaneously, and two simultaneous outputs. Obviously, only the right combination of sequential instructions can be hyperthreaded, as there needs to be enough space to fit both instructions, and also, the CPU needs to be sure that the second instruction will follow a different pipeline. But even if at some point, the instruction pipelines merge, the second instruction will be further along its processing, when it gets the opportunity to merge into the other pipeline, than if it had to wait in line for the first instruction in a non hyperthreaded CPU.  Anyway,  I hope this provides sufficient clarity on how this works, at a deeper level.

@alwaysincentivestrumpethic6689

Am so lucky to land on this channel !!! Holy cow how is the knowledge even free ??

@oswaldjh

While in the task manager, 3:50 you can right click on the CPU graph and show all threads and their utilization percentage.

@superswag4191

You should have noted that hyper-threading doesn't directly translate to "two times" the physical CPU's performance without hyper threading.

But other than that, it was a great video.

@shaishavgaur

This would be my first comment on any video ever!..but your videos are too good not to be appreciated. Thank you for making complexity sound so simple both through your videos and through your voice.

@kelkiiii

This explanation was perfect and the visual representations really enhanced the material as well. Thanks so much.