{"id":2256,"date":"2012-06-21T20:33:43","date_gmt":"2012-06-21T19:33:43","guid":{"rendered":"http:\/\/www.branedy.net\/?p=2256"},"modified":"2014-02-27T13:50:59","modified_gmt":"2014-02-27T12:50:59","slug":"benchmarking-the-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.branedy.net\/?p=2256","title":{"rendered":"Benchmarking the Raspberry-Pi"},"content":{"rendered":"<p>This is a crude and simple PI test against the Raspberry-Pi and a Dell Pentuim-4 (3.0Ghz) <\/p>\n<blockquote><p>\n<strong>The Raspberry-Pi <\/strong><br \/>\nStarting PI&#8230;<br \/>\n x= 0.38631 y= 0.89070 low= 939239 j=1200001<br \/>\nPi =  3.130797 ztot=   801773.75 itot= 1200000<\/p>\n<p><strong>real\t0m1.900s<br \/>\nuser\t0m1.720s<br \/>\nsys\t0m0.000s<\/strong>\n<\/p><\/blockquote>\n<blockquote><p>\n<strong>Pentium-4<\/strong><br \/>\nStarting PI&#8230;<br \/>\n x= 0.38631 y= 0.89070 low= 939239 j=1200001<br \/>\nPi =  3.130797 ztot=   801773.75 itot= 1200000<\/p>\n<p><strong>real\t0m0.099s<br \/>\nuser\t0m0.096s<br \/>\nsys\t0m0.000s<\/strong>\n<\/p><\/blockquote>\n<p>This somewhere between 17x and 19x speed difference, but compairing a ARM RISC ALU with a Pentium&#8217;s CISC FPU is not a fair comparison either. In other testing I was doing, I only got a 5x difference in performance, roughtly the difference between the Raspberry-Pi&#8217;s 700Mhz and the Pentium&#8217;s 3.0Ghz clock frequency. <\/p>\n<p>As I got this benchmark from an old site, I was amused to note that this benchmark only makes the Raspberry-Pi about 56x times FASTER than a MicroVAX-II, a system I cut my teeth on in my programming life. <\/p>\n<p>Life&#8217;s relative, maybe I should write that down.  <\/p>\n<p>Note; the GPU was NOT part of the testing. <\/p>\n<p><strong>UPDATE:<\/strong> I managed to get this bencmark to run on a <a href=\"http:\/\/arduino.cc\/en\/Main\/ArduinoBoardUno\">Arduino Uno (16Mhz)<\/a> and the Pi is 126 times faster, So much for using an 8 bit processor as a number cruncher \ud83d\ude42 <\/p>\n<p><strong>UPDATE 2:<\/strong><\/p>\n<p>The new <a href=\"http:\/\/www.raspbian.org\/\">Raspbian<\/a> Distribution, (after a recompile) produced this benchmark.<\/p>\n<blockquote><p>\nStarting PI&#8230;<br \/>\n x= 0.38631 y= 0.89070 low= 939239 j=1200001<br \/>\nPi =  3.130797 ztot=   801773.75 itot= 1200000<br \/>\n<strong><br \/>\nreal\t0m0.539s<br \/>\nuser\t0m0.520s<\/strong><br \/>\nsys\t0m0.010s\n<\/p><\/blockquote>\n<p>or between 3.52 and 3.30 TIMES faster that the original Debian Squeeze distro. That makes it only about 5.44 times slower than the Pentium 4 at 3.0Ghz  which I was detecting before with non numeric benchmarking.  <em>An interesting side note, due to the &#8216;Hard Float&#8217; the timings incured 1\/100 second of SYS time on the benchmark. <\/em><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>This is a crude and simple PI test against the Raspberry-Pi and a Dell Pentuim-4 (3.0Ghz) The Raspberry-Pi Starting PI&#8230; x= 0.38631 y= 0.89070 low= 939239 j=1200001 Pi = 3.130797 ztot= 801773.75 itot= 1200000 real 0m1.900s user 0m1.720s sys 0m0.000s<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.branedy.net\/?p=2256\">Read more <span class=\"screen-reader-text\">Benchmarking the Raspberry-Pi<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[46,2,48,14,10,568,603],"tags":[724,561,564,726,563,562],"class_list":["post-2256","post","type-post","status-publish","format-standard","hentry","category-education","category-general-it-issues","category-information","category-intel","category-linux","category-maker","category-raspberry-pi-2","tag-arduino","tag-benchmarking","tag-c","tag-maker","tag-pentium","tag-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/www.branedy.net\/index.php?rest_route=\/wp\/v2\/posts\/2256","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.branedy.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.branedy.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.branedy.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.branedy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2256"}],"version-history":[{"count":12,"href":"https:\/\/www.branedy.net\/index.php?rest_route=\/wp\/v2\/posts\/2256\/revisions"}],"predecessor-version":[{"id":2558,"href":"https:\/\/www.branedy.net\/index.php?rest_route=\/wp\/v2\/posts\/2256\/revisions\/2558"}],"wp:attachment":[{"href":"https:\/\/www.branedy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2256"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.branedy.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2256"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.branedy.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2256"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}