element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Clem Martins's Blog What are you doing for Pi day? 3.14.15 (US)
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: clem57
  • Date Created: 14 Mar 2015 2:54 PM Date Created
  • Views 1515 views
  • Likes 2 likes
  • Comments 18 comments
  • pi 3
  • pine a64+
  • pi_day
  • bc
  • sama5d2
  • arm
  • x86
  • pi 2
  • speed
Related
Recommended

What are you doing for Pi day? 3.14.15 (US)

clem57
clem57
14 Mar 2015

I decided to compare Pi calculations on various SBC's

 

     time echo "scale=2015;4 * a(1)" | bc -l    Thanks Catwell

 

First up is X86 (I7 P55 home built):

 

 

real0m2.742s
user0m2.721s
sys0m0.002s
osZorin(ubuntu)
cpuIntelRegistered CoreTm i7 CPU 860 @ 2.80GHz × 8

 

pcDuino 3 :

 

 

real0m15.425s
user0m15.310s
sys0m0.010s
osUbuntu 3.4.79+
cpu

ARMv71 Rev 4

(1 Ghz)

 

Raspberry Pi Model B+ :

 

 

real0m24.225s
user0m24.260s
sys0m0.010s
osPidora 3.12.22
cpu

ARMv6hl.bcm2708

(700 Mhz)

 

Raspberry Pi Model 2 :

 

 

real0m15.536s
user0m15.536s
sys0m0.020s
osRasbian 3.18.7-v7+
cpu

armv7l.BCM2709 Rev 5

(900 Mhz)

 

 

Raspberry Pi Model 2 to find 9,999 digits of Pi:

 

real15m30.628s
user15m29.690s
sys0m0.510s

 

Not bad... Compared to X86!

 

===> More added here 3/16/15:

 

Atmel Sama5d4 :

 

 

real0m23.087s
user0m23.060s
sys0m0.000s
osYocto 3.10.0
cpu

armv7l A5 cortex

(563 Mhz)

 

===> More added here 7/16/16           Note: 2015 digits

 

Pine 64 Kickstarter :

 

 

real0m10.716s
user0m10.530s
sys0m0.000s
osdebianpine64 3.10.65-7-pine64-longsleep
cpu

AArch64 Processor rev 4 (Quad)

(1.2 Ghz)

fp asimd aes pmull sha1 sha2 crc32

 

Raspberry Pi  Model 3:

 

real0m8.073s
user0m8.020s
sys0m0.000s
osraspberrypi 4.4.15-v7+ #897
cpu

ARMv7 Processor rev 4 (v7l) (Quad)

(1.2 Ghz)

half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

 

 

 

 

What do you think?

Attachments:
Pi 9999 digits X86.txt.zip
  • Sign in to reply

Top Comments

  • johnbeetem
    johnbeetem over 10 years ago +4
    I think I'll just act out the classic mnemonic for remembering the first digits of pi: how I need a drink (alcoholic of course) after the heavy lectures involving quantum mechanics . Count the letters…
  • Former Member
    Former Member over 10 years ago +1
    At the NSTA conference at Chicago
  • clem57
    clem57 over 10 years ago +1
    From stumblz.com: If you divide the circumference of a pumpkin by its diameter, what will you have? Pumpkin PI! If you divide the circumference of the sun by its diameter, what will you have? PI in the…
Parents
  • clem57
    clem57 over 10 years ago
    Total Computation Time:         46.474 seconds  ( 0.013 hours )

    Total Time (with output + verify):  60.602 seconds  ( 0.017 hours )

     

    CPU Utilization:    578.117 %

    Multi-core Efficiency:  72.2646 %

     

    Last Digits:  Pi

    9948682556 3967530560 3352869667 7734610718 4471868529  :  99,999,950

    7572203175 2074898161 1683139375 1497058112 0187751592  :  100,000,000

     

    Version:        0.6.8.9460 (Linux - x64 SSE4.1 ~ Ushio)Processor(s):   Intel(R) Core(TM) i7 CPU 860 @ 2.80GHzLogical Cores:  8Physical Memory:3,343,609,856 (3.11 GiB)CPU Frequency:  3,044,332,320 Hz  (frequency may be inaccurate)

     

    Result File: Validation - Pi - 100,000,000.txt

     

    Benchmark Successful. The digits appear to be OK.

     

     

    real    1m5.357s

    user    4m35.390s

    sys    0m2.139s

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • clem57
    clem57 over 10 years ago
    Total Computation Time:         46.474 seconds  ( 0.013 hours )

    Total Time (with output + verify):  60.602 seconds  ( 0.017 hours )

     

    CPU Utilization:    578.117 %

    Multi-core Efficiency:  72.2646 %

     

    Last Digits:  Pi

    9948682556 3967530560 3352869667 7734610718 4471868529  :  99,999,950

    7572203175 2074898161 1683139375 1497058112 0187751592  :  100,000,000

     

    Version:        0.6.8.9460 (Linux - x64 SSE4.1 ~ Ushio)Processor(s):   Intel(R) Core(TM) i7 CPU 860 @ 2.80GHzLogical Cores:  8Physical Memory:3,343,609,856 (3.11 GiB)CPU Frequency:  3,044,332,320 Hz  (frequency may be inaccurate)

     

    Result File: Validation - Pi - 100,000,000.txt

     

    Benchmark Successful. The digits appear to be OK.

     

     

    real    1m5.357s

    user    4m35.390s

    sys    0m2.139s

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube