Re: [beagleboard] Starterware slower than Linux

2014-05-06 Thread Thomas Laudan
There are different Compilers for Starterware and Linux. When I set the flag -mfpu=vfpv3 in Linux, and Rebuild the project I don't get a different result. What I can do in eclipse under Linux is to set the optimizations level. What I did yesterday was to change my programm to the following:

Re: [beagleboard] Starterware slower than Linux

2014-05-05 Thread Thomas Laudan
Here my results: 1. I changed my programm loop to the following integer calculations: int i; int a = 0; int b = 23210 for(i = 0; i35000; i++) { a = a + b; } With that i got a frequency of 413 Hz with Starterware and 420 Hz with Linux. So finally a comparable result. The

Re: [beagleboard] Starterware slower than Linux

2014-05-05 Thread Charles Steinkuehler
On 5/5/2014 3:28 AM, Thomas Laudan wrote: Running the Starterware program on debug mode, I measured 870 Hz and in Linux 900 Hz. Running Starterware on release mode, I even measured 1,1 kHz. So doing float calculations without math-Functions, I finally get a comparable result. But still

Re: [beagleboard] Starterware slower than Linux

2014-04-28 Thread thomas5288
Oh damn you're right. I didn't turn on the FPU. I should have read this first: http://processors.wiki.ti.com/index.php/StarterWare_NeonVFP What I will do now: First I will change my programm by doing integer calculations instead of float/double and repeat my comparison between Linux and

[beagleboard] Starterware slower than Linux

2014-04-25 Thread thomas5288
Hi there, I am testing the performance of the beaglebone in combination with the no-OS Starterware from TexasInstruments and with the Linux Distribution Angström. My test program, which I wrote for both for Starterware and Linux, does the following: I configure GPIO_1_28 as an output pin

Re: [beagleboard] Starterware slower than Linux

2014-04-25 Thread Charles Steinkuehler
On 4/25/2014 4:52 AM, thomas5...@gmx.de wrote: So I also integrated the functions MMUConfigEnable() and CacheEnable(CACHE_ALL) into my program. It kind of worked, my new results for Starterware: T = 500 ms But still !!! 500 times slower than on Linux. Did anyone make similar