Folding on Android

Moderators: Site Moderators, PandeGroup

Re: Folding on Android

Postby bruce » Fri May 30, 2014 9:14 pm

I've explained the serial simulation problem previously in terms of a relay race. (You can search the forum.)

Bottom line: A running team cannot compete in a 20 mile relay race by letting 100 walkers cover the first 0.2 miles. Nobody ever reaches the end because nobody can start from the first 0.2 milepost until the first walker reaches that point. Many slow computers cannot make up for missing faster computers because the simulation, itself, is serial and you have to know how step N ends before anybody can start on step N+1.

Those 10 runners that can complete a mile in maybe 6 or 7 minutes are worth a lot more to the 20 mile relay race than any number of walkers. They can get the baton to the finish line in a couple of hours whereas none of the walkers will complete the course, no matter how long you give them. For FAH, speed is more important that simply completing a small bit of a WU.
bruce
Site Admin
 
Posts: 20613
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: Folding on Android

Postby poppakap » Fri May 30, 2014 10:43 pm

Ok, good, because that wasn't my intention, it was (and is) to stir the pot.

I guess the short answer to that question is, 'not so much.' And so, I do have a lot to study up on. I am here merely out of burning curiosity. I have a very deep desire to understand the code aspect of this. It is absolutely fascinating, and yet is the science part that also drives me to learn more and more.

On the other hand, I do have a couple decades of heavy coding experience under my belt. And that is the part of me that's trying to push the envelope, if you will. I understand that there are many people in this field that are much more intelligent than I am and I'm fine with that, even at the risk of being laughed at.

If there is one thing that I have learned time and time again, it's that you have to question everything, like, I never say, 'no we can't do this and that.' There's always a way... it just hasn't been developed yet. And I promise you, as sure as I am breathing, there's a way to have devices all over the planet folding in harmony... even toasters if we wanted to.

And I'm going to make another statement that will be sure to infuriate many of those involved, and cause great commotion and ruckus, a rain of you-dont-know-wth-youre-talking-about replies; If the only answer is more hardware, then the software design needs another examination. There. I said it, that's right. Now everyone unleash their wrath! :-D
poppakap
 
Posts: 10
Joined: Thu May 29, 2014 1:51 pm

Re: Folding on Android

Postby 7im » Fri May 30, 2014 11:49 pm

Almost all of the FAHCores run based on code from Gromacs.org and requires SSE based code optimizations. Diving in head first over there (open source) would help explain a lot about folding.
How to provide enough information to get helpful support
Tell me and I forget. Teach me and I remember. Involve me and I learn.
User avatar
7im
 
Posts: 15199
Joined: Thu Nov 29, 2007 4:30 pm
Location: Arizona

Re: Folding on Android

Postby poppakap » Sat May 31, 2014 12:44 pm

Hi bruce, I was looking at it as parallel race, in which all 100 walkers completed at their own speed.
If not, then why should I contribute anything? If I can only put out 2k per day, why bother at all when someone else can do 1 million?
poppakap
 
Posts: 10
Joined: Thu May 29, 2014 1:51 pm

Re: Folding on Android

Postby P5-133XL » Sat May 31, 2014 5:44 pm

Because everything helps.
Image
P5-133XL
 
Posts: 4345
Joined: Sun Dec 02, 2007 4:36 am
Location: Salem. OR USA

Re: Folding on Android

Postby poppakap » Sun Jun 01, 2014 1:04 am

Thanks man, I was starting to feel a bit inadequate there for a moment. :-)
I'm curious how small a work unit can be, and if perhaps there were a way to assign the tiny ones to something like an android (in theory) and let the pc's and mass StorageForum.nets do the heavy lifting.
It does seem as though I get the smaller wu's < 5mb so I'm thinking there is already a sized-based assignment already built into the logic. I'm also curious as to the factors that determine the size, and what the data returned consists of. But, I'll do more research.
Gracias
poppakap
 
Posts: 10
Joined: Thu May 29, 2014 1:51 pm

Re: Folding on Android

Postby poppakap » Sun Jun 01, 2014 1:09 am

I think I understand the factors now... disregard that part!
poppakap
 
Posts: 10
Joined: Thu May 29, 2014 1:51 pm

Re: Folding on Android

Postby bruce » Mon Jun 02, 2014 5:16 am

The science of Folding@home has various needs. A very important goal is to create very long trajectories in a short period of elapsed time. That means fast computers (faster than the best of today's technology allows) running continuously, so my example of a 20 mile relay race might actually be more like a cross-continent relay race than only 20 miles. To meet that objective, the speed of each leg of the journey is more important than the number of runners.

Nevertheless, that's not the only goal. There are other important goals that can be achieved in parallel, but there, too, speed is important.

More than ten years ago, FAH started with the computers of that day and eventually settled on a minimum platform of (more or less) a Pentium 4 or an Athlon. Hardware has made great strides since then, but there's still work that can be done by those computers (if anybody still has any).

Over the years, most of the development work has focused on newer/faster platforms which can be helpful on projects like a cross-continent relay race. Recently, however, there have been new development efforts that have focused on untapped resources nearer the low-end. My example of 100 walkers that can only manage 0.2 miles or maybe 1.0 miles can contribute useful work as long as the work assigned can be matched up to the effectivity of the hardware. FAH has not done a very good job at utilizing those walkers but I predict they soon will.

The NaCl client is a relatively new development. The current NaCl client only runs on Windows/Linux/MacOS inside of the Chrome browser. The WUs being assigned can be completed by those PCs in a hour or so rather than requiring continuous processing over several days, which is a boon to people who don't choose to fold 24x7. Stanford also has other developments in the pipeline but there's no prediction when they might surface or if they'll fit your objectives. Also, I'm not sure where the Android platform or the iPhone/iPad fits in processing power (compared to a low-end desktop/laptop PC) or whether there might be a plan to develop clients for either the CPU or the GPU on other operating systems.

Stanford rarely pre-announces their plans. I suggest you sign up for Tuesday's webinar and get the official word rather than my naive predictions about the future.
bruce
Site Admin
 
Posts: 20613
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Is there a way to run NaCl in an Android mobile?

Postby panthro1971-2 » Mon Jun 16, 2014 3:38 pm

Just wondering, because I will get an Android mobile.....Would be possible?
panthro1971-2
 
Posts: 31
Joined: Sun Jan 19, 2014 10:02 pm

Re: Is there a way to run NaCl in an Android mobile?

Postby P5-133XL » Mon Jun 16, 2014 4:45 pm

Not yet.

While there is a pNaCl version, they do not have ARM support.
P5-133XL
 
Posts: 4345
Joined: Sun Dec 02, 2007 4:36 am
Location: Salem. OR USA

Re: Is there a way to run NaCl in an Android mobile?

Postby panthro1971-2 » Mon Jun 16, 2014 5:37 pm

Can not be done accesing the webpage only? Not installing the client per se
panthro1971-2
 
Posts: 31
Joined: Sun Jan 19, 2014 10:02 pm

Re: Is there a way to run NaCl in an Android mobile?

Postby 7im » Mon Jun 16, 2014 5:54 pm

No, the code still needs specific processor instructions to run folding@home. The ARM chip doesn't have those cpu instructions, and the fah client hasn't been ported to ARM yet.
User avatar
7im
 
Posts: 15199
Joined: Thu Nov 29, 2007 4:30 pm
Location: Arizona

Re: Is there a way to run NaCl in an Android mobile?

Postby panthro1971-2 » Mon Jun 16, 2014 6:06 pm

Oh ok.....Maybe in a future update then. Or maybe never..... :shock: ..... :?:
panthro1971-2
 
Posts: 31
Joined: Sun Jan 19, 2014 10:02 pm

Re: Folding on Android

Postby PantherX » Mon Jun 16, 2014 6:56 pm

From this blog post (https://folding.stanford.edu/home/addin ... e-browser/):
Next steps. Finally, as many will probably notice, this opens the door to naturally moving Folding@home from the browser on a computer to a browser on a phone or tablet. We are actively investigating those possibilities.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Chrome Folding App (Beta) Ӂ Troubleshooting "Bad WUs" Ӂ Troubleshooting Server Connectivity Issues
User avatar
PantherX
 
Posts: 6614
Joined: Wed Dec 23, 2009 9:33 am

Re: Folding on Android

Postby bruce » Mon Jun 16, 2014 7:14 pm

The most recent information I've seen is that the simultaneously keeping a guest application (like a FAHCore) in the sandbox (to prevent malware apps) is going to be very difficult in Android. "The interprocess communication model is extremely different on Android and since NaCl must reside in it's own separate process... there are lot of tricky pieces which will need to be implemented in completely different way on Android."

This was 9 months go and I'm not aware of any recent progress from the Developers at Chrome.
https://groups.google.com/forum/#!topic ... EZP458cVQY

If anybody has more recent news, please post it.
bruce
Site Admin
 
Posts: 20613
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

PreviousNext

Return to Android client from Sony

Who is online

Users browsing this forum: No registered users and 1 guest

cron