{"id":379126,"date":"2021-12-09T17:00:01","date_gmt":"2021-12-09T14:00:01","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/what-is-hyperthreading\/"},"modified":"2021-12-09T17:00:01","modified_gmt":"2021-12-09T14:00:01","slug":"what-is-hyperthreading","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/what-is-hyperthreading\/","title":{"rendered":"#What Is Hyperthreading?"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_85 counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a340c8eb3251\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #dd3333;color:#dd3333\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #dd3333;color:#dd3333\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a340c8eb3251\" checked aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-hyperthreading\/#What_Is_a_Software_Thread\" >What Is a Software Thread?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-hyperthreading\/#True_Parallel_Processing_in_Home_Computers\" >True Parallel Processing in Home Computers<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-hyperthreading\/#Putting_CPU_Cores_Into_Overdrive_With_Hyperthreading\" >Putting CPU Cores Into Overdrive With Hyperthreading<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/buradabiliyorum.com\/en\/what-is-hyperthreading\/#Why_Youd_Want_Hyperthreading\" >Why You\u2019d Want Hyperthreading<\/a><\/li><\/ul><\/nav><\/div>\n<p><strong>&#8220;#What Is Hyperthreading?&#8221;<\/strong><\/p>\n<div>\n<figure style=\"width: 1200px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage wp-image-768780 size-full\" data-pagespeed-lazy-srcset=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/11\/shutterstock_1197904060.jpg?width=398&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 400w, https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/11\/shutterstock_1197904060.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1 1200w\" sizes=\"auto, 400w, 1200w\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/11\/shutterstock_1197904060.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"A technician holding a CPU over a motherboard.\" width=\"1200\" height=\"675\" data-crediturl=\"https:\/\/www.shutterstock.com\/image-photo\/electronic-lab-science-manufacturing-computer-processor-1197904060\" data-credittext=\"Maha Heang 245789\/Shutterstock.com\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\"><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.shutterstock.com\/image-photo\/electronic-lab-science-manufacturing-computer-processor-1197904060\">Maha Heang 245789\/Shutterstock.com<\/a><\/span><\/figcaption><\/figure>\n<p>Hyperthreading was once a feature only found on high-end professional CPUs. However, Hyperthreading is now found on mainstream consumer CPUs, too. So what exactly is Hyperthreading, and should you look for it in your next CPU?<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_Is_a_Software_Thread\"><\/span>What Is a Software Thread?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A software thread is a sequence of instructions that are processed by a CPU. It\u2019s the basic unit of programmed instructions managed by the\u00a0<em>scheduler.\u00a0<\/em>The scheduler is a component of the operating system that allocated hardware resources to the various types of software running on a computer.<\/p>\n<p>Every <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/download-scripts-themes-apps\/\" data-internallinksmanager029f6b8e52c=\"9\" title=\"Download Scripts &amp; Themes &amp; Apps\" target=\"_blank\" rel=\"noopener\">app<\/a>lication running on your computer exists as one or more processes. Threads are effectively segments of these processes sent to the CPU for execution. The scheduler rapidly assigns threads from different running programs to ensure that each gets the resources it needs to run in real-time.<\/p>\n<p>This is how your computer can \u201cmultitask\u201d and (for example) run a word processor while also playing music and downloading a video <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/game\/\" data-internallinksmanager029f6b8e52c=\"7\" title=\"Game\" target=\"_blank\" rel=\"noopener\">game<\/a> in the background. Technically, a CPU core is not actually doing all these jobs at the same time.<\/p>\n<p>So if your system just has a single-core CPU, it\u2019s rapidly juggling multiple sets of instructions,\u00a0switching so rapidly between them that to our slow human brains it all seems to happen in parallel.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"True_Parallel_Processing_in_Home_Computers\"><\/span>True Parallel Processing in Home Computers<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For most of personal computing history, your computer only had one CPU core in it. Well, back then we didn\u2019t talk about \u201ccores\u201d since there was just one and it was the whole CPU. However, in the mid-2000s CPU makers had the bright idea of stuffing two complete CPUs into one CPU package. These dual-core CPUs could actually process two threads of instructions at the same time. This meant that, for example, your video game could have 100% of a core and your operating system could have the other core all to itself.<\/p>\n<p>Today CPU core counts are rapidly rising. Mainstream CPUs with 6, 8 and even 10 cores are common. The high-end CPUs offer dozens of cores and CPUs like the AMD Threadripper 3990X are stuffed with a whopping 64 cores.<\/p>\n<p>Software development has also changed to take better advantage of all this parallel CPU power. The latest video game consoles are equipped with eight CPU cores as well, so video games that can make use of that many cores are quickly becoming common.<\/p>\n<div class=\"product-box\">\n<div class=\"product-img product-img-noaward\">\n<a rel=\"nofollow noopener\" target=\"_blank\" aria-hidden=\"true\" tabindex=\"-1\" role=\"presentation\" href=\"https:\/\/www.amazon.com\/dp\/B0815SBQ9W?tag=hotoge-20&amp;linkCode=ogi&amp;th=1&amp;psc=1\" onclick=\"fbq('track', 'Buy Button'); if (fb_t_convert){fb_t_convert();}\"><br \/>\n<img decoding=\"async\" data-pagespeed-lazy-src=\"https:\/\/m.media-amazon.com\/images\/I\/31vWVeEd0ZL._SL160_.jpg\" height=\"147px\" alt=\"\" role=\"presentation\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><br \/>\n<\/a>\n<\/div>\n<\/div>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Putting_CPU_Cores_Into_Overdrive_With_Hyperthreading\"><\/span>Putting CPU Cores Into Overdrive With Hyperthreading<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>A traditional CPU can only handle a single thread, but if you have many different CPU cores in your system, you can handle a number of threads equal to the number of cores you have. This seems fine, but it presents one major issue.<\/p>\n<p>Not all threads require the same amount of processing power. For example, a thread that\u2019s rendering video will use 100% of a CPU core\u2019s available capacity, but the thread that\u2019s running your word processor or <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/social-mediaa\/\" data-internallinksmanager029f6b8e52c=\"1\" title=\"Social Media\" target=\"_blank\" rel=\"noopener\">social media<\/a> web page only needs a fraction of the power offered by a modern CPU core.<\/p>\n<p>Likewise, a video game may have multiple threads that run in parallel, such as one that handles physics and another that handles character artificial intelligence. These are important jobs but may not need all of a single core to run well.<\/p>\n<p>This leads to a situation where all of your CPU cores may be busy with threads, but aren\u2019t giving you all of the processing power they are capable of. That\u2019s where hyperthreading comes into the picture.<\/p>\n<p>The proper generic name for hyperthreading is <em>simultaneous multithreading<\/em>. \u201cHyperthreading\u201d is actually a proprietary marketing name used by Intel, but just as with \u201cHoover\u201d, it\u2019s become common parlance for the <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/technology\/\" data-internallinksmanager029f6b8e52c=\"4\" title=\"Technology\" target=\"_blank\" rel=\"noopener\">technology<\/a> as a whole.<\/p>\n<p>A CPU that\u2019s equipped with the right internal circuitry to enable hyperthreading can execute two separate threads at the same time. It\u2019s not switching between them as with traditional single-core multi-tasking. It\u2019s running each one in parallel.<\/p>\n<p>To the operating system, it looks like each physical CPU core is actually two cores, which lets the scheduler assign two threads to each one. However, the total amount of processing power per core remains exactly the same.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Why_Youd_Want_Hyperthreading\"><\/span>Why You\u2019d Want Hyperthreading<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As we mentioned above, hyperthreading is mainly about making sure that you aren\u2019t leaving processing power on the table. Letting each core handle two threads makes it easier for your operating system to get the most out of your hardware and avoids a situation where every core isn\u2019t running near or at full capacity.<\/p>\n<p>In the past, only professional software such as video editors or scientific data-crunching jobs really needed hyperthreading. Mainstream users hardly had enough apps running to need that many threads. Video games have also taken a long time to adopt the use of multiple threads, but now 8-core gaming systems are mainstream and the thread counts will keep rising.<\/p>\n<p>As such, new mainstream CPUs now feature hyperthreading and it is a feature most users should want. However, if you get a good deal on an older CPU that doesn\u2019t have hyperthreading, it\u2019s not yet so essential that you can\u2019t afford to pass it up.<\/p>\n<\/div>\n<p><script>\n setTimeout(function(){\n  !function(f,b,e,v,n,t,s)\n  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n  n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n  if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n  n.queue=[];t=b.createElement(e);t.async=!0;\n  t.src=v;s=b.getElementsByTagName(e)[0];\n  s.parentNode.insertBefore(t,s) } (window, document,'script',\n  'https:\/\/connect.facebook.net\/en_US\/fbevents.js');\n   fbq('init', '335401813750447');\n   fbq('track', 'PageView');\n  },3000);\n<\/script><\/p>\n<blockquote><p><strong><span style=\"color: #ff6600;\">If you liked the article, do not forget to share it with your friends. Follow us on\u00a0<span style=\"color: #ff0000;\"><a style=\"color: #ff0000;\" href=\"https:\/\/news.google.com\/publications\/CAAqBwgKMLG0nwswvr63Aw\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Google News<\/a><\/span>\u00a0too, click on the star and choose us from your favorites.<\/span><\/strong><\/p><\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\">For forums sites go to <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/forum.buradabiliyorum.com\/\" target=\"_blank\" rel=\"noopener\">Forum.BuradaBiliyorum.Com<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<blockquote>\n<p style=\"text-align: center;\"><strong>If you want to read more like this article, you can visit our <span style=\"color: #ff9900;\"><a style=\"color: #ff9900;\" href=\"https:\/\/en.buradabiliyorum.com\/technology\/\" target=\"_blank\" rel=\"noopener\">Technology category.<\/a><\/span><\/strong><\/p>\n<\/blockquote>\n<p><span style=\"color: black;\"><a style=\"color: #ff9900;\" href=\"https:\/\/www.howtogeek.com\/767751\/what-is-hyperthreading\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;#What Is Hyperthreading?&#8221; Maha Heang 245789\/Shutterstock.com Hyperthreading was once a feature only found on high-end professional CPUs. However, Hyperthreading is now found on mainstream consumer CPUs, too. So what exactly is Hyperthreading, and should you look for it in your next CPU? What Is a Software Thread? A software thread is a sequence of instructions&#8230;<\/p>\n","protected":false},"author":1,"featured_media":379127,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2021\/11\/shutterstock_1197904060.jpg?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-379126","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/379126","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/comments?post=379126"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/379126\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/379127"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=379126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=379126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=379126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}