Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Distributed Computing

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 1, 2009, 07:10 PM   #1
SciFrog
macrumors 6502
 
Join Date: Jul 2008
SMP2 is coming for Folding!

http://folding.typepad.com/

After GPU3 annoucement (which will run on Mac OS X), we will also have SMP2 which will use threading and not MPI. It should mean the client will not crash when switching network anymore and will have easier stop/resume stability...
SciFrog is offline   0 Reply With Quote
Old Dec 1, 2009, 07:47 PM   #2
twoodcc
macrumors P6
 
twoodcc's Avatar
 
Join Date: Feb 2005
Location: Right side of wrong
Send a message via AIM to twoodcc Send a message via MSN to twoodcc
alright! i was just reading that a few minutes ago. looking forward to both!
__________________
tville
Smarter than the average bear
twoodcc is offline   0 Reply With Quote
Old Dec 1, 2009, 07:52 PM   #3
lordonuthin
macrumors 6502
 
Join Date: Jan 2007
Location: Iowa
Quote:
Originally Posted by twoodcc View Post
alright! i was just reading that a few minutes ago. looking forward to both!
Sounds good to me.
__________________
2009 MP, 13" '12 MBP, iPhone 4, iPad 2
FAH team 3446 with 5 Titan gpu's and 1 GTX 660ti
lordonuthin is offline   0 Reply With Quote
Old Dec 2, 2009, 01:37 PM   #4
SciFrog
Thread Starter
macrumors 6502
 
Join Date: Jul 2008
SMP2 will also bring a bonus to crunch units faster, same as bigadv scheme.
SciFrog is offline   0 Reply With Quote
Old Dec 2, 2009, 02:59 PM   #5
MacBandit
macrumors 604
 
MacBandit's Avatar
 
Join Date: Aug 2002
Location: Springfield, OR (Home of the Simpsons)
Send a message via AIM to MacBandit
So I know what SMP is but what is MIP? Similar thing?
__________________
Folding@Home
"Folding FAQ," for more information.
Fold with your PS3. Message me on the Playstation Network ID 'MacBandit'
MacBandit is offline   0 Reply With Quote
Old Dec 2, 2009, 06:53 PM   #6
twoodcc
macrumors P6
 
twoodcc's Avatar
 
Join Date: Feb 2005
Location: Right side of wrong
Send a message via AIM to twoodcc Send a message via MSN to twoodcc
Quote:
Originally Posted by SciFrog View Post
SMP2 will also bring a bonus to crunch units faster, same as bigadv scheme.
yeah i know. should be interesting

Quote:
Originally Posted by MacBandit View Post
So I know what SMP is but what is MIP? Similar thing?
i have no idea
__________________
tville
Smarter than the average bear
twoodcc is offline   0 Reply With Quote
Old Dec 2, 2009, 10:13 PM   #7
lordonuthin
macrumors 6502
 
Join Date: Jan 2007
Location: Iowa
Quote:
Originally Posted by MacBandit View Post
So I know what SMP is but what is MIP? Similar thing?
MIPs is Million Instructions Per Second which is an old performance measure of for mainframes.

and I think there used to be a company called MIP.
__________________
2009 MP, 13" '12 MBP, iPhone 4, iPad 2
FAH team 3446 with 5 Titan gpu's and 1 GTX 660ti
lordonuthin is offline   0 Reply With Quote
Old Dec 2, 2009, 10:20 PM   #8
lordonuthin
macrumors 6502
 
Join Date: Jan 2007
Location: Iowa
Quote:
Originally Posted by SciFrog View Post
SMP2 will also bring a bonus to crunch units faster, same as bigadv scheme.
I wonder if they are getting something under the table from Nvidia/AMD to get people to spend money on new GPU's

And speaking of GPU's one of my GTX 275 is not working, I will have to get it registered and rma'd. And the one that is working is getting 8900 ppd which from what I have seen is better than what the gtx 295's are getting? Maybe I'm wrong... 2 more will be here tomorrow! with psu's!
__________________
2009 MP, 13" '12 MBP, iPhone 4, iPad 2
FAH team 3446 with 5 Titan gpu's and 1 GTX 660ti

Last edited by lordonuthin; Dec 2, 2009 at 10:27 PM.
lordonuthin is offline   0 Reply With Quote
Old Dec 3, 2009, 12:09 AM   #9
MacBandit
macrumors 604
 
MacBandit's Avatar
 
Join Date: Aug 2002
Location: Springfield, OR (Home of the Simpsons)
Send a message via AIM to MacBandit
Quote:
Originally Posted by lordonuthin View Post
MIPs is Million Instructions Per Second which is an old performance measure of for mainframes.

and I think there used to be a company called MIP.
Sorry I actually know what a MIP is I meant to ask what MPI is.
__________________
Folding@Home
"Folding FAQ," for more information.
Fold with your PS3. Message me on the Playstation Network ID 'MacBandit'
MacBandit is offline   0 Reply With Quote
Old Dec 3, 2009, 01:30 AM   #10
lordonuthin
macrumors 6502
 
Join Date: Jan 2007
Location: Iowa
Quote:
Originally Posted by MacBandit View Post
Sorry I actually know what a MIP is I meant to ask what MPI is.
Oh, well, (in a nasal tone) never mind... (a salute to Gilda)! And, I haven't the foggiest idea what an MPI is!
__________________
2009 MP, 13" '12 MBP, iPhone 4, iPad 2
FAH team 3446 with 5 Titan gpu's and 1 GTX 660ti
lordonuthin is offline   0 Reply With Quote
Old Dec 7, 2009, 02:28 PM   #11
Detrius
macrumors 68000
 
Join Date: Sep 2008
Location: Asheville, NC
Quote:
Originally Posted by MacBandit View Post
Sorry I actually know what a MIP is I meant to ask what MPI is.
MPI = Message Passing Interface. It's used for cluster computing. Since it depends on sending messages between different processes over TCP/IP, it's susceptible to network changes. Since users are more likely to just install different clients on their different computers instead of using one to distribute work to other local computers, the multi-threading approach is the better approach at the client side. Communicating between multiple threads is also generally more efficient than trying to communicate between processes... with TCP/IP.

http://en.wikipedia.org/wiki/Message_Passing_Interface
Detrius is offline   0 Reply With Quote
Old Dec 7, 2009, 04:59 PM   #12
MacBandit
macrumors 604
 
MacBandit's Avatar
 
Join Date: Aug 2002
Location: Springfield, OR (Home of the Simpsons)
Send a message via AIM to MacBandit
Thanks for the link. It didn't quite explain to me how Stanford was using MPI for Folding Distributing though.

So has Stanford been treating all the users cpus as a remote processing units and distributing to them as a big collective supercomputer? It seems rather inefficient. I've always thought that they were breaking down the large task into smaller tasks that could be downloaded processed and then transmitted back.
__________________
Folding@Home
"Folding FAQ," for more information.
Fold with your PS3. Message me on the Playstation Network ID 'MacBandit'
MacBandit is offline   0 Reply With Quote
Old Dec 7, 2009, 09:23 PM   #13
trainguy77
macrumors 68040
 
trainguy77's Avatar
 
Join Date: Nov 2003
Send a message via AIM to trainguy77 Send a message via MSN to trainguy77 Send a message via Yahoo to trainguy77
Quote:
Originally Posted by MacBandit View Post
Thanks for the link. It didn't quite explain to me how Stanford was using MPI for Folding Distributing though.

So has Stanford been treating all the users cpus as a remote processing units and distributing to them as a big collective supercomputer? It seems rather inefficient. I've always thought that they were breaking down the large task into smaller tasks that could be downloaded processed and then transmitted back.
What currently happens from what I can tell. is the work unit is downloaded. It is one smaller task as you put it. However, you will notice in your activity monitor that it runs as four different processes currently running. Plus an extra control process. For these to communicate with each other they have to use a local version of MPI. As they are different applications. The new method will be different as it will be written as one application. But separate threads. This allows them to communicate much more easily.

Thats my understanding atleast. Correct me if I am wrong.
trainguy77 is offline   0 Reply With Quote
Old Dec 7, 2009, 09:55 PM   #14
MacBandit
macrumors 604
 
MacBandit's Avatar
 
Join Date: Aug 2002
Location: Springfield, OR (Home of the Simpsons)
Send a message via AIM to MacBandit
Ah. Thanks for the explanation. I was trying to figure out why they would be doing this from the individual back to the servers.

I can see why this is such a screwy process. I guess I always thought (assumed) they were threading it but now that you mentioned it I see exactly what you mean.

One thing that doesn't quite make since to me though is why does it rely on networking if it's all local? I know this part must be true because I find that folding frequently crashes and/or becomes corrupted when I change networks.

It seems like this should also make it friendlier to other tasks being run on the system since it will be one multithreaded task possibly making it more flexible. I know right now I frequently have to pause folding or re-nice it if I plan on running any large streaming clients like Netflix.
__________________
Folding@Home
"Folding FAQ," for more information.
Fold with your PS3. Message me on the Playstation Network ID 'MacBandit'
MacBandit is offline   0 Reply With Quote
Old Dec 7, 2009, 11:33 PM   #15
Detrius
macrumors 68000
 
Join Date: Sep 2008
Location: Asheville, NC
Quote:
Originally Posted by MacBandit View Post
Ah. Thanks for the explanation. I was trying to figure out why they would be doing this from the individual back to the servers.

I can see why this is such a screwy process. I guess I always thought (assumed) they were threading it but now that you mentioned it I see exactly what you mean.

One thing that doesn't quite make since to me though is why does it rely on networking if it's all local? I know this part must be true because I find that folding frequently crashes and/or becomes corrupted when I change networks.

It seems like this should also make it friendlier to other tasks being run on the system since it will be one multithreaded task possibly making it more flexible. I know right now I frequently have to pause folding or re-nice it if I plan on running any large streaming clients like Netflix.

This is all speculation, as I don't even run the program, but here goes: The only reason I can imagine they would use MPI at the client side as opposed to threading it is that they are already using MPI to communicate back with the main servers. If this is the case, it would be relatively easy (from a learning-curve point of view) to continue on toward using this to communicate at the client side. If you're a grad student who's never written anything multithreaded, it's easier to stick with what you know than to experiment with something new. Likewise, going the multiprocess w/MPI route, you don't have to worry about shared memory or mutexes, so it's easier for the noob programmer to implement. Otherwise, I see no tangible benefit for using MPI like this.

I wrote cluster software with lammpi before I ever began writing multithreaded apps. I can attest that the MPI route takes less brain power. The multithreading route may be simpler to code, but there's a lot more to think about. Even in the professional field, I was the only person at my previous company who was not afraid of multithreading.
Detrius is offline   0 Reply With Quote
Old Dec 8, 2009, 01:10 AM   #16
lordonuthin
macrumors 6502
 
Join Date: Jan 2007
Location: Iowa
Quote:
Originally Posted by Detrius View Post
This is all speculation, as I don't even run the program, but here goes: The only reason I can imagine they would use MPI at the client side as opposed to threading it is that they are already using MPI to communicate back with the main servers. If this is the case, it would be relatively easy (from a learning-curve point of view) to continue on toward using this to communicate at the client side. If you're a grad student who's never written anything multithreaded, it's easier to stick with what you know than to experiment with something new. Likewise, going the multiprocess w/MPI route, you don't have to worry about shared memory or mutexes, so it's easier for the noob programmer to implement. Otherwise, I see no tangible benefit for using MPI like this.

I wrote cluster software with lammpi before I ever began writing multithreaded apps. I can attest that the MPI route takes less brain power. The multithreading route may be simpler to code, but there's a lot more to think about. Even in the professional field, I was the only person at my previous company who was not afraid of multithreading.
It's too bad that they probably won't be able to use Apple's grand central among other tech/tools since it would seem to be a really good way to go, but I can understand them not using it since they have to write for windows first...
__________________
2009 MP, 13" '12 MBP, iPhone 4, iPad 2
FAH team 3446 with 5 Titan gpu's and 1 GTX 660ti
lordonuthin is offline   0 Reply With Quote
Old Dec 8, 2009, 07:36 AM   #17
trainguy77
macrumors 68040
 
trainguy77's Avatar
 
Join Date: Nov 2003
Send a message via AIM to trainguy77 Send a message via MSN to trainguy77 Send a message via Yahoo to trainguy77
Quote:
Originally Posted by MacBandit View Post

One thing that doesn't quite make since to me though is why does it rely on networking if it's all local? I know this part must be true because I find that folding frequently crashes and/or becomes corrupted when I change networks.
For security reasons I think its the only way for separate processes to communicate with eachother. This way Safari can't send large chunks of data to mail.app for example.
trainguy77 is offline   0 Reply With Quote
Old Dec 8, 2009, 11:31 AM   #18
MacBandit
macrumors 604
 
MacBandit's Avatar
 
Join Date: Aug 2002
Location: Springfield, OR (Home of the Simpsons)
Send a message via AIM to MacBandit
I don't understand the need for the security.
__________________
Folding@Home
"Folding FAQ," for more information.
Fold with your PS3. Message me on the Playstation Network ID 'MacBandit'
MacBandit is offline   0 Reply With Quote
Old Dec 8, 2009, 05:25 PM   #19
trainguy77
macrumors 68040
 
trainguy77's Avatar
 
Join Date: Nov 2003
Send a message via AIM to trainguy77 Send a message via MSN to trainguy77 Send a message via Yahoo to trainguy77
Quote:
Originally Posted by MacBandit View Post
I don't understand the need for the security.
Well if any application could send anything to any other applications your asking for viruses crashing and all sorts of issues. You need to have them sandboxed to some extend and have meditation for what can communicate. To get around this you use the network but the address 127.0.0.1.
trainguy77 is offline   0 Reply With Quote
Old Oct 11, 2010, 06:24 PM   #20
MacBandit
macrumors 604
 
MacBandit's Avatar
 
Join Date: Aug 2002
Location: Springfield, OR (Home of the Simpsons)
Send a message via AIM to MacBandit
I understand the need for separation on a system wide basis but not between processes being controlled by the same app.
__________________
Folding@Home
"Folding FAQ," for more information.
Fold with your PS3. Message me on the Playstation Network ID 'MacBandit'
MacBandit is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Distributed Computing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
New to folding - few questions COrocket Distributed Computing 21 Sep 18, 2013 09:13 PM
Folding bike / bicycle? Consultant Community Discussion 4 Jun 2, 2013 08:47 PM
Xserve for Folding phoenixsan Distributed Computing 7 Mar 31, 2013 08:27 PM
CPU Temp When Folding huntermaclean Distributed Computing 5 Mar 4, 2013 07:12 PM
Retina Display Support Coming to Photoshop CS6 and Lightroom 4 in 'Coming Months' [Updated] MacRumors MacRumors.com News Discussion 93 Aug 31, 2012 06:03 PM

Forum Jump

All times are GMT -5. The time now is 10:10 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC