maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS] Missing benchmark application for Sailfish os (https://talk.maemo.org/showthread.php?t=100457)

Korkkiruuvi 2018-09-06 18:22

Missing benchmark application for Sailfish os
 
So it would be nice if there is some benchmark applications for sailfish os. Antutu benchmark would be great to see sailfish because then we can compare sailfish devices to android devices.:cool:

Maybe someone become inspired about this idea. There is no any benchmark for sailfish so that's missing application indeed. I'm currently don't have more thoughts about this subject.

I also know that this dream probably not come true.. We have thread for that at least. I hope I caused discussion about this subject, so ahoy sailors speak!;)

mosen 2018-09-06 22:05

Re: Missing benchmark application for Sailfish os
 
I benchmarked sailfish devices 2 years ago.

Some common linux commands could indeed be utilized by an application and have a nice front end.

~CPU speed
Code:

time $(i=0; while (( i < 999999 )); do (( i ++ )); done)
write speed
Code:

dd bs=16k count=102400 oflag=direct if=/dev/zero of=test_data
read speed
Code:

dd bs=16K count=102400 iflag=direct if=test_data of=/dev/null
service startup e.g.
Code:

time systemctl start aliendalvik.service
Application startup, e.g.
Code:

time xdg-open /usr/share/applications/jolla-camera.desktop
If sysbench is installed even nicer things are possible like:
Multicore/thread cpu test
Code:

sysbench --test=cpu --cpu-max-prime=2000 --num-threads=2 run
Mem test
Code:

sysbench --test=memory --memory-total-size=512Mb run

sulu 2018-09-07 09:54

Re: Missing benchmark application for Sailfish os
 
Quote:

Originally Posted by mosen (Post 1548119)
~CPU speed
Code:

time $(i=0; while (( i < 999999 )); do (( i ++ )); done)

This only benchmarks the ALU of a CPU, which might introduce a misleading bias.

For example, the first Atom CPUs, while having a comparibly low clock rate, were actually not bad when it came to ALU operations. What made them feel so horribly slow was, that for every FPU operation they needed two clock cycles, effectively halving their nominal clock rate in these scenarios.

A more sophisticated, but still easy to use benchmark would be nbench [1][2]. There should also be some benchmarks for devices like the N900 in these forums.


[1] https://www.math.utah.edu/~mayer/linux/bmark.html
[2] https://en.wikipedia.org/wiki/NBench

nieldk 2018-09-07 15:19

Re: Missing benchmark application for Sailfish os
 
Well, there is sysbench like @mosen mentioned
https://openrepos.net/content/nieldk/sysbench


All times are GMT. The time now is 17:37.

vBulletin® Version 3.8.8