{"id":2888,"date":"2012-04-10T13:15:13","date_gmt":"2012-04-10T12:15:13","guid":{"rendered":"https:\/\/blogs.mentor.com\/colinwalls\/?p=2888"},"modified":"2026-03-26T16:37:20","modified_gmt":"2026-03-26T20:37:20","slug":"comparing-apples-with-apples","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/embedded-software\/2012\/04\/10\/comparing-apples-with-apples\/","title":{"rendered":"Comparing apples with apples"},"content":{"rendered":"<p>I often joke about having a &#8220;supercomputer&#8221; on my desk. It is actually a moderately powerful desktop PC, which is not really stretched by the work that I expect it to do. But, at least I am not normally left twiddling my thumbs waiting for it to do something. I have this computer, instead of a powerful laptop, as I concluded that, when traveling, I did not need to lug an enormous computer around; a small notebook [netbook] is quite sufficient and, nowadays, my iPad can be even better.<\/p>\n<p>But, I digress. What I am interested in is the comparison of my modest PC with a supercomputer and how that rates against embedded devices &#8230;<!--more--><\/p>\n<p>I recall that, while a student at university, I was playing with a mathematical <a href=\"https:\/\/blogs.mentor.com\/colinwalls\/blog\/2009\/11\/05\/palendromic-numbers\/\" target=\"_blank\" rel=\"noopener noreferrer\">puzzle<\/a> and enlisted the help of a supercomputer in a remote city to do my calculations. I sent off the &#8220;job&#8221; and, after a couple of days, I got a printout back saying that I had consumed my quota of 20 minutes of CPU time, but not arrived at a solution. I have often wondered just home much computing power I had had access to. Now I have an idea.<\/p>\n<p>Let&#8217;s consider a typical [quite high end] embedded processor: the Zynq Cortex-A9 [ARM processor embedded in a Xilinx FPGA device]. It is a dual core device running at 800 MHz. It has a theoretical peak floating point performance [single precision] of 12.8 GFLOPS. It consumes around 1 Watt of power.<\/p>\n<p>Now, compare that with a desktop PC CPU &#8211; an Intel &#8220;Ivy Bridge&#8221;. This is a quad core device running at 3.5 GHz. It has a theoretical peak floating point performance [single precision] of 224 GFLOPS. It consumes around 80 Watts of power.<\/p>\n<p><a href=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/51\/2012\/04\/cray.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-thumbnail wp-image-2892\" src=\"https:\/\/blogs.sw.siemens.com\/wp-content\/uploads\/sites\/51\/2012\/04\/cray-150x150.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a>So, this illustrates the wide range of performance options with modern CPUs. How does this compare with a 1980s supercomputer? Let&#8217;s consider a Cray X-MP. This was a dual core machine running at 105 MHz. It has a theoretical peak floating point performance [double precision] of 200 MFLOPS. It consumes around 60 Kilowatts of power.<\/p>\n<p>Things have changed! Clearly, the description of my desktop PC is not unreasonable and maybe I need to revisit my mathematical puzzle. I guess that what I learn from this is that engineers who complain that they have not got enough CPU power for their embedded application do not know when they are well off.<\/p>\n<p>Thanks to my colleague Brooks Moses for drawing my attention to these statistics.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I often joke about having a &#8220;supercomputer&#8221; on my desk. It is actually a moderately powerful desktop PC, which is&#8230;<\/p>\n","protected":false},"author":71677,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[459,460,300,461],"industry":[],"product":[],"coauthors":[],"class_list":["post-2888","post","type-post","status-publish","format-standard","hentry","category-news","tag-cortex-a9","tag-cray","tag-embedded-software","tag-zynq"],"_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/posts\/2888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/users\/71677"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/comments?post=2888"}],"version-history":[{"count":1,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/posts\/2888\/revisions"}],"predecessor-version":[{"id":10054,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/posts\/2888\/revisions\/10054"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/media?parent=2888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/categories?post=2888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/tags?post=2888"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/industry?post=2888"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/product?post=2888"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/embedded-software\/wp-json\/wp\/v2\/coauthors?post=2888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}