Message boards :
News :
SETI@home v7 7.06 released for ARMv7 Android
Message board moderation
Previous · 1 . . . 3 · 4 · 5 · 6 · 7 · 8 · 9 . . . 11 · Next
Author | Message |
---|---|
![]() Send message Joined: 15 Mar 05 Posts: 1547 Credit: 27,183,456 RAC: 0 ![]() |
Using "top" from a shell command line gives a more complete picture of memory use. It's included on every android I've tried so far. I'll download the native boinc seti@home app and see whether it is using significantly less memory. I'm also considering increasing the initial result replication to 3 so we don't have to wait so long for validation. 8 completed results, 5 waiting for validation ![]() |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
Well, then we speak about different events perhaps. I say that it's almst impossible to kill app that already got needed memory. And looks like your app just fails to get needed memory at all. I.e., not cannibalizing behavior of Android, just out of memory condition. Also, do you run stock BOINc or NativeBOINC ? |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
I would set limit of tasks per host instead. Or you end with 2 of 3 tasks hanging in CElliott's cache ;) |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
No, the key observation not in less memory taken. The main conclusion - NativeBOINC PROTECTS SETI app from being cannibalizing by Android runtime. Other apps are closed, not BOINC and SETI. |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
@Eric Regarding my "app stops responding" case: Did you build vs BOINC code that already contains this fix? API: fix synchronization problem that could make apps nonresponsive Cause looks like GPU windows builds suffer from such hangs too time to time (and Einstein project met same issue before). |
![]() Send message Joined: 15 Mar 05 Posts: 1547 Credit: 27,183,456 RAC: 0 ![]() |
Any idea how it would do that? Catching and ignoring SIGKILL? ![]() |
![]() Send message Joined: 15 Mar 05 Posts: 1547 Credit: 27,183,456 RAC: 0 ![]() |
@Eric Yes, that fix is in all these apps. ![]() |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
As I quite verbosely described in this message (http://setiweb.ssl.berkeley.edu/beta/forum_thread.php?id=2046&postid=46707) there are 2 types of Android apps. Let's call them "usual apps" and "service" apps. First ones designed to run in foreground and easely can get killed when switched away. Second ones intended to work in background (like Skype, sound recording, maps and so on). This type of app DOESN'T get killed. NativeBOINC (naturally) runs as second type of apps. I'm not Android programmer at all so can't say how to write such app (consider daemon in Linux and service in Windows as some alike) but it's quite obvious for me after testing done that service app doesn't get killed so easely as "usual" apps do. You don't need to do anything special to take this advatage, just to run NativeBOINC. But David should learn how to do this with stock BOINC too, IMHO. |
Send message Joined: 29 May 06 Posts: 1037 Credit: 8,440,339 RAC: 0 ![]() |
Probably the reason why NativeBoinc would cause my HTC One S to often lock up and reboot, it seems to often only have only ~100Mb RAM free according to it's Task Manager. Claggy |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
Very probably no. My phone has even less. Perhaps your HTC One S just can't handle so big heat dissipation as BOINC with SETI apps can produce. Weak hardware part ;) EDIT: and NativeBOINC uses only 8.2MB while Skype (running as service app too) uses 28. So, do you have lockups and reboots because of Skype ? No? Then your theory in trouble :P |
Send message Joined: 29 May 06 Posts: 1037 Credit: 8,440,339 RAC: 0 ![]() |
The thing is, it produces less heat when running Setiathome and keeps the phone fully charged, when running Asteroids it can't keep the phone fully charged, it'll discharge to whatever value I have the minimum battery level set to, then cycle as the battery charges, then runs, then charges again, (It used to charge harder and get warmer before an Android kernel update some six months ago, I think the charge rate is limited now) Claggy |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
It's not connected with initial hypothesis about NativeBOINC memory lock behavior connected with increased number of phone restarts. Astreroids running under some BOINC app too I suppose? |
![]() Send message Joined: 15 Mar 05 Posts: 1547 Credit: 27,183,456 RAC: 0 ![]() |
I've increased the minimum replication to 3 and reduced the per CPU/GPU max in-progress to 50. It does mean fast hosts will need to contact the server more than once a day, but it should improve the validation speed for "rare" apps like Android to the point where I can make more sense of it. ![]() |
Send message Joined: 29 May 06 Posts: 1037 Credit: 8,440,339 RAC: 0 ![]() |
It's not connected with initial hypothesis about NativeBOINC memory lock behavior connected with increased number of phone restarts. Astreroids running under some BOINC app too I suppose? The above post is about how the HTC One S runs now with the Official Boinc, when it ran NativeBoinc it was horribly unstable, at the time it ran PrimeGrid, it could complete Wu's, but would often error then will a SIGSEGV: segmentation violation, With the Official Boinc it is stable, it runs the Asteroids app no problem, the Einstein VFP app no problem, the Einstein NEON app runs O.K, but only produces validation errors, the armv6 Seti app instantly errors with an illegal instruction, the armv7a Seti app often errors within minutes, at the moment I've actually got two armv7a tasks fairly well advanced, observations about the armv7a app is I sometimes see no progress occurring, suspending and resuming gets it running, only for it to later error, I suspect it's just short of free memory, Task Manager only ever reports 100Mb free out of 1 Gig. I have run Skype on it, it sometimes seems to have been partially killed, at the moment i'm not running it, and haven't for several weeks. Claggy |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
Claggy, unless you have some special software on your phone that requires enormous memory amount 100MB is plenty of RAM. My phone has 280MB in total (vs 1GB on your phone) and <100MB of free RAM always. And no issues. I still think that crashes you see (under stock BOINc too) are hardware issues. Try to switch back to NativeBOINC and run same set of apps. You compare apples with oranges in your "NativeBOINC bad and stock BOINc good" conclusion (simplifying a little, but hope you got the point). Different apps have different loads on different parts of CPU/memory subsystem. Different time profiles of loads and so on. All this have direct influence of hardware stability in boundary cases. |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
And I have first completed result with 7.08. It is overflow so hard to say about performance (order of magnitude slower that wingman's i3-3220 but it's OK). EDIT: it's one of 2 hung tasks. After restart one of them completed OK (validated already), another one in suspend now due to panic mode from BOINC. |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
Will not do comprehensive analysis of credit granting for Android apps, but in short, it's erratic still: 186,358.82 183,712.50 88.38 SETI@home v7 v7.06 (armv7a) 0.019682 188,152.93 186,348.60 144.98 SETI@home v7 v7.06 (armv7a) 0.019682 Same app, same AR, very close runtimes and quite different credits granted (in bold) |
![]() ![]() Send message Joined: 18 Aug 05 Posts: 2423 Credit: 15,878,738 RAC: 0 ![]() |
|
![]() Send message Joined: 15 Mar 05 Posts: 1547 Credit: 27,183,456 RAC: 0 ![]() |
Right now the credit grants are dominated by your wingmans host and app statistics (unless he's using anonymous platform). Only 7.07 of armv7 has enough results to be used for granting credit. Will not do comprehensive analysis of credit granting for Android apps, but in short, it's erratic still: ![]() |
![]() Send message Joined: 15 Mar 05 Posts: 1547 Credit: 27,183,456 RAC: 0 ![]() |
Does BOINC ever show the "Waiting for battery to cool down" message on your phone? I don't know how else to check if there is a battery temperature sensor. On my phone, SETI@home will deplete the battery if I'm charging from a computer, but won't when I'm charging from a wall wart. Not sure what either would have to do with the SETI@home troubles on your phone. ![]() |
©2023 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.