Rosetta CPU optimization - how ?

Message boards : Number crunching : Rosetta CPU optimization - how ?

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 273,234
RAC: 0
Message 44932 - Posted: 13 Aug 2007, 12:29:03 UTC
Last modified: 13 Aug 2007, 12:45:31 UTC

Hey, there are free and academic (much lower cost) licenses:
http://www.intel.com/cd/software/products/asmo-na/eng/219771.htm
http://www.intel.com/cd/software/products/asmo-na/eng/219603.htm#academic

This compiler IS THE fastest one. I really can't understand why most of/all boinc projects don't use ICC - benefits are clear - more processing power, more satisfaction of users (faster credits, more units computed etc.).

EDIT:

Guys, I found a person who will compile Rosetta with SSE, SSE2, SSE3, SSSE3. Now I must "only" obtain source code ;) Non-commercial version of ICC will be used.
ID: 44932 · Rating: 3 · rate: Rate + / Rate - Report as offensive    Reply Quote
DJStarfox

Send message
Joined: 19 Jul 07
Posts: 145
Credit: 1,242,482
RAC: 62
Message 44933 - Posted: 13 Aug 2007, 12:41:58 UTC - in response to Message 44911.  

I agree. If someone could start a fund raising campaign for a new compiler, I bet you could raise the money in a couple of weeks. You'd probably need to get the department admins involved so all donations go to this special university "project".
ID: 44933 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
FluffyChicken
Avatar

Send message
Joined: 1 Nov 05
Posts: 1260
Credit: 369,635
RAC: 0
Message 44936 - Posted: 13 Aug 2007, 14:22:14 UTC

Piotr, you may want to post in David Baker Journal feedback or contact them directly.

As for fund-raising, money is not normally the problem (and I'm sure Washington university have the compilers or can afford them already, certainly the Gates Foundation funding would be enough as well. That and they're from Who?'s post up there, in talks with Intel...


Team mauisun.org
ID: 44936 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile (_KoDAk_)

Send message
Joined: 18 Jul 06
Posts: 109
Credit: 1,859,263
RAC: 0
Message 45218 - Posted: 20 Aug 2007, 20:42:22 UTC

That officials think of this all ????
What motives at them not to realise optimisation favourable by it.
ID: 45218 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
FluffyChicken
Avatar

Send message
Joined: 1 Nov 05
Posts: 1260
Credit: 369,635
RAC: 0
Message 45227 - Posted: 21 Aug 2007, 8:02:06 UTC - in response to Message 45218.  

That officials think of this all ????
What motives at them not to realise optimisation favourable by it.


We would have to wait for the project Admin to comment (maybe a mod could ask them the question and the status of other platforms...

But time and resources are probably a major factor since comments from both Who? (An Intel Senior Performance Analyst) and Mats Petersson (AMD programmer ?) say converting to x64 or utilising SIMD instructions for this project would inclide a major re-write of the code to see any major benefit.

Though Who? still stalks the halls, Mats seems to have stopped crunching now.

Team mauisun.org
ID: 45227 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Gen_X_Accord
Avatar

Send message
Joined: 5 Jun 06
Posts: 154
Credit: 279,018
RAC: 0
Message 45281 - Posted: 22 Aug 2007, 22:33:10 UTC

Is the deal between Rosetta and Intel going to put AMD machines at a disadvantage, or maybe even phase out AMD machines in the future?
ID: 45281 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 273,234
RAC: 0
Message 45286 - Posted: 23 Aug 2007, 0:09:11 UTC - in response to Message 45281.  

Is the deal between Rosetta and Intel going to put AMD machines at a disadvantage, or maybe even phase out AMD machines in the future?


Hmm, using ICC10 should speed up computations on both Intel and AMG CPUs. Althrough ICC is known to have some anti-amd rountines (causes program to run not at full speed on AMD). But 1. Maybe in version 10 this problem does not occur 2. There are patches that cause programs to run on full speed on AMD CPUs.

Anyway ICC is worth trying !

Peter

ID: 45286 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Klimax

Send message
Joined: 27 Apr 07
Posts: 38
Credit: 2,524,105
RAC: 377
Message 45300 - Posted: 23 Aug 2007, 6:49:11 UTC - in response to Message 45286.  

Is the deal between Rosetta and Intel going to put AMD machines at a disadvantage, or maybe even phase out AMD machines in the future?


Hmm, using ICC10 should speed up computations on both Intel and AMG CPUs. Althrough ICC is known to have some anti-amd rountines (causes program to run not at full speed on AMD). But 1. Maybe in version 10 this problem does not occur 2. There are patches that cause programs to run on full speed on AMD CPUs.

Anyway ICC is worth trying !

Peter


Part of those "anti-AMD" routines is caused by mistake in detection-code,where it tries to detect old version of Athlon,which had broken support for SSE,but it did inversly and used slower path for CPUs with correct support.This has been lengthly discussed at Einstein.So far nobody to my best knowledge made tests to show,that Intel is slowing AMD chips.
ID: 45300 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile (_KoDAk_)

Send message
Joined: 18 Jul 06
Posts: 109
Credit: 1,859,263
RAC: 0
Message 47726 - Posted: 14 Oct 2007, 19:21:42 UTC

SSE4.1 is comming !!!!!!!!!
BUT Rosetta still use SSE1
OMG!!!!
ID: 47726 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 273,234
RAC: 0
Message 47738 - Posted: 14 Oct 2007, 21:57:15 UTC - in response to Message 47726.  

SSE4.1 is comming !!!!!!!!!
BUT Rosetta still use SSE1
OMG!!!!


IIRC Rosetta does not use even SSE !
ID: 47738 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Natronomonas

Send message
Joined: 11 Jan 06
Posts: 38
Credit: 536,978
RAC: 0
Message 47742 - Posted: 15 Oct 2007, 1:02:35 UTC - in response to Message 47738.  

Somehow it looks like the whole SSE4/SSE5 "competition"/implementation, on Intel/AMD respectively, isn't going to matter much to Rosetta! : )
Crunching Rosetta as a member of the Whirlpool BOINC Teams
ID: 47742 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Michael G.R.

Send message
Joined: 11 Nov 05
Posts: 264
Credit: 11,247,510
RAC: 0
Message 47743 - Posted: 15 Oct 2007, 2:50:35 UTC

I know everybody's busy and these things take a long time to code, but if the science that Rosetta does is so important, wouldn't speeding things up from now on by x% be very important?

I'm sure this has been considered and that the Rosetta team has looked at the opportunity cost, but maybe there's a third way; maybe it's possible to make a public call for optimizations experts or whatever and try to get this done without taking time away from the people who work on the science code. I'm sure there's a coder out there who would love to add this challenge to his/her portfolio.

I guess it depends on whether what is needed is just a good programmer or someone who also understand the protein science too...

In any case, I certainly would love to see more of the potential of modern CPUs being used by this awesome project. Making better predictions and finding cures faster seems like it's worth the effort.
ID: 47743 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Jmarks
Avatar

Send message
Joined: 16 Jul 07
Posts: 132
Credit: 98,025
RAC: 0
Message 47757 - Posted: 15 Oct 2007, 12:18:56 UTC - in response to Message 47743.  

I know everybody's busy and these things take a long time to code, but if the science that Rosetta does is so important, wouldn't speeding things up from now on by x% be very important?

I'm sure this has been considered and that the Rosetta team has looked at the opportunity cost, but maybe there's a third way; maybe it's possible to make a public call for optimizations experts or whatever and try to get this done without taking time away from the people who work on the science code. I'm sure there's a coder out there who would love to add this challenge to his/her portfolio.

I guess it depends on whether what is needed is just a good programmer or someone who also understand the protein science too...

In any case, I certainly would love to see more of the potential of modern CPUs being used by this awesome project. Making better predictions and finding cures faster seems like it's worth the effort.


The beta I'm on has doubled the output by using the sse instructions. I know that the intels cpus are benifiting the most by this beta so far. I think the higher fsb and cache of the newer intels is a larger facter too.
Jmarks
ID: 47757 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1829
Credit: 117,707,197
RAC: 42,018
Message 47758 - Posted: 15 Oct 2007, 12:31:26 UTC - in response to Message 47757.  

The beta I'm on has doubled the output by using the sse instructions.

what beta is that?

ID: 47758 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Jmarks
Avatar

Send message
Joined: 16 Jul 07
Posts: 132
Credit: 98,025
RAC: 0
Message 47759 - Posted: 15 Oct 2007, 13:00:24 UTC - in response to Message 47758.  

The beta I'm on has doubled the output by using the sse instructions.

what beta is that?


Folding at Home SMB Windows beta.
Jmarks
ID: 47759 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Previous · 1 · 2

Message boards : Number crunching : Rosetta CPU optimization - how ?



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