Rosetta CPU optimization - how ?

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

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 278,430
RAC: 0
Message 35818 - Posted: 31 Jan 2007, 16:43:55 UTC

AFAIK Rosetta utilises SSE.

1. Which version of SSE is used ? If SSE1 only, is there any chance for SSE2/3 ?

2 How it is optimized ? Just special flag in a compiler ?

3. Which compiler is used. AFAIK ICC (known also as ICL) 9.1 is the fastest one.
ID: 35818 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
Tom Philippart
Avatar

Send message
Joined: 29 May 06
Posts: 183
Credit: 834,667
RAC: 0
Message 35820 - Posted: 31 Jan 2007, 17:44:58 UTC - in response to Message 35818.  

As far as i know rosetta doesn't use sse at all, that's why no sse2/3 optimizations for the application are being develeoped. I might be wrong though.
ID: 35820 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 278,430
RAC: 0
Message 35822 - Posted: 31 Jan 2007, 18:38:19 UTC - in response to Message 35820.  

As far as i know rosetta doesn't use sse at all, that's why no sse2/3 optimizations for the application are being develeoped. I might be wrong though.


Well, I suggest trying SSE3 ICC9.1 compilation.
ID: 35822 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
FluffyChicken
Avatar

Send message
Joined: 1 Nov 05
Posts: 1260
Credit: 369,635
RAC: 0
Message 35823 - Posted: 31 Jan 2007, 19:10:08 UTC - in response to Message 35822.  

As far as i know rosetta doesn't use sse at all, that's why no sse2/3 optimizations for the application are being develeoped. I might be wrong though.


Well, I suggest trying SSE3 ICC9.1 compilation.


We have an intel performance bloke and a couple of amd participants looking at the code.

Problem with ICC is it cost money for a license....
Another problem with SSE3 is not all CPU's use it and currently Windows does not correctly report it in the kernel (VISTA does, XP doesn't) so it is harder to flag up which computer would be able to support it.
Of course that would also require all usesrs to update to the soon to be released 5.8.x version of boinc so the instuction set is reported...

Intel Macs would be fine though, but may as well go for SSE3 then...


Team mauisun.org
ID: 35823 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 278,430
RAC: 0
Message 35829 - Posted: 31 Jan 2007, 20:23:05 UTC - in response to Message 35823.  
Last modified: 31 Jan 2007, 20:33:53 UTC

Problem with ICC is it cost money for a license....
Another problem with SSE3 is not all CPU's use it and currently Windows does not correctly report it in the kernel (VISTA does, XP doesn't) so it is harder to flag up which computer would be able to support it.


So maybe I ask someone with legal ICC9.1 to compile SSE2 version for windows ?

Where is a sourcecode of Rosetta ?

EDIT: I just realised, that Rosetta is a closed source app.
So, I hope that Rosetta developers will release optimized app.
ID: 35829 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1832
Credit: 119,677,569
RAC: 10,479
Message 35872 - Posted: 1 Feb 2007, 1:38:13 UTC - in response to Message 35829.  

Problem with ICC is it cost money for a license....
Another problem with SSE3 is not all CPU's use it and currently Windows does not correctly report it in the kernel (VISTA does, XP doesn't) so it is harder to flag up which computer would be able to support it.


So maybe I ask someone with legal ICC9.1 to compile SSE2 version for windows ?

Where is a sourcecode of Rosetta ?

EDIT: I just realised, that Rosetta is a closed source app.
So, I hope that Rosetta developers will release optimized app.

not closed source - you just need to mail the devs to get the source. It's not freely available for a number of reasons, but if you're willing to develop then you'll be able to get the code.
ID: 35872 · 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 35929 - Posted: 1 Feb 2007, 19:46:44 UTC - in response to Message 35829.  

Problem with ICC is it cost money for a license....
Another problem with SSE3 is not all CPU's use it and currently Windows does not correctly report it in the kernel (VISTA does, XP doesn't) so it is harder to flag up which computer would be able to support it.


So maybe I ask someone with legal ICC9.1 to compile SSE2 version for windows ?

Where is a sourcecode of Rosetta ?

EDIT: I just realised, that Rosetta is a closed source app.
So, I hope that Rosetta developers will release optimized app.


Rosetta is not closed source (and not truely open source) but somewhere in between. The main reason for this is to stop people altering the code or just compiling it and running it themselves and messing up the results.
Get in contact with the developers/moderators to find out how to get the source. But I assume it will be to give them feedback so they can implement it, since the code is often changed or contact Who? and/or Mats Petersson for their development info so far.

Team mauisun.org
ID: 35929 · Rating: -1 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Who?

Send message
Joined: 2 Apr 06
Posts: 213
Credit: 1,366,981
RAC: 0
Message 35988 - Posted: 2 Feb 2007, 3:51:28 UTC - in response to Message 35929.  


without saying too much about it, Intel and Rosetta are closing the license agreement, I ll be proud of accelerating it as soon as we protect properly Rosetta intellectual property.

In the mean time, we have to make sure we are fair to the entiere Rosetta users, so, I ll be proposing a code path for each architecture, and see if we can do a QA for it, a regression tool will have to be created.

I hope Matt from AMD, who has the code already will give me an hand and incluse this own best code in it.

Let's keep the race fair.


who?


ID: 35988 · 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 36045 - Posted: 3 Feb 2007, 18:59:29 UTC

I'd like to take a brief moment to once again thank all of those working on Rosetta code, including those outside "official" dev team.

Anything that can help the science is very very cool.
ID: 36045 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Tiago

Send message
Joined: 11 Jul 06
Posts: 55
Credit: 2,538,721
RAC: 0
Message 36177 - Posted: 5 Feb 2007, 23:49:40 UTC - in response to Message 35988.  


without saying too much about it, Intel and Rosetta are closing the license agreement, I ll be proud of accelerating it as soon as we protect properly Rosetta intellectual property.

In the mean time, we have to make sure we are fair to the entiere Rosetta users, so, I ll be proposing a code path for each architecture, and see if we can do a QA for it, a regression tool will have to be created.

I hope Matt from AMD, who has the code already will give me an hand and incluse this own best code in it.

Let's keep the race fair.


who?




I'm really happy to see that there are such dedicated people to this project.

Excellent work Who? and Mat!!!

ID: 36177 · 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 38062 - Posted: 20 Mar 2007, 19:50:51 UTC

Is there any news on this? I mean, on the SEE optimization & such..
ID: 38062 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Horny84

Send message
Joined: 18 Mar 07
Posts: 1
Credit: 79,755
RAC: 0
Message 38412 - Posted: 26 Mar 2007, 12:09:01 UTC - in response to Message 38062.  

nothing?
ID: 38412 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
John

Send message
Joined: 18 Mar 07
Posts: 24
Credit: 0
RAC: 0
Message 38444 - Posted: 26 Mar 2007, 20:01:32 UTC - in response to Message 35988.  

without saying too much about it, Intel and Rosetta are closing the license agreement, I ll be proud of accelerating it as soon as we protect properly Rosetta intellectual property.

In the mean time, we have to make sure we are fair to the entiere Rosetta users, so, I ll be proposing a code path for each architecture, and see if we can do a QA for it, a regression tool will have to be created.

I hope Matt from AMD, who has the code already will give me an hand and incluse this own best code in it.

Let's keep the race fair.


who?

Great! So how much should various combos of SSE/SSE2/SSE3,etc speed Rosetta up?
ID: 38444 · 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 39190 - Posted: 9 Apr 2007, 15:17:58 UTC

well, seems like this idea is dead. Too bad :(
ID: 39190 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Paydirt
Avatar

Send message
Joined: 10 Aug 06
Posts: 127
Credit: 960,607
RAC: 0
Message 39231 - Posted: 10 Apr 2007, 15:26:29 UTC - in response to Message 39190.  

It's NOT dead. These things take time.

ID: 39231 · 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 39273 - Posted: 11 Apr 2007, 17:46:19 UTC - in response to Message 39231.  

It's NOT dead. These things take time.


I know they take time, but we weren't asking for a working version, just word on whether or not it was still happening. We got nothing so far.
ID: 39273 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Paydirt
Avatar

Send message
Joined: 10 Aug 06
Posts: 127
Credit: 960,607
RAC: 0
Message 39278 - Posted: 11 Apr 2007, 19:12:19 UTC - in response to Message 39273.  

Just be patient. These people lead busy lives outside of their crunching activities. Things have been very busy at Intel and AMD. Stay positive.

ID: 39278 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 278,430
RAC: 0
Message 44842 - Posted: 9 Aug 2007, 16:18:16 UTC

There is ICC 10.0. How about compile rosetta with SSE1/SSE2 ? Favor fast code. First test version could be available on web site (not downloaded automagically), so test period will be safe.

Anything new about this topic ?
ID: 44842 · Rating: 2 · 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 44902 - Posted: 12 Aug 2007, 17:52:15 UTC
Last modified: 12 Aug 2007, 18:12:47 UTC

waiting.... for ... Rosetta will be compiled with new Intel Compiler 10.0(599$)


ID: 44902 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
Piotr Skrodzewicz

Send message
Joined: 21 Oct 06
Posts: 19
Credit: 278,430
RAC: 0
Message 44911 - Posted: 12 Aug 2007, 20:32:55 UTC - in response to Message 44902.  
Last modified: 12 Aug 2007, 20:33:22 UTC

waiting.... for ... Rosetta will be compiled with new Intel Compiler 10.0(599$)


Yes, I know, it IS expensive. But I see at least 4 solutions:

1) Buy compiler. Currently project has much funds IMHO (terabytes of transfer, giga(tera?)bytes of HD, HQ servers etc.).

Also, CONSIDER DONATIONS WITH DONOR LIST.

2) Find someone with compiler and ask for compilation.
3) Use pirated/warez version - this option is of course out of consideration
4) Ask Intel for free version. In exchange there will be LOGO of Intel and/or some text on rosetta page.

Someone could ask: is it worth cash and effort ? Heh, yes. For example SIMAP after release of a compiled version ran out of workunits - participants calculated too fast.
ID: 44911 · Rating: 1 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · Next

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



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