Ralph support multi-thread?

Message boards : Number crunching : Ralph support multi-thread?

To post messages, you must log in.

AuthorMessage
Profile [VENETO] boboviz

Send message
Joined: 9 Apr 08
Posts: 912
Credit: 1,892,541
RAC: 294
Message 5482 - Posted: 24 Mar 2012, 20:44:12 UTC

Ok, Ralph/Rosetta may not support gpu in the next future, but is not possible to have a multi-threads wu?? With 8 cores cpu, may have great improvement...
ID: 5482 · Report as offensive    Reply Quote
Rocco Moretti
Volunteer moderator
Project developer
Project scientist

Send message
Joined: 18 May 10
Posts: 11
Credit: 30,188
RAC: 0
Message 5483 - Posted: 25 Mar 2012, 22:41:51 UTC - in response to Message 5482.  

Multi-threading would be a headache to support for no practical gain. Protocols typically function by taking a single structure through a series of steps, which means there's choke points which would limit the speed increase you'd get from multithreading. Rosetta is really set up for trivial parallelism. Instead of multithreading a single structure, the better way to handle multiple CPUs is to run multiple structures at the same time, and the easiest way of doing that is to run multiple independent instances of the program. (Which happens to be a good match for the boinc setup.)

If you want to make full use of your 8-core CPU, go into your boinc computing preferences, and increase the "On multiprocessors, use at most" settings. This way you should crunch on eight work units at once (one for each CPU). Although each will run at about the same speed as a single work unit on a single CPU, you'll still come out ahead credit/scientific-result-wise of if we implemented multi-threading.
ID: 5483 · Report as offensive    Reply Quote
Profile [VENETO] boboviz

Send message
Joined: 9 Apr 08
Posts: 912
Credit: 1,892,541
RAC: 294
Message 5484 - Posted: 26 Mar 2012, 18:07:00 UTC

Thanks for the answer!! :-)
ID: 5484 · Report as offensive    Reply Quote

Message boards : Number crunching : Ralph support multi-thread?



©2024 University of Washington
http://www.bakerlab.org