Rosetta and Android

Message boards : Number crunching : Rosetta and Android

To post messages, you must log in.

1 · 2 · 3 · 4 . . . 6 · Next

AuthorMessage
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 76853 - Posted: 19 Jun 2014, 8:57:13 UTC

Some weeks ago, on Ralph@Home home page: "We are happy to announce that today we added the android arm platform minirosetta_beta version. If you have an android arm device/phone that supports android-9, please download and install the boinc client and attach to our project." (but no wu for android up to now).
When do you think to pass Rosetta on Android??
As i ask: Will you create a "specifical counter" in the server status for android wus?
ID: 76853 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
sgaboinc

Send message
Joined: 2 Apr 14
Posts: 282
Credit: 208,966
RAC: 0
Message 76985 - Posted: 9 Jul 2014, 16:12:36 UTC - in response to Message 76853.  
Last modified: 9 Jul 2014, 16:14:09 UTC

while i'd not like to disappoint the android fans it is difficult to imagine running rosetta on a mobile phone, i guess the battery would be flat before the task ends :o :p lol
ID: 76985 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 76989 - Posted: 9 Jul 2014, 20:05:02 UTC - in response to Message 76985.  
Last modified: 9 Jul 2014, 20:06:09 UTC

while i'd not like to disappoint the android fans it is difficult to imagine running rosetta on a mobile phone, i guess the battery would be flat before the task ends :o :p lol


The battery it's not a problem. You can configure it to crunch when phone is charging. Other project use boinc on android...
The problem, i think, is memory. 500/600 mb per core on phone/tablet is too much
ID: 76989 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
sgaboinc

Send message
Joined: 2 Apr 14
Posts: 282
Credit: 208,966
RAC: 0
Message 76992 - Posted: 10 Jul 2014, 13:06:33 UTC - in response to Message 76989.  



The battery it's not a problem. You can configure it to crunch when phone is charging. Other project use boinc on android...
The problem, i think, is memory. 500/600 mb per core on phone/tablet is too much


i see, thanks for pointing out :D
yup, agree too that for most consumer devices today it would be pushing the limits of memory, storage, processor prowess etc to run r@h on those devices. lol :D

ID: 76992 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77010 - Posted: 14 Jul 2014, 9:35:20 UTC - in response to Message 76992.  

i see, thanks for pointing out :D
yup, agree too that for most consumer devices today it would be pushing the limits of memory, storage, processor prowess etc to run r@h on those devices. lol :D


There are some projects on android (wcg, simap, asteroids, seti, einstein, ecc) so is not impossible to crunch on mobile device. The problem is to optimize the code.
ID: 77010 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77015 - Posted: 16 Jul 2014, 6:23:26 UTC

Now i'm crunching a ralph@home's wu on my smartphone!!
ID: 77015 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77436 - Posted: 4 Sep 2014, 10:38:22 UTC

Not so good the android version.
There will be 3 possibilities:
1) Optimize the code to reduce the usage of ram over 50%
2) Use Android version to run a very specific kind of simulation
3) A waste of time and resource

Remain of view that a gpu client is better :-P
ID: 77436 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile David E K
Volunteer moderator
Project administrator
Project developer
Project scientist

Send message
Joined: 1 Jul 05
Posts: 1018
Credit: 4,325,161
RAC: 0
Message 77442 - Posted: 5 Sep 2014, 22:58:38 UTC

We probably will have an android specific app version that will get specific jobs that don't require as much memory.

Looking towards the future, memory, processors, etc.. will get better. This is just the beginning.
ID: 77442 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77447 - Posted: 8 Sep 2014, 7:54:05 UTC - in response to Message 77442.  

Looking towards the future, memory, processors, etc.. will get better. This is just the beginning.


I know this is just the beginning, but i remain skeptical about boinc over android (not only for rosetta project). For example, a high-level ARM cpu (A9) has the same computational power of a single core cpu of 2004 and 25/30 times less than a medium I7...
ID: 77447 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77453 - Posted: 11 Sep 2014, 16:28:25 UTC

Wow, ARM cpu are the new rac monsters :-P

ARM



ID: 77453 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile David E K
Volunteer moderator
Project administrator
Project developer
Project scientist

Send message
Joined: 1 Jul 05
Posts: 1018
Credit: 4,325,161
RAC: 0
Message 77454 - Posted: 11 Sep 2014, 18:20:52 UTC - in response to Message 77453.  

Wow, ARM cpu are the new rac monsters :-P

ARM





I'm just happy to have a relatively stable version running on Ralph now :). I think the CPU time reporting is not consistent with the actual CPU usage time so the granted credits are not correct. At least it isn't on my device. I think the BOINC client has some bugs/kinks to work out. Android puts the tasks to sleep often even though the BOINC client assumes the tasks are running. Things will improve with time and effort...
ID: 77454 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77468 - Posted: 16 Sep 2014, 6:01:39 UTC - in response to Message 77454.  

I'm just happy to have a relatively stable version running on Ralph now :). I think the CPU time reporting is not consistent with the actual CPU usage time so the granted credits are not correct.


After some days of android:

Queued: 873
In progress: 38
Successes last 24h: 7
Failures last 24h: 57
TeraFLOPS estimate: 0.001


:-(
ID: 77468 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77510 - Posted: 26 Sep 2014, 12:40:36 UTC

Rosetta has released offical app for android (version 3.58)
https://boinc.bakerlab.org/rosetta/apps.php

Has someone tried it?
ID: 77510 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile FalconFly
Avatar

Send message
Joined: 11 Jan 08
Posts: 23
Credit: 2,163,056
RAC: 0
Message 77513 - Posted: 26 Sep 2014, 23:44:00 UTC - in response to Message 77510.  

Rosetta has released offical app for android (version 3.58)
https://boinc.bakerlab.org/rosetta/apps.php

Has someone tried it?


I'll give it a shot for a few Tasks, will report back tomorrow :)
ID: 77513 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile FalconFly
Avatar

Send message
Joined: 11 Jan 08
Posts: 23
Credit: 2,163,056
RAC: 0
Message 77514 - Posted: 27 Sep 2014, 9:01:10 UTC - in response to Message 77513.  
Last modified: 27 Sep 2014, 9:07:49 UTC

Got the Android Client running over night - and the results aren't good.

The Application basically starts off good but apparently ceases to utilize CPU within seconds.
After that, the Task sits at what looks like idle and eventually times out after wasting about 150% of the alotted target CPU time.

It basically doesn't process anything, just blocks a CPU core and fails.

I've just restarted a Task that was sitting idle for >9 hours on a 6 hours task - at least right now it seems to actually process data. Let's see for how long...
RAM usage seems very low, my Android Device has plenty of free RAM remaining while processing 2x SIMAP + 1x Rosetta.

With a bit of luck it was only the 1st tasks that failed (maybe some project init problems on the device).
ID: 77514 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile FalconFly
Avatar

Send message
Joined: 11 Jan 08
Posts: 23
Credit: 2,163,056
RAC: 0
Message 77515 - Posted: 27 Sep 2014, 18:14:05 UTC - in response to Message 77514.  
Last modified: 27 Sep 2014, 18:14:30 UTC

Allright, the conclusion after a day of testing is : the Android Client just doesn't work.

The 2nd workunit apparently completed without issues (nothing bad visible in logfile either) but ended up as a computing error as well - just like the one of my wingman.
ID: 77515 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 1 Dec 05
Posts: 1621
Credit: 6,457,705
RAC: 65
Message 77516 - Posted: 28 Sep 2014, 11:47:32 UTC

I continue to consider "rosetta android" a waste of time.
Much more sense, for example, introduce avx/avx2 extension in the rosetta code.
ID: 77516 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
xdarma

Send message
Joined: 20 Jan 08
Posts: 5
Credit: 4,353,678
RAC: 0
Message 77517 - Posted: 28 Sep 2014, 13:49:49 UTC - in response to Message 77516.  

Much more sense, for example, introduce avx/avx2 extension in the rosetta code.

+1

IMO, the lack of support for AVX is a loss of potential starting from today.
The lack of support for ARM is (maybe) a loss from 2016.

In my opinion, the development priorities should be revised.

Thanks.
ID: 77517 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile FalconFly
Avatar

Send message
Joined: 11 Jan 08
Posts: 23
Credit: 2,163,056
RAC: 0
Message 77518 - Posted: 28 Sep 2014, 22:36:59 UTC - in response to Message 77517.  

Generally I wouldn't discount the Android Client, not for its performance potential per device - but due to the sheer number of devices.

But of course, if Rosetta could be optimized for the latest SIMD or even OpenCL, that would be a massive performance gain...
ID: 77518 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile David E K
Volunteer moderator
Project administrator
Project developer
Project scientist

Send message
Joined: 1 Jul 05
Posts: 1018
Credit: 4,325,161
RAC: 0
Message 77522 - Posted: 29 Sep 2014, 18:40:49 UTC

Yes, there are definitely issues with android and boinc apps. The main issues now I believe are with the BOINC client and current android versions which put background processes to sleep. For now, I am not going to spend much time on our android version until they fix this issue. The motivation for an android arm version has come from BOINC and their partnership with HTC power to give. Samsung is also interested in running R@h on their phones.
ID: 77522 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · 3 · 4 . . . 6 · Next

Message boards : Number crunching : Rosetta and Android



©2022 University of Washington
https://www.bakerlab.org