Notices


Reply
Thread Tools
Posts: 278 | Thanked: 303 times | Joined on Feb 2010 @ Norwich, UK
#451
Originally Posted by noobmonkey View Post
Thinking more about stress testing the device....
I'm not so sure about just opening every app available and watching thins burn...

What i think i'd like to do is get some measured tests.....
(Ie know what processes are running, and judge it on that) - do some tests and score them....

Anyone got any suggestions as to what tests, how to score etc?
nbench has been compiled for N900's, maybe you could simply include and execute that (see http://talk.maemo.org/showpost.php?p=604794&postcount=3)
Alternatively, how about getting Mprime running, im sure there must be an arm-compiled copy kicking around somewhere.
 

The Following 2 Users Say Thank You to nidO For This Useful Post:
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#452
Originally Posted by noobmonkey View Post
Thinking more about stress testing the device....
I'm not so sure about just opening every app available and watching thins burn...

What i think i'd like to do is get some measured tests.....
(Ie know what processes are running, and judge it on that) - do some tests and score them....

Anyone got any suggestions as to what tests, how to score etc?
Well, based on the recent overclocking phenomenon I believe that you should be stress testing both the CPU and potentially the RAM too - not too sure about the internal architecture of the device itself but I am well into overclocking PC's. If they run on the same premise (ie; unless you de-link the FSB to the CPU then the RAM clocks up as you increase the FSB on the chip) then both would require stress testing, to ensure that they are able to cope with it. I have also seen that the Desktop Command Execution Widget can monitor the temperature of the CPU, meaning you can initiate a stress test and then run the same kind of code to ensure that the CPU is not frying or reaching its Tmax.

If its possible it would require a port of something akin to Prime95 (using Lucas-Lehmer iterations to find higher and higher prime numbers) or SuperPi (calculating pi down to as many decimal places as possible)

Just a suggestion....

Also read elsewhere you might want to give it a facelift - if you want a hand with graphics for that one I'd be happy to lend a hand

Last edited by Switch_; 2010-04-13 at 10:30. Reason: Spelling. D- must try harder.
 

The Following User Says Thank You to Switch_ For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#453
Originally Posted by Switch_ View Post
Well, based on the recent overclocking phenomenon I believe that you should be stress testing both the CPU and potentially the RAM too - not too sure about the internal architecture of the device itself but I am well into overclocking PC's. If they run on the same premise (ie; unless you de-link the FSB to the CPU then the RAM clocks up as you increase the FSB on the chip) then both would require stress testing, to ensure that they are able to cope with it. I have also seen that the Desktop Command Execution Widget can monitor the temperature of the CPU, meaning you can initiate a stress test and then run the same kind of code to ensure that the CPU is not frying or reaching its Tmax.

If its possible it would require a port of something akin to Prime95 (using Lucas-Lehmer iterations to find higher and higher prime numbers) or SuperPi (calculating pi down to as many decimal places as possible)

Just a suggestion....

Also read elsewhere you might want to give it a facelift - if you want a hand with graphics for that one I'd be happy to lend a hand
Wow..... Taken a look at the pi example and thats pretty good.... theres quite a few things i could do with that
Probably would be useful for the overclockers too

In a previous version there was a cpu temperature monitor - but it is very hit and miss - so i took it out

if i can figure out why, i will re-add it

Definitley any help with the fx would be appreciated - i'll have to elarn how to swap buttons for images etc....

I'm thinking of removing the tab and having a main window...

Main window
--> System
--> Comms
--> Tools
--> About (+ eventually information about the commands and lines in H/C, so a mini wiki)

Could have a healthceck symbol (like the logo) in big - each end of the cross is a different button? - each loads up their own full screen sub-windows maybe?

I also kinda like the idea of the main screen being semi-transparent - apart from the healthcheck cross? - not sure if that makes sense!

edit - completely forgot to add - QT can use CSS i think - will ask mikec
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -

Last edited by noobmonkey; 2010-04-13 at 13:29.
 

The Following 2 Users Say Thank You to noobmonkey For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#454
Originally Posted by nidO View Post
nbench has been compiled for N900's, maybe you could simply include and execute that (see http://talk.maemo.org/showpost.php?p=604794&postcount=3)
Alternatively, how about getting Mprime running, im sure there must be an arm-compiled copy kicking around somewhere.
Thanks nid0 - not sure on executing othe apps from mine - would rather is was all part of the same package - but will look around at pre-ready python benchmarking if there is any (Doesnt need a gui - as i can sort that)
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#455
With regards to basic benchmarking to begin with..... something like this could work? - it has a completion average time - so can be used as a basic score....

It allows the user to define their own starting point (IE i can count processes active and divide the total score by that to get a final score!) - it actually a python test - but relyss on the device to power it through
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 
Posts: 278 | Thanked: 303 times | Joined on Feb 2010 @ Norwich, UK
#456
Originally Posted by noobmonkey View Post
With regards to basic benchmarking to begin with..... something like this could work? - it has a completion average time - so can be used as a basic score....

It allows the user to define their own starting point (IE i can count processes active and divide the total score by that to get a final score!) - it actually a python test - but relyss on the device to power it through
Largely depends on what you're aiming for with it - As you say, pybench is mostly aimed at benchmarking the python implementation itself, rather than the hardware running it, the tests are very quick and don't hugely reflect on (or particularly stress) the hardware running it (fairly similar to the SunSpider javascript browser tests).
If you're after a pure benchmark of the hardware then pybench might be a starting point (though it's likely to be relatively inaccurate for this purpose) but it'll achieve nothing for a stress-test of the cpu and memory, which is something I imagine all the overclockers would like to see - A proper stress test will need a continuous prime/pi calculation or similar.
 
Switch_'s Avatar
Posts: 601 | Thanked: 549 times | Joined on Mar 2010 @ Redditch, UK
#457
Originally Posted by noobmonkey
In a previous version there was a cpu temperature monitor - but it is very hit and miss - so i took it out
I believe that the desktop command execution widget uses a simple d-bus command to run out the temperature output directly from the sensor on the proc itself - however, in your healthchek this would probably require a periodic update, say 500ms, especially if you are cheking the OC effect on the CPU. I'll find the post and find the command for you.

Originally Posted by noobmonkey
Definitley any help with the fx would be appreciated - i'll have to elarn how to swap buttons for images etc....
Be my pleasure - AFAIK, the buttons are simply *.png files stashed into the repo for the app itself - aren't they? All it requires is a re-hash of the PNG using the same pixel constraints and voila, button now becomes pretty and shiny. Although this in itself may well be governed by the THEME rather than the APP.... Hmmm.....


Originally Posted by noobmonkey
I'm thinking of removing the tab and having a main window... Could have a healthceck symbol (like the logo) in big - each end of the cross is a different button? - each loads up their own full screen sub-windows maybe?
Sounds good much better GUI, and then to have the main HC cross in there too, with each section relating to an extremity of the cross. Can be done, may require image mapping in html to make it work though....

Originally Posted by noobmonkey
also kinda like the idea of the main screen being semi-transparent - apart from the healthcheck cross? - not sure if that makes sense!
Makes perfect sense to me, but I was discussing this very point with someone else earlier - the "semi-transparent" effect that is applied when you move into the menu's from the main hildon desktop is actually a pixel blur effect. The problem is this (I believe, but will stand to be corrected), the coding for the menu is core to the OS whereas the coding for the apps is not interdependent on the same libraries that the OS is. Tying in the app to this parameter might be quite difficult, but I'm not a coder so haven't got a leg to stand on really. Transparency is not possible I don't believe, unless you are talking about widgets, which, to be fair, your app could easily be - as a shortcut to the main app itself....?

Dunno - I'll get cracking on some images for you to play about with. Post up here when I got some done
 

The Following 2 Users Say Thank You to Switch_ For This Useful Post:
noobmonkey's Avatar
Posts: 3,203 | Thanked: 1,391 times | Joined on Nov 2009 @ Worthing, England
#458
Originally Posted by Switch_ View Post
I believe that the desktop command execution widget uses a simple d-bus command to run out the temperature output directly from the sensor on the proc itself - however, in your healthchek this would probably require a periodic update, say 500ms, especially if you are cheking the OC effect on the CPU. I'll find the post and find the command for you.
Ahhh if it just a dbus command i could run a single one - and have it touch refreshable at the moment - like the others.
(Still learning threading to get the whole thing updatable)


Be my pleasure - AFAIK, the buttons are simply *.png files stashed into the repo for the app itself - aren't they? All it requires is a re-hash of the PNG using the same pixel constraints and voila, button now becomes pretty and shiny. Although this in itself may well be governed by the THEME rather than the APP.... Hmmm.....
Ahhhh using PYQT - so not sure at the moment - not sure how the gui handles them.... hoping i can just point at them separatley and put them in mydocs or /opt to match with the rest of the app. - will take a look at that though.


Sounds good much better GUI, and then to have the main HC cross in there too, with each section relating to an extremity of the cross. Can be done, may require image mapping in html to make it work though....
Hmmm possibly or just careful positioning of the 4 buttons.
5 images
central cross - then 4 buttons at the end, as long as they blend i should be able to position buttons anywhere.

I'm thinking a half top bar(just to the left of the back arrow going about 3/4 of the screen) - could be a faded green colour saying HealthCheck - Version - Screen title. Or something similar as well - can worry about that later


Makes perfect sense to me, but I was discussing this very point with someone else earlier - the "semi-transparent" effect that is applied when you move into the menu's from the main hildon desktop is actually a pixel blur effect. The problem is this (I believe, but will stand to be corrected), the coding for the menu is core to the OS whereas the coding for the apps is not interdependent on the same libraries that the OS is. Tying in the app to this parameter might be quite difficult, but I'm not a coder so haven't got a leg to stand on really. Transparency is not possible I don't believe, unless you are talking about widgets, which, to be fair, your app could easily be - as a shortcut to the main app itself....?
there seems to be a trick of snapshotting the desktop before load - and the using it as a background image - i'll see what i can hunt out....
Will stick with an app for the moment, not tried widgets yet

Dunno - I'll get cracking on some images for you to play about with. Post up here when I got some done
Superb, thank you very much!
Should get some free time at the weekend to give it a proper trial - but obviously whhatever you throw up so to speak, i'll get it on and see what it looks like

Thank you very much for your help and support.
(P.s. i can be found quite often on IRC in #Maemo, if needed)
__________________
----------- Follow me on Twitter here
----------- My Photography Website and Blog is here
----------- Author of the N900 Health Check Application ----------- New Version in Extras Devel (Dec 2010 - 2.9.10)
----------- Are you on the N900 World Map? - http://pininthemap.com/maemo - masterpin: shotgun
----------- What apps do you want to see on the n900 or in MeeGo in the future? -
 

The Following 2 Users Say Thank You to noobmonkey For This Useful Post:
Posts: 146 | Thanked: 76 times | Joined on Feb 2010 @ Poland
#459
For Sound tests I suggest to also add earspeaker tests.
__________________
Remember to click Thanks! if this post is of any help
 

The Following User Says Thank You to Robb For This Useful Post:
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#460
[Quote/]

edit - completely forgot to add - QT can use CSS i think - will ask mikec [/QUOTE]

here is the guide to add your own buttons
http://wiki.maemo.org/Customising_Qt...hon_in_30_Mins

Have a look at the latest version of nclock. I like the tap on main screen to get slide out menu technique
__________________
N900_Email_Options Wiki Page
 

The Following User Says Thank You to mikec For This Useful Post:
Reply

Tags
check, faulty, front camera, gps, hardware, healthcheck, test


 
Forum Jump


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