Page 3 of 5

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 2:00 am
by codedivine
codedivine wrote:
killadark wrote:
There was a time when i quickly pressed ran multi thread after the results came and it ran on 3 threads and still continues to....
This was the result 3075 MFlop
Need to fix this bug will try restarting


What the .. ? 3 threads?
Will see what I did wrong. Maybe I am using the wrong API to query number of cores.


I have identified the issue. Will fix it soon.

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 3:05 am
by Jigar
codedivine wrote:
Jigar wrote:
I can do that on my LG Optimus 2X - Currently using Cynogenmod 7.2.


Unfortunately, it will currently not run on Gingerbread devices. I will look into it sometime.


OT - Thanks to LG and Nvidia, i am unable to upgrade to ICS or jellybean, although ICS and Jellybean unofficial roms are available for Optimus 2x, they don't have the HW acceleration that is required for playing HD videos and capture video. :(

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 4:42 am
by killadark
codedivine wrote:
codedivine wrote:
killadark wrote:
There was a time when i quickly pressed ran multi thread after the results came and it ran on 3 threads and still continues to....
This was the result 3075 MFlop
Need to fix this bug will try restarting


What the .. ? 3 threads?
Will see what I did wrong. Maybe I am using the wrong API to query number of cores.


I have identified the issue. Will fix it soon.


Good to know and keep up the good work :wink:

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 6:31 am
by codedivine
Updated. Please test :)

Updates:
1. Gingerbread compatibility added. Also made app look uglier :D
2. Switched to using official android compilers. May affect performance slightly.
3. Fixed screen orientation to portrait to avoid problems with screen orientation change.
4. Number of processors issue should be fixed now.
5. Issue with HTC One S should be fixed now.
6. Dropped compatibility with ARM11 processors due to some strange bugs. Sorry gerbils who use that :cry:

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 6:37 am
by codedivine
Jigar wrote:
codedivine wrote:
Jigar wrote:
I can do that on my LG Optimus 2X - Currently using Cynogenmod 7.2.


Unfortunately, it will currently not run on Gingerbread devices. I will look into it sometime.


Jigar check your PM.

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 6:55 am
by codedivine
Can people with Tegra 3 run the updated version and report how many threads the app reports?

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 7:18 am
by Jigar
Single Thread: 752 Mflops
Multithreaded (2 threads): 1706.0 Mflops

I had to kill the app and restart it again in order to rerun the multithread test, else it would only run single thread test even if i clicked multithread test.

EDIT: OCed the CPU to 1.45 GHZ
Single Thread: 910.0 MFlops
Multithreaded: 2029.0 MFlops

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 8:05 am
by lex-ington
I have the HTC One S and my wife has the HTC One X and I have the Lenovo K1 tablet running ICS.

I'll be willing to run it on all 3.

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 8:23 am
by Pez
I'd be willing to try it - Sony Xperia Play (Roms baby!)

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 8:27 am
by derFunkenstein
I'll do it tonight, my bad.

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 8:40 am
by willyjwebb
i run multithreaded, and it runs on one thread, im pretty sure thats not right for a galaxy s2 i9100

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 8:42 am
by codedivine
Just updated.

Instead of attempting to detect the number of cores, which is simply not working reliably, I now give the user the option to select the number of threads from 1,2 or 4 :D

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 9:03 am
by codedivine
Final update for this week. May affect performance.
Thanks everyone for testing. I think I am pretty much done with development on this.
Barring any major issues, will upload to Play Store soon.

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 9:22 am
by ChronoReverse
Galaxy Note Snapdragon S3 @ 1.5GHz on Android 4.1 (JB, CM10)

Single Thread: 737
2 Threads: 1461

And for fun, 4 threads on a dual core: 1374 (as expected).

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 9:33 am
by willyjwebb
1671 on galaxy s2, 2 threads

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 11:30 am
by killadark
new version confirmed working on my sgs3 international(ice cream sandwich) and tf101 on tegra 2

tegra2 (2 threads) - 1459MFlop
sgs3 international- 3762MFlop
performance seems down by 200-300 on my sgs3 compared to when i was on jelly bean using ICS now

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 4:51 pm
by codedivine
Thanks for testing everyone. Development is now paused.

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 7:18 pm
by codedivine
I am disabling the link now. Thanks everyone for testing. Will let everyone know when the test is public. I have also emailed TR folk to see if they are interested in picking up the benchmark for testing. Thanks again gerbils! :D

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 7:51 pm
by derFunkenstein
edit: nevermind, I missed your last post. :lol:

Re: Android benchmark. Looking for testers

Posted: Fri Sep 21, 2012 8:47 pm
by codedivine
I have decided not to publish on the Play store. Instead made a homepage.
Check here and download away. Thanks everyone for the help! :D

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 12:13 am
by codedivine
Btw the performance should be slightly different than the version everyone was testing. Anyway, thanks again for everyone's help and I will stop spamming now :D

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 5:57 am
by killadark
Weird performance increase 4873 MFlops almost 1000

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 6:02 am
by codedivine
Thanks. Yes I had found some tweaks that should increase performance for everyone over the testing version :)

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 7:30 am
by derFunkenstein
Scaling on a Tegra 3 is a little weird - 779 for 1 thread, 2093 for 2, and 3709 for 4. Without a lot of knowledge of what's going on, I wonder if it's bouncing the 1 thread between cores? Does the Tegra 3 boost one core and leave the rest at lower clock speeds?

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 7:47 am
by codedivine
Well, the way I have setup multithreading, threads can share some data. Instead of having to load data twice, second thread can benefit from data loaded already in cache.
So you can get superlinear speedup on some hardware.

As for scheduling on Tegra 3, it is hard to say. Certainly, in the mobile SoC world, there are lots of hardware scheduling tricks going on that SoC vendors don't tell you unless you sign an NDA :( . Firmware versions also differ in how aggressively they schedule threads and throttle cores, so that can affect performance.

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 7:51 am
by codedivine
Actually, your hypothesis that is bouncing stuff around cores in the single threaded case also looks very likely.

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 8:04 am
by ChronoReverse
derFunkenstein wrote:
Scaling on a Tegra 3 is a little weird - 779 for 1 thread, 2093 for 2, and 3709 for 4. Without a lot of knowledge of what's going on, I wonder if it's bouncing the 1 thread between cores? Does the Tegra 3 boost one core and leave the rest at lower clock speeds?


Perhaps it's at least partly because Tegra3 actually has 5 cores and not four. That is, it has 4 full speed cores and one low-speed "companion" core.

This companion core is built using a more energy efficient process but cannot scale to as high frequencies (500MHz). Tegra3 will use this core for lighter loads (presumably like single-threaded activities) transparently to the operating system (which only sees a quad core). 779 is still too high for an A9 CPU at 500MHz but assuming your Tegra3 is switching over to or even bouncing with the full 1.4GHz, then it's within reason.


From looking at this thread, I'd estimate a 1.4GHz A9 (like the Tegra3) should get about 1000 while at 500MHz, the score should be about 360. Thus his 2 threaded score seems just about bang on while the 4 thread version is starting to see diminishing returns.

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 3:41 pm
by codedivine
Hello people. I feel like the DUMBEST person in the whole world. I had a bug in the code where everything got multiplied by 4 essentially :oops:
Correcting and uploading a new version.

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 4:13 pm
by codedivine
Uploaded version 1.1 .. your mflop rating will be reduced ALMOST 4x (not exactly, but about there) :oops:
I need a beer :oops:

Re: Android benchmark. Looking for testers

Posted: Sat Sep 22, 2012 5:55 pm
by codedivine
Updated test results:

Galaxy S2X (using last-gen dual-core Snapdragon S3): 450 MFlops
A friend with Nexus 7 reported (4 threads): 920 MFlops