{"id":141,"date":"2007-07-10T11:50:00","date_gmt":"2007-07-10T16:50:00","guid":{"rendered":"http:\/\/www.nynaeve.net\/?p=141"},"modified":"2019-12-13T17:37:42","modified_gmt":"2019-12-13T22:37:42","slug":"the-beginning-of-the-end-of-the-single-processor-era","status":"publish","type":"post","link":"http:\/\/www.nynaeve.net\/?p=141","title":{"rendered":"The beginning of the end of the single-processor era"},"content":{"rendered":"<p>I came across a quote on <a title=\"AMD cuts prices on its desktop CPUs\" href=\"http:\/\/news.com.com\/8301-10784_3-9740718-7.html?tag=bl\">CNet<\/a> that stuck with me yesterday:<\/p>\n<blockquote><p>It&#8217;s hard to see how there&#8217;s room for single-core processors when prices for nearly half of AMD&#8217;s dual-core Athlon 64 X2 chips have crept well below the $100 mark.<\/p><\/blockquote>\n<p>I think that that this sentiment is especially true nowadays (at least for conventional PC-style computers &#8211; not counting embedded things).  Multiprocessor (at least pseudo-multiprocessor, in the form of <a title=\"HyperThreading\" href=\"http:\/\/en.wikipedia.org\/wiki\/Hyper-threading\">Intel&#8217;s HyperThreading<\/a>) has been available on end-user computers for some time now.  Furthermore, full multiprocessor, in terms of multi-core chips, is now mainstream.  What I mean by that is that by now, most of that computers you&#8217;ll get from Dell, Best Buy, and the likes will be MP, whether via HyperThreading or multi-core.<\/p>\n<p>To give you an idea, I recently got a 4-way server (a single quad core chip) recently, for ~$2300 or so (though it was also reasonably equipped other than in the CPU department).  At work, we got an 8-way box (2x dual core chips) for under under ~$3000 or so as well, for running VMs for our quality assurance department.  Just a few years ago, getting an 8-way box &#8220;just like that&#8221; would have been unheard of (and ridiculously expensive), and yet here we are, with medium-level servers that Dell ships coming with that kind of multiprocessing &#8220;out of the box&#8221;.<\/p>\n<p>Even laptops are coming with multicore chips in today&#8217;s day and age, and laptops have historically not been exactly performance leaders due to size, weight, and battery life constraints.  All but the most entry-level laptops Dell ships nowadays are dual core, for instance (and this is hardly limited to Dell either; Apple is shipping dual-core Intel Macs as well for their laptop systems, and has been for some time in fact.)<\/p>\n<p>Microsoft seems to have recognized this as well; for instance, <a title=\"Kernel Enhancements for Windows Server Longhorn\" href=\"http:\/\/download.microsoft.com\/download\/5\/b\/9\/5b97017b-e28a-4bae-ba48-174cf47d23cd\/SER058_WH06.ppt\">there is no single processor kernel<\/a> shipping with Windows Vista, Windows Server 2008, or future Windows versions.  That doesn&#8217;t mean that Windows doesn&#8217;t support single processor systems, but just that there is no longer an optimized single processor kernel (e.g. replacing spinlocks with a simple <em>KeRaiseIrql(DISPATCH_LEVEL) <\/em> call) anymore.  The reason is that for new systems, of which are expected to be the vast majority of Vista\/Server 2008 installs, multiprocessing capability is just so common that it&#8217;s not worth maintaining a separate kernel and HAL just for the odd single processor system&#8217;s benefit anymore.<\/p>\n<p>What all this means is that if as developers, you haven&#8217;t been really paying attention to the multiprocessor scene, now&#8217;s the time to start &#8211; it&#8217;s a good bet that within a few years, even on very low end systems, single processor boxes are going to become very rare.  For intensive applications, the capability to take advantage of MP is going to start being a defining point now, especially as chip makers have realized that they can&#8217;t just indefinitely increase clock rates and have accordingly began to transition to multiprocessing as an alternative way to increase performance.<\/p>\n<p>Microsoft isn&#8217;t the only company that&#8217;s taking notice of MP becoming mainstream, either.  For instance, <a title=\"VMware\" href=\"http:\/\/www.vmware.com\">VMware<\/a> now fully supports multiprocessor virtual machines (even on its free VMware Server product), as a way to boost performance on machines with true multiprocessing capability.  (And to their credit, it&#8217;s actually not half-bad as long as you aren&#8217;t loading the processors down completely, at which point it seems to turn into a slowdown &#8211; perhaps due to VMs competing with eachother for scheduling while waiting on spinlocks, though I didn&#8217;t dig in deeper.)<\/p>\n<p>(Sorry if I sound a bit like <a title=\"Steve Dispensa\" href=\"http:\/\/www.kernelmustard.com\">Steve<\/a> when talking about MP, but it really is here, now, and now&#8217;s the time to start modifying your programs to take advantage of it.  That&#8217;s not to say that we&#8217;re about to see 100+ core computers becoming mainstream tommorow, but small-scale multiprocessing is very rapidly becoming the standard in all but the most low cost systems.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I came across a quote on CNet that stuck with me yesterday: It&#8217;s hard to see how there&#8217;s room for single-core processors when prices for nearly half of AMD&#8217;s dual-core Athlon 64 X2 chips have crept well below the $100 mark. I think that that this sentiment is especially true nowadays (at least for conventional [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=\/wp\/v2\/posts\/141"}],"collection":[{"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":1,"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":580,"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions\/580"}],"wp:attachment":[{"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nynaeve.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}