From: elil on
Dear Sirs,

Has anybody here tested the MSP430 core performance ? I'm interested
in DMIPS / 1 MHz .
I saw TI Application Report, named MSP430 Competitive Benchmarking of
William Goh, but not every test that is mentioned there is clear for
me. For example, what does it mean Cycle Count for Dhrystone
Analysis ? It appears there on the graph that MSP430 has "100 000
cycles". 100000 Cycles for what ?

My purpose is to compare MSP430 performance vs Cortex M3 performance
(1.25 DMIPS / 1 MHz)

Thanks in advance,
E.L.
From: Chris Burrows on
"elil" <elil1975(a)yahoo.com> wrote in message
news:1518d4e9-b71b-4d5e-8353-cae08b55bb50(a)h2g2000vbd.googlegroups.com...
>
> For example, what does it mean Cycle Count for Dhrystone
> Analysis ? It appears there on the graph that MSP430 has "100 000
> cycles". 100000 Cycles for what ?
>

For a reasonable overview of the Dhrystone benchmark see:

http://en.wikipedia.org/wiki/Dhrystone

--
Chris Burrows
CFB Software
http://www.cfbsoftware.com




From: elil on
On Nov 24, 8:43 am, "Chris Burrows" <cfbsoftw...(a)hotmail.com> wrote:
> "elil" <elil1...(a)yahoo.com> wrote in message
>
> news:1518d4e9-b71b-4d5e-8353-cae08b55bb50(a)h2g2000vbd.googlegroups.com...
>
>
>
> > For example, what does it mean Cycle Count for Dhrystone
> > Analysis ? It appears there on the graph that MSP430 has "100 000
> > cycles". 100000 Cycles for what ?
>
> For a reasonable overview of the Dhrystone benchmark see:
>
>  http://en.wikipedia.org/wiki/Dhrystone
>
> --
> Chris Burrows
> CFB Softwarehttp://www.cfbsoftware.com

Hello Chris

Thank you for your answer. Actually, I've already traveled to Wiki,
but since the issue had remained unclear for me, I turned to forum.
BTW, I was sure that the 1st response I would get is something like
"Go to Google/Wiki ... ". (-:

Best Regards,
E.L.
From: David Brown on
elil wrote:
> Dear Sirs,
>
> Has anybody here tested the MSP430 core performance ? I'm interested
> in DMIPS / 1 MHz .
> I saw TI Application Report, named MSP430 Competitive Benchmarking of
> William Goh, but not every test that is mentioned there is clear for
> me. For example, what does it mean Cycle Count for Dhrystone
> Analysis ? It appears there on the graph that MSP430 has "100 000
> cycles". 100000 Cycles for what ?
>
> My purpose is to compare MSP430 performance vs Cortex M3 performance
> (1.25 DMIPS / 1 MHz)
>

Since you don't want a "google" response, here's the other standard
c.a.e. response - it depends.

Running Dhrystone benchmarks is fine for comparing how fast two cpus are
at running Dhyrstone code, for the particular compiler you choose, and
using the particular (and unrealistic) compiler flags enforced by
"official" Dhrystone tests. In other words, they are only useful within
a very limited context - perhaps to get a rough idea of the /relative/
performances of two similar devices from the same company.

For real code, it depends entirely on the application. For example, if
your code involves a lot of 16-bit simple arithmetic, the msp430 is not
bad. But if you switch to 32-bit values, the msp430 performance will
half - while the M3 performance will be very similar.

So you are stuck with either testing things yourself, reading about
cycle counts for common operations in the data sheets, or very rough
guestimation.

The M3 will do more per MHz than the msp430, but the mps430 will do more
per mW. That's about the best general answer you can get.
From: elil on
On 24 נובמבר, 12:25, David Brown <da...(a)westcontrol.removethisbit.com>
wrote:
> elil wrote:
> > Dear Sirs,
>
> > Has anybody here tested the MSP430 core performance ? I'm interested
> > in  DMIPS / 1 MHz .
> > I saw TI Application Report, named MSP430 Competitive Benchmarking of
> > William Goh, but not every test that is mentioned there is clear for
> > me. For example, what does it mean Cycle Count for Dhrystone
> > Analysis ? It appears there on the graph that MSP430 has "100 000
> > cycles". 100000 Cycles for what ?
>
> > My purpose is to compare MSP430 performance vs Cortex M3 performance
> > (1.25 DMIPS / 1 MHz)
>
> Since you don't want a "google" response, here's the other standard
> c.a.e. response - it depends.
>
> Running Dhrystone benchmarks is fine for comparing how fast two cpus are
> at running Dhyrstone code, for the particular compiler you choose, and
> using the particular (and unrealistic) compiler flags enforced by
> "official" Dhrystone tests.  In other words, they are only useful within
> a very limited context - perhaps to get a rough idea of the /relative/
> performances of two similar devices from the same company.
>
> For real code, it depends entirely on the application.  For example, if
> your code involves a lot of 16-bit simple arithmetic, the msp430 is not
> bad.  But if you switch to 32-bit values, the msp430 performance will
> half - while the M3 performance will be very similar.
>
> So you are stuck with either testing things yourself, reading about
> cycle counts for common operations in the data sheets, or very rough
> guestimation.
>
> The M3 will do more per MHz than the msp430, but the mps430 will do more
> per mW.  That's about the best general answer you can get.
Dear David, thank you for your help. What does it mean"MSP430 will do
more
per mW"? Do you want to say that current (or power) consumption of
MSP430 is less then Cortex M3? If so, this is a mistake, since I have
a few CM3 that consume less then MSP430 in every Power Mode. For
example, MSP430F5524 consumes 2.5uA in Standby mode with RTC. The 1st
one of my CM3 consumes only 0.9uA and the second 1.2uA. In full run
mode MSP430F under 3V, 8 MHz consumes more then 300uA per 1 MHz vs
200uA of Cortex M3. So it looks that I will have a benefit from CM3
performance and from its power consumption as well.

Best Regards