{"id":37336,"date":"2020-05-01T09:51:00","date_gmt":"2020-05-01T16:51:00","guid":{"rendered":"https:\/\/virtual-dba.com\/?p=37336"},"modified":"2025-11-12T09:46:19","modified_gmt":"2025-11-12T16:46:19","slug":"sockets-cores-and-threads","status":"publish","type":"post","link":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/","title":{"rendered":"Sockets, Cores, and Threads, oh my!"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-summary\">SUMMARY:<\/h2>\n\n\n\n<p>Modern computing professionals must clearly distinguish between the physical processor <strong>socket<\/strong>, the independent execution <strong>core<\/strong>, and the dependent <strong>thread<\/strong> to accurately calculate a system&#8217;s true processing capacity in environments dominated by parallel workloads.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Processor sockets<\/strong> are the most tangible components, representing the physical receptacle or package connecting the CPU to the motherboard, a architecture that dates back to the Y2K era.<\/li>\n\n\n\n<li><strong>Processor cores<\/strong> are independent execution units within a package, becoming the most critical processor metric for planning systems with parallel workloads after processor clock speeds plateaued around 2005.<\/li>\n\n\n\n<li><strong>Processor threads<\/strong> are &#8220;logical processors&#8221; enabled by techniques such as simultaneous multithreading (SMT) or Intel\u2019s Hyper-Threading Technology, which efficiently boost performance by providing a second set of registers to avoid slow context switches.<\/li>\n<\/ul>\n\n\n\n<p>Accurately assessing the total number of CPUs requires multiplying the system&#8217;s sockets by the cores per socket and the threads per core, information readily available using operating system tools like <code>lscpu<\/code> on Linux or the Task Manager on Windows.<\/p>\n\n\n\n<div class=\"wp-block-yoast-seo-table-of-contents yoast-table-of-contents\"><h2>Table of contents<\/h2><ul><li><a href=\"#h-summary\" data-level=\"2\">SUMMARY:<\/a><\/li><li><a href=\"#h-processor-sockets\" data-level=\"2\">Processor Sockets<\/a><\/li><li><a href=\"#h-processor-cores\" data-level=\"2\">Processor Cores<\/a><\/li><li><a href=\"#h-processor-threads\" data-level=\"2\">Processor Threads<\/a><\/li><li><a href=\"#h-so-how-many-cpus-do-i-have\" data-level=\"2\">So how many CPUs do I have?<\/a><\/li><\/ul><\/div>\n\n\n\n<p><strong>What do you mean, exactly, by &#8220;CPU&#8221;?<\/strong><\/p>\n\n\n\n<p>Once upon a time, computers sat on our desks; we knew exactly how many processors they had; and back then our biggest uncertainty was whether they could handle Y2K. Fast forward to today: our computers have 4, 8 or 16 processors \u2014 or quite possibly all of those at the same time, depending on how you define &#8220;processor.&#8221; (I&#8217;m using the terms &#8220;CPU&#8221; and &#8220;processor&#8221; interchangeably.) In this post I&#8217;ll describe &#8220;<em>processor sockets<\/em>,&#8221; &#8220;<em>processor cores<\/em>,&#8221; and &#8220;<em>processor threads<\/em>&#8221; with the goal of being able to answer \u201cjust how many CPUs do I have here?&#8221;<\/p>\n\n\n\n<p>Most of us can readily rattle off the three words behind the initialism &#8220;CPU&#8221;: <em>&#8220;central processing unit!<\/em>&#8221; With today&#8217;s complex processors, however, we&#8217;re now faced with having to clarify whether the unit we speak of is<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>a hardware package (a &#8220;socket&#8221;),<\/li>\n\n\n\n<li>an independent execution unit (a &#8220;core&#8221;) within that package; or<\/li>\n\n\n\n<li>a largely dependent unit (a &#8220;thread&#8221;) within that core that is more logical abstraction than anything else.<\/li>\n<\/ul>\n\n\n\n<p>Why do we now have this complexity? And, how did we get here? A brief look at each of these concepts should put it all in context.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-processor-sockets\">Processor Sockets<\/h2>\n\n\n\n<p>This is the oldest of the three concepts, and the easiest to understand. A CPU socket is a receptacle, a physical connector linking the processor to the computer&#8217;s motherboard (the primary circuit board for the computer). Most PCs of the Y2K era (the 1990s) had just one CPU (and hence just one CPU socket). If you wanted another CPU then you needed a motherboard with another CPU socket. Two-socket PC motherboards first appeared around 1995. Multiple-socket motherboards were quite expensive and thus tended to be limited to higher-end servers.<\/p>\n\n\n\n<p>You also needed an OS capable of making use of the additional processors, one with SMP* support: Windows 98 wouldn&#8217;t work (but Windows NT could) and if you were using Linux back then you&#8217;d probably need to recompile your kernel.<\/p>\n\n\n\n<p>The number of CPU sockets on your motherboard is, of course, the same as the number of discrete CPU packages in your system (assuming you didn&#8217;t leave any sockets empty). By extension, <strong>the term &#8220;processor sockets&#8221; can refer to these discrete CPU packages themselves<\/strong> \u2014 handy when needing to distinguish this sense from the other two processor senses. A processor in the <em>socket<\/em>-sense is quite tangible: it&#8217;s something you can buy. (You can&#8217;t buy a <em>core<\/em> by itself \u2014 although you could rent one in the cloud!)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-processor-cores\">Processor Cores<\/h2>\n\n\n\n<p>Around 2005 both AMD and Intel started taking multiple processors and putting them in the same package: <strong>think of this as two CPUs sharing the same socket<\/strong>. There are some technical advantages to doing so (<em>e.g.<\/em> faster cache coherency as it&#8217;s not limited by the motherboard) along with the manufacturing advantages (the cores are usually, although not always, manufactured in the same die). Processor manufacturers turned to this model (more cores rather than faster cores) after being unable to increase clock speeds significantly after reaching the GHz range. Each processor core can execute code independently (whatever the layout: whether the cores are all on the same die, sharing the same processor socket, or each core has its own processor socket), although there are slight variances due to shared caches and bus layout.<\/p>\n\n\n\n<p>Total core count is today the most important processor metric when planning systems with independent parallel workloads (such as those of today&#8217;s servers), taking the primary place CPU clock frequency held for comparing processors two decades ago.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-processor-threads\">Processor Threads<\/h2>\n\n\n\n<p><strong>Processor threads are &#8220;logical processors&#8221;<\/strong>: the CPU reports more processors than physically exist.<\/p>\n\n\n\n<p>In 2002 Intel Corporation introduced the &#8220;Xeon MP&#8221; and &#8220;Pentium 4 HT&#8221; processors \u2013 the first processors with what Intel called &#8220;Hyper-Threading Technology.&#8221; Sill commonly called &#8220;hyperthreading&#8221; (the Kleenex of the processor world; the generic term is &#8220;simultaneous multithreading&#8221; or &#8220;SMT&#8221;), it was an attempt to speed computer processing by having another thread ready to run \u2013 and for the most part, it worked. I say &#8220;for the most part&#8221; because its advantage turned out to be highly workload dependent, speeding some workloads up dramatically and having a negative effect on others, <em>slowing them down considerably<\/em>. Many guides recommended disabling hyperthreading in the BIOS \u2013 particularly early on before software became hyperthreading-aware. Overall, however, hyperthreading has been a net gain, boosting performance (some say by 15%) for generic workloads, which why we still commonly see it on new processors today.<\/p>\n\n\n\n<p>Hyperthreading is a hardware optimization to an old problem. Processors are often data-starved, waiting on I\/O requests from slower storage. Operating systems solved this problem by giving the processor a different program or thread when the current one runs out of work: this is called a context-switch. The problem with context switches is that they are slow: the current state of the thread has to be copied from the CPU registers (super-fast memory locations within the CPU) back to main memory (RAM \u2013 very slow by comparison) and the new thread&#8217;s state has to then be copied into those registers. This process takes a few microseconds \u2014 a few thousand CPU cycles.<\/p>\n\n\n\n<p>Hyperthreading solved this problem by having a second set of these super-fast registers already loaded and ready to go. This second set of registers, which only increases the processor die size by 5%, is presented to the computer as a second CPU, utilizing the same SMP architecture designed for multiple-processors. Hyperthreading doesn&#8217;t double your performance because it doesn&#8217;t give you a second physical processing unit: instead you just get a second set of CPU registers masquerading as a second CPU.<\/p>\n\n\n\n<p>There are many architecture-specific nuances when it comes to processor threads and their degree of autonomy. All implementations, however, have this in common: threads are dependent (at least partially if not entirely) on resources shared with other threads on the same core.<\/p>\n\n\n\n<p>In summary:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>processor socket<\/em> \u2014 a package of processors sharing a physical connection to the motherboard<\/li>\n\n\n\n<li><em>processor core<\/em> \u2014 an independent processor<\/li>\n\n\n\n<li><em>processor thread<\/em> \u2014 a &#8220;logical processor&#8221; sharing resources with other threads on the same core<\/li>\n<\/ul>\n\n\n\n<p>The 4\/8\/16-processor computer in this post&#8217;s opening paragraph is a four-socket server with dual-core CPUs in each socket, each core having two threads. It has:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>4 processor sockets,<\/li>\n\n\n\n<li>8 total processor cores, or<\/li>\n\n\n\n<li>16 total processor threads.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-so-how-many-cpus-do-i-have\">So how many CPUs do I have?<\/h2>\n\n\n\n<p>You can see the number of sockets, cores, and threads on a Linux server via the &#8220;lscpu&#8221; command and focusing on the &#8220;Thread(s) per core,&#8221; &#8220;Core(s) per socket&#8221; and &#8220;Socket(s)&#8221; lines:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"806\" height=\"486\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Linux-lscpu-1.png\" alt=\"Linux-lscpu\" class=\"wp-image-37342\"\/><\/figure>\n\n\n\n<p>The total number of processor threads can be calculated by multiplying the number of sockets by the number of cores per socket and the number of threads per core.<\/p>\n\n\n\n<p>On Windows 10 you can see the breakdown under the Performance tab of the Task Manager (Ctrl-Shift-Esc to launch Task Manager; click \u201cMore details\u201d if you don&#8217;t see tabs):<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"211\" height=\"82\" src=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Windows-SocketsCoresLogicalProcessors.png\" alt=\"Windows-SocketsCoresLogicalProcessors\" class=\"wp-image-37339\"\/><\/figure>\n\n\n\n<p>Note that, on Windows, processor threads are called &#8220;Logical processors&#8221; (arguably a better name). Task Manager shows total <em>Cores<\/em> (rather than cores-per-socket) and total threads (total <em>Logical processors<\/em>, rather than threads-per-core).<\/p>\n\n\n<div class=\"footnote\">[*<em>Symmetric multiprocessing<\/em> (&#8220;SMP&#8221;) is specifically a computer architecture with two or more identical processors (CPUs) in which each processor can access all of the main memory equally, but since NUMA hadn&#8217;t hit the PC world yet we just thought of SMP support as multiprocessor support.]<\/div>","protected":false},"excerpt":{"rendered":"<p>SUMMARY: Modern computing professionals must clearly distinguish between the physical processor socket, the independent execution core, and the dependent thread to accurately calculate a system&#8217;s true processing capacity in environments dominated by parallel workloads. Accurately assessing the total number of CPUs requires multiplying the system&#8217;s sockets by the cores per socket and the threads per [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":37350,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","content-type":"","footnotes":""},"categories":[4166,3918],"tags":[4085,4081,4080,4084],"class_list":["post-37336","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-database","tag-lscpu","tag-microprocessor","tag-processor","tag-thread"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.1 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Sockets, Cores, and Threads, oh my!<\/title>\n<meta name=\"description\" content=\"This post describes processor sockets, processor cores, and processor threads with the goal of being able to answer \u201cjust how many CPUs do I have here?\u201d\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sockets, Cores, and Threads, oh my!\" \/>\n<meta property=\"og:description\" content=\"This post describes processor sockets, processor cores, and processor threads with the goal of being able to answer \u201cjust how many CPUs do I have here?\u201d\" \/>\n<meta property=\"og:url\" content=\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/\" \/>\n<meta property=\"og:site_name\" content=\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-01T16:51:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-12T16:46:19+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"557\" \/>\n\t<meta property=\"og:image:height\" content=\"291\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"XTIVIA\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:site\" content=\"@virtual_dba\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"XTIVIA\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/\"},\"author\":{\"name\":\"XTIVIA\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\"},\"headline\":\"Sockets, Cores, and Threads, oh my!\",\"datePublished\":\"2020-05-01T16:51:00+00:00\",\"dateModified\":\"2025-11-12T16:46:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/\"},\"wordCount\":1407,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg\",\"keywords\":[\"lscpu\",\"microprocessor\",\"processor\",\"thread\"],\"articleSection\":[\"Blog\",\"Database\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#respond\"]}],\"accessibilityFeature\":[\"tableOfContents\"]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/\",\"url\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/\",\"name\":\"Sockets, Cores, and Threads, oh my!\",\"isPartOf\":{\"@id\":\"https:\/\/virtual-dba.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg\",\"datePublished\":\"2020-05-01T16:51:00+00:00\",\"dateModified\":\"2025-11-12T16:46:19+00:00\",\"description\":\"This post describes processor sockets, processor cores, and processor threads with the goal of being able to answer \u201cjust how many CPUs do I have here?\u201d\",\"breadcrumb\":{\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg\",\"width\":557,\"height\":291,\"caption\":\"Sockets Cores and Threads oh my\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/virtual-dba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sockets, Cores, and Threads, oh my!\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/virtual-dba.com\/#website\",\"url\":\"https:\/\/virtual-dba.com\/\",\"name\":\"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts\",\"description\":\"Remote Database Administration\",\"publisher\":{\"@id\":\"https:\/\/virtual-dba.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/virtual-dba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/virtual-dba.com\/#organization\",\"name\":\"Virtual-DBA: Remote DBA | Remote Database Administration\",\"alternateName\":\"Virtual-DBA powered by XTIVIA\",\"url\":\"https:\/\/virtual-dba.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"contentUrl\":\"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg\",\"width\":557,\"height\":291,\"caption\":\"Virtual-DBA: Remote DBA | Remote Database Administration\"},\"image\":{\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/virtual_dba\",\"https:\/\/www.linkedin.com\/showcase\/36220649\/\",\"https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg\"],\"description\":\"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.\",\"email\":\"info@xtivia.com\",\"telephone\":\"8886853101\",\"legalName\":\"XTIVIA, Inc\",\"foundingDate\":\"1992-05-01\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"201\",\"maxValue\":\"500\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1\",\"name\":\"XTIVIA\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g\",\"caption\":\"XTIVIA\"},\"url\":\"https:\/\/virtual-dba.com\/author\/xtivia\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Sockets, Cores, and Threads, oh my!","description":"This post describes processor sockets, processor cores, and processor threads with the goal of being able to answer \u201cjust how many CPUs do I have here?\u201d","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/","og_locale":"en_US","og_type":"article","og_title":"Sockets, Cores, and Threads, oh my!","og_description":"This post describes processor sockets, processor cores, and processor threads with the goal of being able to answer \u201cjust how many CPUs do I have here?\u201d","og_url":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/","og_site_name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","article_published_time":"2020-05-01T16:51:00+00:00","article_modified_time":"2025-11-12T16:46:19+00:00","og_image":[{"width":557,"height":291,"url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg","type":"image\/jpeg"}],"author":"XTIVIA","twitter_card":"summary_large_image","twitter_creator":"@virtual_dba","twitter_site":"@virtual_dba","twitter_misc":{"Written by":"XTIVIA","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#article","isPartOf":{"@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/"},"author":{"name":"XTIVIA","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1"},"headline":"Sockets, Cores, and Threads, oh my!","datePublished":"2020-05-01T16:51:00+00:00","dateModified":"2025-11-12T16:46:19+00:00","mainEntityOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/"},"wordCount":1407,"commentCount":6,"publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg","keywords":["lscpu","microprocessor","processor","thread"],"articleSection":["Blog","Database"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#respond"]}],"accessibilityFeature":["tableOfContents"]},{"@type":"WebPage","@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/","url":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/","name":"Sockets, Cores, and Threads, oh my!","isPartOf":{"@id":"https:\/\/virtual-dba.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage"},"image":{"@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage"},"thumbnailUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg","datePublished":"2020-05-01T16:51:00+00:00","dateModified":"2025-11-12T16:46:19+00:00","description":"This post describes processor sockets, processor cores, and processor threads with the goal of being able to answer \u201cjust how many CPUs do I have here?\u201d","breadcrumb":{"@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#primaryimage","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/Sockets-Cores-and-Threads-oh-my.jpg","width":557,"height":291,"caption":"Sockets Cores and Threads oh my"},{"@type":"BreadcrumbList","@id":"https:\/\/virtual-dba.com\/blog\/sockets-cores-and-threads\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/virtual-dba.com\/"},{"@type":"ListItem","position":2,"name":"Sockets, Cores, and Threads, oh my!"}]},{"@type":"WebSite","@id":"https:\/\/virtual-dba.com\/#website","url":"https:\/\/virtual-dba.com\/","name":"Virtual-DBA Remote DBA Services &amp; Support - Certified Database Experts","description":"Remote Database Administration","publisher":{"@id":"https:\/\/virtual-dba.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/virtual-dba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/virtual-dba.com\/#organization","name":"Virtual-DBA: Remote DBA | Remote Database Administration","alternateName":"Virtual-DBA powered by XTIVIA","url":"https:\/\/virtual-dba.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/","url":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","contentUrl":"https:\/\/virtual-dba.com\/wp-content\/uploads\/V-DBA-Database-Services-and-Support-Featured-Logo.jpg","width":557,"height":291,"caption":"Virtual-DBA: Remote DBA | Remote Database Administration"},"image":{"@id":"https:\/\/virtual-dba.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/virtual_dba","https:\/\/www.linkedin.com\/showcase\/36220649\/","https:\/\/www.youtube.com\/channel\/UCx3AIeUQ2ziTLKZSJDZ-SEg"],"description":"Eliminate database downtime and spiraling costs with XTIVIA\u2019s Virtual-DBA. In today\u2019s always-on business world, gaps in 24x7 on-call DBA support, neglected maintenance and security, or a stretched team struggling with overwhelming workloads can lead to costly disruptions and threaten business continuity. XTIVIA\u2019s Virtual-DBA provides the immediate, expert database administration you need, exactly when you need it, ensuring optimal performance, ironclad security, and significant cost savings without the burden of expanding your in-house team. The goal of Virtual-DBA is to provide a cost-effective solution for organizations seeking to optimize the security, management, maintenance, availability, and performance of their critical business systems, whether self-managed or cloud-managed (e.g., AWS RDS, Azure SQL Database). We accomplish this through a comprehensive remote DBA service offering designed specifically to meet the Oracle\u00ae, DB2\u00ae, Informix\u00ae, MySQL\u2122, PostgreSQL\u00ae, MongoDB\u00ae, MariaDB, and Microsoft SQL Server\u00ae, CockroachDB, Databricks, AWS, and Azure needs of our clients.","email":"info@xtivia.com","telephone":"8886853101","legalName":"XTIVIA, Inc","foundingDate":"1992-05-01","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"201","maxValue":"500"}},{"@type":"Person","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/2d86f74bed0c3f1b49100f7fdf7d78d1","name":"XTIVIA","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/virtual-dba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0d3648a00e319a37cf8d6d19f762acfbbb4fd0320fd8a6d6b1e64f44a2a6f259?s=96&d=mm&r=g","caption":"XTIVIA"},"url":"https:\/\/virtual-dba.com\/author\/xtivia\/"}]}},"_links":{"self":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/37336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/comments?post=37336"}],"version-history":[{"count":0,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/posts\/37336\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media\/37350"}],"wp:attachment":[{"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/media?parent=37336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/categories?post=37336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtual-dba.com\/wp-json\/wp\/v2\/tags?post=37336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}