{"id":565320,"date":"2023-03-17T19:00:00","date_gmt":"2023-03-17T16:00:00","guid":{"rendered":"https:\/\/en.buradabiliyorum.com\/what-are-cores-hyper-threading-and-multiple-cpus\/"},"modified":"2023-03-17T19:00:00","modified_gmt":"2023-03-17T16:00:00","slug":"what-are-cores-hyper-threading-and-multiple-cpus","status":"publish","type":"post","link":"https:\/\/buradabiliyorum.com\/en\/what-are-cores-hyper-threading-and-multiple-cpus\/","title":{"rendered":"#What Are Cores, Hyper-Threading, and Multiple CPUs?"},"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-6a3b72835682a\" 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-6a3b72835682a\" 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-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/buradabiliyorum.com\/en\/what-are-cores-hyper-threading-and-multiple-cpus\/#%E2%80%9CWhat_Are_Cores_Hyper-Threading_and_Multiple_CPUs%E2%80%9D\" >&#8220;What Are Cores, Hyper-Threading, and Multiple CPUs?&#8221;<\/a><ul class='ez-toc-list-level-2' ><li class='ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/buradabiliyorum.com\/en\/what-are-cores-hyper-threading-and-multiple-cpus\/#What_Are_Hyper-Threading_and_Simultaneous_Multithreading\" >What Are Hyper-Threading and Simultaneous Multithreading?<\/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-are-cores-hyper-threading-and-multiple-cpus\/#What_Are_CPU_Cores\" >What Are CPU Cores?<\/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-are-cores-hyper-threading-and-multiple-cpus\/#Are_All_Multi-Core_CPU_Configurations_the_Same\" >Are All Multi-Core CPU Configurations the Same?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/buradabiliyorum.com\/en\/what-are-cores-hyper-threading-and-multiple-cpus\/#What_About_Multiple_CPUs\" >What About Multiple CPUs?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h1><span class=\"ez-toc-section\" id=\"%E2%80%9CWhat_Are_Cores_Hyper-Threading_and_Multiple_CPUs%E2%80%9D\"><\/span>&#8220;What Are Cores, Hyper-Threading, and Multiple CPUs?&#8221;<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<div>\n<figure style=\"width: 1920px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"type:primaryImage wp-image-877334 size-full\" data-pagespeed-no-defer=\"\" src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/06\/52675805070_c1d1951b5b_o.jpg?width=1198&amp;trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"A CPU without a heat sink.\" width=\"1920\" height=\"1080\" data-credittext=\"Jason Fitzpatrick \/ How-To Geek\"\/><figcaption class=\"wp-caption-text\"><span class=\"type:primaryImage imagecredit\">Jason Fitzpatrick \/ How-To Geek<\/span><\/figcaption><\/figure>\n<p>A single modern CPU typically has multiple cores. Each core is its own processor. Simultaneous multi-threading, called Hyper-Threading by Intel, splits each physical core into two logical processors. Each logical processor lets your operating system run two separate tasks. For example, an eight-core CPU <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>ears as a single CPU with 8 cores and 16 logical processors.<\/p>\n<p>The central processing unit (CPU) in your computer does the computational work \u2014 running programs, basically. But modern CPUs offer features like multiple cores and hyper-threading. Some PCs even use multiple CPUs. We\u2019ll explain the differences and how they work.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_Are_Hyper-Threading_and_Simultaneous_Multithreading\"><\/span>What Are Hyper-Threading and Simultaneous Multithreading?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Simultaneous Multithreading (called Hyper-Threading by Intel) allows a single CPU to run multiple tasks simultaneously rather than sequentially, which improves performance in most situations.<\/p>\n<p>Hyper-threading was Intel\u2019s first attempt to bring parallel computation to consumer PCs back in 2002.\u00a0The Pentium 4\u2019s of the day featured just a single CPU core, so it could only perform one task at a time \u2014 even if it were able to switch between tasks quickly enough that it seemed like multitasking. Hyper-Threading \u2014 called simultaneous multithreading (SMT) on AMD and other non-Intel processors \u2014 attempted to make up for that.<\/p>\n<blockquote class=\"admonishment_note\"><p><strong>Note:<\/strong> Strictly speaking,\u00a0<em>only\u00a0<\/em>Intel processors have hyper-threading, however, the term is sometimes used colloquially to refer to any kind of simultaneous multithreading.\u00a0<\/p><\/blockquote>\n<p>A single physical CPU core with hyper-threading or simultaneous multithreading appears as two logical CPUs to an operating system. The CPU is still a single CPU, so it\u2019s a little bit of a cheat. While the operating system sees two CPUs for each core, the actual CPU hardware only has a single set of execution resources for each core. The CPU pretends it has more cores than it does, and it uses its own logic to speed up program execution. In other words, the operating system is tricked into seeing two CPUs for each actual CPU core.<\/p>\n<p>Hyper-threading allows the two logical CPU cores to share physical execution resources. This can speed things up somewhat \u2014 if one virtual CPU is stalled and waiting, the other virtual CPU can borrow its execution resources. Hyper-threading can speed your system up, but it\u2019s nowhere near as good as having actual additional cores.<\/p>\n<figure style=\"width: 730px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-877568 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/06\/intel-CPU.jpg?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"An Intel-powered laptop. \" width=\"730\" height=\"411\" data-credittext=\"Hannah Stryker \/ How-To Geek\" 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=\"imagecredit\">Hannah Stryker \/ How-To Geek<\/span><\/figcaption><\/figure>\n<p>Thankfully, hyper-threading is now just a bonus. While the original consumer processors with hyper-threading only had a single core that masqueraded as multiple cores, modern CPUs now have both multiple cores and hyper-threading or SMT <a href=\"https:\/\/buradabiliyorum.com\/en\/category\/technology\/\" data-internallinksmanager029f6b8e52c=\"4\" title=\"Technology\" target=\"_blank\" rel=\"noopener\">technology<\/a>. Your hexa-core CPU with hyper-threading appears as 12 cores to your operating system, while your octa-core CPU with hyper-threading appears as 16 cores. Hyper-threading is no substitute for additional cores, but a dual-core CPU with hyper-threading should perform better than a dual-core CPU without hyper-threading.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_Are_CPU_Cores\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_1\">What Are CPU Cores?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Originally, CPUs had a single core. That meant the physical CPU had a single central processing unit on it. To increase performance, manufacturers added additional \u201ccores,\u201d or central processing units. A dual-core CPU has two central processing units, so it appears to the operating system as two CPUs. A CPU with two cores, for example, could run two different processes at the same time. This speeds up your system because your computer can do multiple things at once.<\/p>\n<p>Unlike hyper-threading, there are no tricks here \u2014 a dual-core CPU literally has two central processing units on the CPU chip. A quad-core CPU has four central processing units, an octa-core CPU has eight central processing units, and so on.<\/p>\n<p>This helps dramatically improve performance while keeping the physical CPU unit small enough to fit in a single socket. There only needs to be a single CPU socket with a single CPU unit inserted into it \u2014 not four different CPU sockets with four different CPUs, each needing its own power, cooling, and other hardware. There\u2019s less latency because the cores can communicate more quickly, as they\u2019re all on the same chip.<\/p>\n<p>The Windows Task Manager shows this fairly well. Here, for example, you can see that this system has one actual CPU (socket) and 8 cores. Simultaneous multithreading makes each core look like two CPUs to the operating system, so it shows 16 logical processors.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-877320\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/06\/Task-Manager.png?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"Task Manager on Windows 10 with an 8-core CPU. \" width=\"716\" height=\"480\" src=\"\/pagespeed_static\/1.JiBnMqyl6S.gif\" onload=\"pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\" onerror=\"this.onerror=null;pagespeed.lazyLoadImages.loadIfVisibleAndMaybeBeacon(this);\"\/><\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"Are_All_Multi-Core_CPU_Configurations_the_Same\"><\/span><a rel=\"nofollow noopener\" target=\"_blank\" name=\"autotoc_anchor_2\">Are All Multi-Core CPU Configurations the Same?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>No, not all multi-core CPU configurations are the same. There are two distinct design philosophies you\u2019ll encounter when looking at multi-core CPUs.<\/p>\n<p>One type of configuration \u2014 and the kind that has been common in consumer PCs for years \u2014 uses multiple identical cores. In these setups, if you have an octa-core system all eight of those processors are high-performance CPUs, and they\u2019re all optimized in the same way.<\/p>\n<p>The other uses a mixture of different cores (sometimes called a heterogeneous core architecture). Typically, these setups will use two distinct types: <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/767730\/what-are-p-cores-and-e-cores-on-an-intel-cpu\/\">performance cores and efficiency cores. <\/p>\n<p>The precise naming scheme varies a bit between companies and applications, but the basic idea is the same. The efficiency cores are reserved for background and low-demand tasks. These cores consume less power. Performance cores are the exact opposite. They consume significantly more power but give much better performance in demanding tasks, like gaming. The combination results in performance when you need it, but lower background energy use.<\/p>\n<p><strong>RELATED:<\/strong> <strong><em>What Is Undervolting a GPU or CPU, and When Should You Do It?<\/em><\/strong><\/p>\n<p>This heterogeneous multi-core setup (called <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/redirect.viglink.com\/?key=e7eab128eb8d1c53e14db14f4c632447&amp;u=https%3A%2F%2Fwww.arm.com%2Ftechnologies%2Fbig-little&amp;cuid=xid:{xid}&amp;___trxnet=vg\">big.LITTLE<\/a> by ARM) first became popular with cellphones and other mobile devices because of the power savings they offered. When you need your phone to last all day, it doesn\u2019t make sense to drain your battery unnecessarily by running a high-power core all the time. Intel also introduced the idea in mainstream desktop CPUs, starting with its Alder Lake processors.<\/p>\n<h2 role=\"heading\" aria-level=\"2\"><span class=\"ez-toc-section\" id=\"What_About_Multiple_CPUs\"><\/span>What About Multiple CPUs?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Most computers only have a single CPU. That single CPU may have multiple cores or hyper-threading technology \u2014 but it\u2019s still only one physical CPU unit inserted into a single CPU socket on the motherboard.<\/p>\n<p><strong>RELATED:<\/strong> <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.howtogeek.com\/177790\/why-you-cant-use-cpu-clock-speed-to-compare-computer-performance\/\"><strong><em>Why You Can&#8217;t Use CPU Clock Speed to Compare Computer Performance<\/em><\/strong><\/p>\n<p>Before hyper-threading and multi-core CPUs came around, people attempted to add additional processing power to computers by adding additional CPUs. This requires a motherboard with multiple\u00a0CPU sockets. The motherboard also needs additional hardware to connect those CPU sockets to the RAM and other resources. There\u2019s a lot of overhead in this kind of setup. There\u2019s additional latency if the CPUs need to communicate with each other, systems with multiple CPUs consume more power, and the motherboard needs more sockets and hardware.<\/p>\n<figure style=\"width: 730px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-877336 size-full\" data-pagespeed-lazy-src=\"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/06\/multi-CPUs.jpg?trim=1,1&amp;bg-color=000&amp;pad=1,1\" alt=\"A server with multiple CPUs. \" width=\"730\" height=\"411\" data-credittext=\"Justin Duino \/ How-To Geek\" 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=\"imagecredit\">Justin Duino \/ How-To Geek<\/span><\/figcaption><\/figure>\n<p>Systems with multiple CPUs aren\u2019t very common among home-user PCs today. Even a high-powered gaming desktop with multiple graphics cards will generally only have a single CPU. You\u2019ll find multiple CPU systems among supercomputers, servers, some workstations, and similar high-end systems that need as much number-crunching power as they can get.<\/p>\n<p>The more CPUs or cores a computer has, the more things it can do at once, helping improve performance on most tasks. Most computers now have CPUs with multiple cores \u2014 the most efficient option we\u2019ve discussed. You\u2019ll even find CPUs with multiple cores on modern smartphones and tablets.<\/p>\n<p>The clock speed for a CPU and its IPC (instructions per cycle) used to be enough when comparing performance. Things aren\u2019t so simple anymore. A CPU that offers multiple cores and hyper-threading may perform significantly better than a CPU of the same speed that doesn\u2019t feature hyper-threading. And PCs with multiple CPUs can have an even bigger advantage. All of these features are designed to allow PCs to more easily run multiple processes at the same time \u2014 increasing your performance when multitasking or under the demands of powerful apps like video encoders and modern games.<\/p>\n<p>Of course, a higher core count isn\u2019t all that important in every situation. Modern operating systems are pretty smart about splitting up their tasks between multiple cores, but not all programs are so well optimized. In many cases (especially gaming,) performance is primarily limited by the maximum speed of an individual core rather than how many total cores you have. So don\u2019t go rushing out to buy a 64-core Threadripper CPU thinking it\u2019ll net you a billion FPS in <em>Call of Duty<\/em> \u2014 it won\u2019t.<\/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\/194756\/cpu-basics-multiple-cpus-cores-and-hyper-threading-explained\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;What Are Cores, Hyper-Threading, and Multiple CPUs?&#8221; Jason Fitzpatrick \/ How-To Geek A single modern CPU typically has multiple cores. Each core is its own processor. Simultaneous multi-threading, called Hyper-Threading by Intel, splits each physical core into two logical processors. Each logical processor lets your operating system run two separate tasks. For example, an eight-core&#8230;<\/p>\n","protected":false},"author":1,"featured_media":565321,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.howtogeek.com\/wp-content\/uploads\/2017\/06\/52675805070_c1d1951b5b_o.jpg?height=200p&trim=2,2,2,2","fifu_image_alt":"","footnotes":""},"categories":[18],"tags":[],"class_list":["post-565320","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\/565320","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=565320"}],"version-history":[{"count":0,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/posts\/565320\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media\/565321"}],"wp:attachment":[{"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/media?parent=565320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/categories?post=565320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/buradabiliyorum.com\/en\/wp-json\/wp\/v2\/tags?post=565320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}