maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Benchmarking apps for N900 - How fast is your N900? (https://talk.maemo.org/showthread.php?t=49705)

jakiman 2010-04-10 22:44

Benchmarking apps for N900 - How fast is your N900?
 
I was wondering what apps / methods / scripts there are that you can use to see to test the stability / speed of the N900? (Obviously this is related to the overclocking)

I would like something which would give an absolute time value or a score which can be compared with others here. It obviously needs to max out the CPU cycles during the test and would be good if the length of the test can be specified. (such as superp, prime95 etc)

Once we have it, maybe we can put up the scores/times that we get on our super N900.
So I f you know of any apps or methods to test the speed of N900, let us know! :D


UPDATE
Matan has compiled nbench for the N900. LINK
AlMehdi has provided instructions on how to install it.

Here are my 800mhz, 1000mhz and 1100mhz ulv results:
http://talk.maemo.org/showpost.php?p...9&postcount=17

Many others have upped their results so we can definitely start comparing to ensure yours is indeed running faster than stock 600mhz and in-line with others here running the same overclocked speed.

Bingley Joe 2010-04-10 23:19

Re: Benchmarking apps for N900 - How fast is your N900?
 
Hmmm... could Quake 3 be used for this? I've never installed it on my N900, so I really can't say for sure if it would work, but it's definitely worth someone taking a look.

If you can access the console (you press ~ on a PC for this) on the N900 version of Quake 3, it should be relatively easy to do with the following commands (pressing enter after each one):

Code:

s_initsound 0
snd_restart

This sets sound to 0 and restarts Quake without sound. It's not strictly necessary, but not a bad idea since sound can affect the demo scores to some extent..

Code:

cg_drawFPS 1
Turns on the frame-rate counter

Code:

timedemo 1
demo demo001

or
Code:

timedemo 1
demo demo002

to run either of the timedemos. Press ~ after they're complete to see the average FPS in the console output.

If your Quake 3 install is based on the 1.32 point release, the commands are

Code:

timedemo 1
demo demofour

Again, I have no idea if any of this is possible, so YMMV and please feel free to set the record straight on this post.


If the console isn't accessible, it should still be possible to do this to some extent using custom .CFG files, but it's been so long since I played around with those that I'm not positive how to do it anymore.. :o

Matan 2010-04-10 23:34

Re: Benchmarking apps for N900 - How fast is your N900?
 
I compiled nbench for cortex-A8. You need to download the three files to the same directory, make sure nbench is executable and execute it.

http://my.arava.co.il/~matan/770/n900/nbench
http://my.arava.co.il/~matan/770/n900/COM.DAT
http://my.arava.co.il/~matan/770/n900/NNET.DAT

jakiman 2010-04-10 23:41

Re: Benchmarking apps for N900 - How fast is your N900?
 
thanks joe. I might actually try it and see how it goes.
Although, I wouldn't expect this to stress the cpu 100%.

Matan. I will also try that. Sounds good. :)

andnewman 2010-04-11 00:37

Re: Benchmarking apps for N900 - How fast is your N900?
 
Quote:

Originally Posted by Matan (Post 604794)
I compiled nbench for cortex-A8. You need to download the three files to the same directory, make sure nbench is executable and execute it.

http://my.arava.co.il/~matan/770/n900/nbench
http://my.arava.co.il/~matan/770/n900/COM.DAT
http://my.arava.co.il/~matan/770/n900/NNET.DAT

And to a noob, how do I execute the nbenc?

AlMehdi 2010-04-11 02:03

Re: Benchmarking apps for N900 - How fast is your N900?
 
My output on nbench with Titans 250-900-lv-kernel was:

BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)

TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------

NUMERIC SORT : 370.92 : 9.51 : 3.12
STRING SORT : 65.694 : 29.35 : 4.54
BITFIELD : 1.2563e+08 : 21.55 : 4.50
FP EMULATION : 92.16 : 44.22 : 10.20
FOURIER : 1742.8 : 1.98 : 1.11
ASSIGNMENT : 5.9848 : 22.77 : 5.91
IDEA : 1000.8 : 15.31 : 4.54
HUFFMAN : 583.66 : 16.18 : 5.17
NEURAL NET : 1.8228 : 2.93 : 1.23
LU DECOMPOSITION : 68.159 : 3.53 : 2.55
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX : 20.461
FLOATING-POINT INDEX: 2.737
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
CPU :
L2 Cache :
OS : Linux 2.6.28.10maemo-lv-omap1
C compiler : gcc version 4.2.1
libc :
MEMORY INDEX : 4.943
INTEGER INDEX : 5.231
FLOATING-POINT INDEX: 1.518
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.

AlMehdi 2010-04-11 02:30

Re: Benchmarking apps for N900 - How fast is your N900?
 
Quote:

Originally Posted by andnewman (Post 604831)
And to a noob, how do I execute the nbenc?

1. Install rootsh if you havent

2. Open terminal and write: cd /home/user/MyDocs/Downloads/

3. Download by writing:
wget http://my.arava.co.il/~matan/770/n900/nbench
wget http://my.arava.co.il/~matan/770/n900/COM.DAT
wget http://my.arava.co.il/~matan/770/n900/NNET.DAT

If you don't have wget: apt-get install wget

4. write: root

5. Make a directory:
mkdir /home/opt/nbench

6. Move the files to a better location:
mv /home/user/MyDocs/Downloads/nbench /home/opt/nbench
mv /home/user/MyDocs/Downloads/COM.DAT /home/opt/nbench
mv /home/user/MyDocs/Downloads/NNET.DAT /home/opt/nbench

(a tip is to use tab-key to finish easy.. like /h(tab) to make /home/)

7. Make it exacuteble
chmod +x /home/opt/nbench/nbench

8. Run and wait for it to finnish:
/home/opt/nbench/./nbench

or

cd /home/opt/nbench/
./nbench

AlMehdi 2010-04-11 06:10

Re: Benchmarking apps for N900 - How fast is your N900?
 
would be nice if someone els also put up an nbenchmark to be able to compare.

jakiman 2010-04-11 06:21

Re: Benchmarking apps for N900 - How fast is your N900?
 
Thanks for the steps. But for the life of me, i cannot get chmod to change the permission. It just won't change it. It's as if the command does nothing.

I am running it as root, the permission is rw r r for the 3 files. I just cannot get it to change to anything else. Tried moving the files to different location but still the same. Any ideas?

AlMehdi 2010-04-11 06:35

Re: Benchmarking apps for N900 - How fast is your N900?
 
Quote:

Originally Posted by jakiman (Post 605006)
Thanks for the steps. But for the life of me, i cannot get chmod to change the permission. It just won't change it. It's as if the command does nothing.

I am running it as root, the permission is rw r r for the 3 files. I just cannot get it to change to anything else. Tried moving the files to different location but still the same. Any ideas?

Try to cd to the location first and then try..

cd /home/opt/nbench/

and

chmod -x nbench
chmod 777 nbench

i should say -rwxrwxrwx


All times are GMT. The time now is 10:55.

vBulletin® Version 3.8.8