<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by John Doe on Medium]]></title>
        <description><![CDATA[Stories by John Doe on Medium]]></description>
        <link>https://medium.com/@prabuddhahans107?source=rss-2efcdaaad6ab------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by John Doe on Medium</title>
            <link>https://medium.com/@prabuddhahans107?source=rss-2efcdaaad6ab------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 15:14:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prabuddhahans107/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Single-Core VS Multi-Core Performance]]></title>
            <link>https://medium.com/@prabuddhahans107/single-core-vs-multi-core-performance-8d5ac799f9cb?source=rss-2efcdaaad6ab------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d5ac799f9cb</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[multithreading]]></category>
            <dc:creator><![CDATA[John Doe]]></dc:creator>
            <pubDate>Sun, 20 Oct 2024 10:11:35 GMT</pubDate>
            <atom:updated>2024-10-20T10:11:35.962Z</atom:updated>
            <content:encoded><![CDATA[<h3>What is Single-Core Performance?</h3><p>Simply put, having a single core in your PC is only having one CPU core in your PC to do all tasks.</p><p>In terms of performance, it’s the measure of how fast and efficiently the singular core can perform tasks that are given<br>to it.</p><p>However, most computers these days don’t truly have just one core in their CPU, as evidenced by a lower end CPU having<br>merely 4 cores[1]. But the focus changes from how many threads can execute a task as fast as possible to how fast can a<br>singular core in CPU can execute a single thread.</p><p>This focus is best observed in video games as changing the number of cores in a CPU doesn’t truly affect the FPS in a game<br>as much as the graphics card does.</p><p>However, the performance of a CPU’s cores can turn into a bottleneck if not balanced out carefully by considering the other<br>parts on the computer such as the GPU and RAM.</p><p>In relation to the above, a single-core CPU can perform multi-threading, it is done so sequentially as opposed to being<br>done asynchronously[2]. Which means there’s not much benefit to actually performing multi-threading since it’s going to<br>run our multithreaded operations sequentially instead of doing it in a parallel fashion, like in our labs where it took<br>LONGER to do a simple operation through multi-threading as opposed to us doing it sequentially (which was faster).</p><p>While that seems fine by itself, these days it’s simply not enough as programs get more complex and require more resources<br>to function.</p><p>An example of single-core performance being insufficient is with hobbyist 3D artists and rendering.</p><p>3D rendering is extremely resource demanding, as I had tried my hand at it on my very own single-core laptop and struggled<br>to finish a render in a decent amount of time.</p><p>Baking physics was next to impossible as it took far too long to do in a manageable amount of time.</p><p>However, single-core CPUs are cheaper to manufacture than their Multicore counterparts and use less power in general.<br>And as a result they are efficient at performing basic tasks like web-browsing and video playing[3–4]. There’s also the<br>added benefit of them not requiring as much effort to design proper communication between the cores unlike Multicore CPUs.</p><p>However, even if you have only one core on a CPU, it doesn’t mean that there’s only going to be one thread per core. A<br>process is considered a heavyweight thread, while actual threads are considered lightweight threads. As a result, a single<br>process can have multiple threads, as evidenced by my own computer’s multicore CPU:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B-yytmoleRjD7l_If_FCVw.png" /></figure><h3>What is Multi-Core Performance?</h3><p>Multicore CPUs however, as the name implies, have multiple cores in a CPU.</p><p>Measuring performance here is roughly in the same ballpark as Single-core CPUs, but it’s more in terms of the overall<br>performance of the CPU as it uses multiple cores to accomplish the tasks given to it and how fast it can accomplish those<br>tasks.</p><p>The benefits of multithreading here are much more pronounced, as our multithreaded programs can take advantage of our<br>multiple CPUs and reduce the time taken to run more taxing operations that single-threading would not be able to accomplish<br>in an acceptable span of time.</p><p>The taxing operations in question are things like rendering images, 3D models, or video editing[3]. While these can be<br>done on a singular thread to some extent, it’s far faster to do these tasks using multithreading.</p><p>These days however, most CPUs are Multicore CPUs instead of Single-core CPUs as the average person’s needs and tasks on<br>a computer have shifted to use more resources and thus require multi-threading.</p><p>As a result of most CPUs being Multicore these days, the number of cores matters now as it gives us more threads to work<br>with and thus speeds up our operations.</p><h3>How would we actually measure the performance of our CPUs?</h3><p>As mentioned earlier, most CPUs are multicore these days, however there are tools available to measure the performance of<br>a CPU through either it’s single-core performance or multicore performance.</p><p>Benchmarking tools like Cinebench are useful for actually measuring the performance of our CPUs, which I will demonstrate<br>the usage of in the below images.</p><p>I used two of my own computers, a Desktop PC and a Laptop to perform this test. Both of these CPUs were the same kind of CPU,<br>which is an Intel i7, however they were 2 generations apart, and meant for different machines but this example of performance<br>still applies.</p><p>My PC CPU had 24 cores to work with, as well as a GPU powerful enough to run Cinebench.</p><p>My Laptop had 8 cores to work with, but no GPU strong enough to run Cinebench.</p><p>The images below show the performance of both machines using Cinebench, Benchmate, and Geekbench two free tools that can<br>be used for benchmarking.</p><p>Cinebench is primarily for testing a task that is very CPU intensive, that is 3D rendering.</p><p>Benchmate however runs scripts that gives the CPU a heavy workload to measure it’s performance.</p><p>Geekbench has a detailed performance report, as it can give both the single-core and multicore performance of a CPU in<br>its reports.</p><h3>Multicore &amp; Single-core Performance (PC)</h3><h4>Cinebench (Single-core)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*yrp8IWMS40pZKkXb8X5AaA.png" /></figure><h4>Cinebench (Multicore)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/712/1*TGuvTHXyDktmMCnFgg-KoA.png" /></figure><h4>Benchmate</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*ktLk0DG-qiUc5iWuX3Rw_Q.png" /></figure><h4>Geekbench Single-Core</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3uAtIMsCGcif0ZserVTt2w.png" /></figure><h4>Geekbench Multicore</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*XQB794O6bvQ5zz-PBw73fg.png" /></figure><h3>CPU Performance (Laptop)</h3><h4>Benchmate</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*uXcqMBapYdIiWzSDNBvPEQ.png" /></figure><h4>Cinebench</h4><p>Unfortunately due to graphics card issues on my laptop, I was unable to run any Cinebench tests for multicore or single-core<br>performance.</p><h4>Geekbench Single-Core</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/714/1*2fXvL_XXAOwMMeRyhX8oWg.png" /></figure><h4>Geekbench Multicore</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*PJ5lmlBEZoJXiwq_VRtIow.png" /></figure><h3>Benchmark assessment</h3><p>Admittedly this is a bit of an unfair comparison as a CPU built for a laptop isn’t the same as a CPU that’s built for a<br>desktop PC, but this comparison is here for a simple example for the sake of this article.</p><p>As we can see from the benchmarks, it’s clear that when we have more cores in our CPU, our performance drastically increases<br>as the 24-core CPU is roughly 7 times faster than the 8 core CPU in Benchmate.</p><p>And we can also see from both the laptop and the PC the gap between single-core performance and multicore performance in<br>Geekbench and Cinebench as the Multicore performance graph of both CPUs has far more points than the Single-core performance<br>graph.</p><p>On the desktop PC, the difference between Single-core performance and Multicore performance is that Multicore performance<br>is roughly 3 times faster than Single-core performance.</p><p>On the laptop, we can see that Multicore performance is nearly 2 times faster than Single-core performance.</p><p>What we can assess from this is that Multicore performance is significantly faster at performing tasks than Single-Core<br>CPU performance.</p><h3>Where and when would either apply?</h3><p>When it comes to Single-core performance, we’re looking for a strong single thread performance in our CPU. However, when<br>it comes to Multicore performance we need to make sure that we’re handling the communication between the CPUs correctly.</p><p>Single-core performance is not targeted towards industry or research, but towards consumers who want faster experiences,<br>a good example is in gaming where it’s not required to have a lot of cores on a CPU as long as the base speed of the<br>CPU is sufficient.</p><p>To put it in simpler terms, the speed of a single execution thread is more valuable than the number of them to allocate<br>resources towards.</p><p>However, at the industry or even research level we need significantly more computational and processing power in the form<br>of threads to handle tasks such as server communication, cloud computing, 3D rendering, and training AI models as these<br>require more threads to speed up their operations.</p><p>But the thing is that people require Multithreading without even realizing it.</p><p>The average Operating System (OS) nowadays is Multithreaded, examples in question being Linux, Unix, and Windows.</p><p>Even word processing software like Microsoft Word uses multithreading for multiple operations such as hyphenation and<br>spell-checking[5].</p><p>So in general, Multithreading is a common process that many people don’t seem to notice, whereas single-threading is done<br>in places like Web Browsers[6].</p><h3>Conclusion</h3><p>In conclusion, the Multithreaded performance of a CPU is objectively better than it’s Single-threaded performance as it<br>can do more tasks, and at a faster rate.</p><p>However, it requires the CPUs to communicate properly between each other, which adds some overhead work in creating the<br>CPUs.</p><p>Multithreading however has the caveat of requiring more power and logic required to make things work, while Single-threading<br>requires less of both, and is cheaper as a whole and is more focused on the performance of a singular thread.</p><p>A good analogy to compare Multicore performance and Single-core performance is pizza slices. It’s a bit unorthodox but it<br>works well enough.</p><p>When serving multiple guests, you’d want multiple slices of a pizza to serve all of your guests instead of just a few<br>or even one large slice. The multiple slices in this instance is our multiple cores and threads.</p><p>But when eating a pizza yourself you’d rather want a cheap singular large slice or even a few large slices just for<br>yourself to eat. Here it’s akin to Single-core performance and single-threading.</p><p>When either of which applies is situational, be it pizza or multithreading.</p><h3>References</h3><p>[1] <a href="https://www.intel.com/content/www/us/en/products/sku/236774/intel-core-i3-processor-14100-12m-cache-up-to-4-70-ghz/specifications.html">https://www.intel.com/content/www/us/en/products/sku/236774/intel-core-i3-processor-14100-12m-cache-up-to-4-70-ghz/specifications.html</a> [2] <a href="https://stackoverflow.com/questions/16116952/can-multithreading-be-implemented-on-a-single-processor-system">https://stackoverflow.com/questions/16116952/can-multithreading-be-implemented-on-a-single-processor-system</a><br>[3] <a href="https://eelectronics.medium.com/single-core-vs-multi-core-processor-a-detailed-comparison-8b29deeac01c">https://eelectronics.medium.com/single-core-vs-multi-core-processor-a-detailed-comparison-8b29deeac01c</a><br>[4] <a href="https://stackoverflow.com/questions/20476638/single-vs-multi-threaded-programming-on-a-single-core-processor">https://stackoverflow.com/questions/20476638/single-vs-multi-threaded-programming-on-a-single-core-processor</a> [5] <a href="https://answers.microsoft.com/en-us/msoffice/forum/all/multi-core-process-and-word-for-mac/16327caa-3c47-40db-8d8e-198f1daa8e97">https://answers.microsoft.com/en-us/msoffice/forum/all/multi-core-process-and-word-for-mac/16327caa-3c47-40db-8d8e-198f1daa8e97</a> [6] <a href="https://stackoverflow.com/questions/28868529/are-browsers-still-single-thread">https://stackoverflow.com/questions/28868529/are-browsers-still-single-thread</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d5ac799f9cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>