Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Issue about Cortex-A9 Dhrystone performance

Hi,

We found the following document on Cortex-A9 performance.

List of ARM microarchitectures - Wikipedia, the free encyclopedia

Which claims 2.5 DMIPS/MHz per core for Cortex-A9 2GHz@2 core. However, our Dhrystone result on Cortex-A9 1.2GHz@2 core only showed roughly 1 DMIPS/MHz per core.

We downloaded the Dhrystone benchmark from the following link and cross-compiled it with gcc version 4.5.2.

dhrystone 2.1 - Download, Browsing & More | Fossies Archive

We realize that Dhrystone measurements will vary due to differences in compilers and OS. And I would like to know whether our result is reasonable or not?

Best,

Ying

Parents
  • I checked Makefile of the benchmark I downloaded, and it uses flags -O -DTIMES -DHZ=60. With HZ=60 I got 1 DMIPS/MHz per core.

    However, I found internal kernel timer frequency in my kernel is 300. So, if I changed HZ to 300, I got 1.36 DMIPS/MHz per core. It is still lower than 2.5 DMIPS/MHz per core.

    I also found another config from other people and I changed the config to -O3 -DTIME -march=armv7-a. I got 1.33 DMIPS/MHz per core, which is similar to the above result with HZ=300.

    I was wondering which of them is the correct setting and I also thought it is still not a reasonable result. I am not sure about the running status of the benchmark. I just run the benchmark after the system boots in console mode.

    Any help would be appreciated.

Reply
  • I checked Makefile of the benchmark I downloaded, and it uses flags -O -DTIMES -DHZ=60. With HZ=60 I got 1 DMIPS/MHz per core.

    However, I found internal kernel timer frequency in my kernel is 300. So, if I changed HZ to 300, I got 1.36 DMIPS/MHz per core. It is still lower than 2.5 DMIPS/MHz per core.

    I also found another config from other people and I changed the config to -O3 -DTIME -march=armv7-a. I got 1.33 DMIPS/MHz per core, which is similar to the above result with HZ=300.

    I was wondering which of them is the correct setting and I also thought it is still not a reasonable result. I am not sure about the running status of the benchmark. I just run the benchmark after the system boots in console mode.

    Any help would be appreciated.

Children