• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Digital Signal Processors (DSP) » OMAP™ Processors » OMAP35x Processors Forum » OMAP 3525 Dhrystone Performance
Share
OMAP™ Processors
  • Forums
  • Announcements
Options
  • Subscribe via RSS
Resources
  • OMAP-L1x DSP+ARM9™-based Processors Product Folder
  • OMAP3525/30 DSP+ARM Cortex™-A8-based SOCs Product Folder

  • Top OMAPL Wiki Links
  • OMAPL3x Schematic Review Checklist
  • OMAPL13x Boot resources

  • OMAPL Document Resources
  • OMAPL137 Technical reference manual
  • OMAPL138 Technical reference manual
  • OMAPL Boot loader App Notes
  • Forums

    OMAP 3525 Dhrystone Performance

    This question is not answered
    Terry Anderson
    Posted by Terry Anderson
    on Feb 11 2011 08:30 AM
    Prodigy20 points

    We have some concern about performance measurements we have made. 

    Searching the TI website we found the following document on Cortex A8 performance
    http://processors.wiki.ti.com/index.php?title=Cortex-A8_Features#OMAP_ARM_Cores_Performance_Dhrystome_V2.1
    Which claims 2.01 Dhrystone V2.1 DMIPS per MHz.  Since we are running our OMAP at 500 MHz we should expect about 1005 DMIPS.

    We obtained the "official" Dhrystone V2.1 benchmark source code from
    http://www.netlib.org/benchmark/dhry-c
    and compiled and ran it.  We converted the Dhrystone figure to DMIPS by dividing by 1757 which we understand to be the standard conversion.

    On our OMAP 3525 running LynxOS SE at 500 MHz and compiling with LynxWorks cross compiler we get 237.1 DMIPS
    To compare we used an older board using the OMAP 3430 (that we used prior to 3525 availability) under Monta Vista mobile Linux and using their cross-compiler and got 258.7 DMIPS.

    We realize that Dhrystone measurements will vary some due to differences in compilers and OSs but would not expect our getting around 25% of TI's figure.

    Can you suggest why we might be getting such drastically lower figures?

    Cortex-A8 OMAP 35x performance Dhrystone DMIPS
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    All Replies
    • Jeff L
      Posted by Jeff L
      on Feb 11 2011 10:55 AM
      Expert4605 points

      Terry,

      We have found Dhrystone can vary 25% and more depending on what compiler you use.  Even different versions of a compiler can produce varying results. We recommend Code Sourcery toolchain for our customers.  We have seen over a 25% differences in performance between different versions of Code Sourcery tools. In some of our recent Software Development Kits (SDKs) we include a statically built Dhrystone based on the arm-2008q1 version of Code Sourcery because it produces a 1.9 DMIPS/MHz for all our Cortex-A8 based parts. We use the exact same dhrystone benchmark you are using.

       

      Side Note:

      Dhrystone is somewhat out dated and does not reflect the current the capabilities of embedded microprocessors. It was designed when ADA and PASCAL were still popular programming languages. TI still quotes Dhrystone numbers only because customers still ask for them. You may want to investigate other benchmarks such as Coremark which is a small subset of the EEMBC benchmark suite. I have found with most other benchmarks, like Coremark, compiler toolchain or toolchain version has much less impact, more like 5%. So far it is only Dhrystone that I have seen this wide variation from toolchain to toolchain.

      If this post resolves your issue, please click on the verified answer.

      Regards,

      Jeff L

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Terry Anderson
      Posted by Terry Anderson
      on Feb 11 2011 12:38 PM
      Prodigy20 points

      Thanks for the response.  We are certainly aware that Dhrystones are not truly relevant for embedded software like what we are developing, but need to quote it anyway.  And thanks for describing some of the issues we can check.

      But note that our descrepency is far more than 25%.  We are getting only 1/4 the TI figure: 237 rather than 1005.  We were not expecting that great a difference due to compiler alone. 

      We were wondering if the 2.01 DMIPS/MHz (or 1.9) depended on careful tuning, special compiler or compiler options and possibly use of NEON.

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    • Jeff L
      Posted by Jeff L
      on Feb 11 2011 16:04 PM
      Expert4605 points

      Terry,

      You should also be able to get 1.9 DMIPS/MHz.  As mentioned, we statically build dhrystone with arm-2008q1. You can find that binary here: https://gforge.ti.com/gf/project/am_benchmarks/frs/

      You can download dhrystone-static.tar.gz and execute it on your board.

      If you want to duplicate this effort, you need to have version arm-2008q1 of  Code Sourcery installed then I used this build line:

      arm-none-linux-gnueabi-gcc -O3 -DTIME -march=armv7-a dhrystone.c -o dhrystone

      We have modified dhrystone, so you can pass in the <number of iterations> and <cpu freq in KHz> as input parameters and you will get back DMIPS/MHz using the same calculation you mentioned, but this would not affect performance.

      You can also find the source code and makefiles we use at this Gforge Repository: https://gforge.ti.com/gf/project/am_benchmarks/

      If this post resolves your issue, please click on the verified answer.

      Regards,

      Jeff L

      Report Abuse
      • Reply
      You have posted to a forum that requires a moderator to approve posts before they are publicly available.
    TI E2E™ Community
    • Support Forums
    • Blogs
    • Videos
    • Groups
    • Site Support & Feedback
    • Settings
    TI E2E™ Community Groups
    • TI University Program
    • Make the Switch
    • Microcontroller Projects
    • Motor Drive & Control
    Other Communities
    • Deyisupport
    • Designsomething.org
    • beagleboard.org
    • TI on Element 14
    • TI on TechXchangeSM
    Other Technical & Support Resources
    • WEBENCH® Design Center
    • Product Information Centers
    • Technical Documents
    • TI Design Network
    • TI Technical Articles
    • TI Training

    All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

    Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

    Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
    TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

    TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
    embedded processors, along with software, tools and the industry’s largest sales/support staff.

    © Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
    Trademarks | Privacy Policy | Terms of Use