How to develop an optimized application?

Message boards : Number crunching : How to develop an optimized application?
Message board moderation

To post messages, you must log in.

AuthorMessage
HTH
Volunteer tester

Send message
Joined: 8 Jul 00
Posts: 691
Credit: 909,237
RAC: 0
Finland
Message 799859 - Posted: 19 Aug 2008, 8:56:05 UTC
Last modified: 19 Aug 2008, 8:56:54 UTC

Hi!

I didn't find a guide how to develop optimized SETI@home applications. Are there any?

Are there free compilers? Are they good enough to optimize? I have 64-bit Windows Vista.

How should one test optimized application? Where to get a test workunit?

Please, can you help with this? Kiitos!

Henri.

Manned mission to Mars in 2019 Petition <-- Sign this, please.
ID: 799859 · Report as offensive
Profile Mike Special Project $75 donor
Volunteer tester
Avatar

Send message
Joined: 17 Feb 01
Posts: 34258
Credit: 79,922,639
RAC: 80
Germany
Message 799885 - Posted: 19 Aug 2008, 10:59:34 UTC

First of all you have to make the source code public.
So far that i´m concerned no freeware compiler is worth a try.
All optimized apps are made with Intel and or Microsoft compilers.
There are trial versions available for download.

You should be aware that a lot of brilliant people was working on it.
Maybe a good thing to get in contact with one of the actual optimizers.
JD Whale, Alex Khan and so on.

regards Mike



With each crime and every kindness we birth our future.
ID: 799885 · Report as offensive
Tom Philippart

Send message
Joined: 29 May 06
Posts: 23
Credit: 949,840
RAC: 0
Luxembourg
Message 800059 - Posted: 20 Aug 2008, 7:09:42 UTC - in response to Message 799885.  

Here are 2 guides (windows and linux):

http://lunatics.kwsn.net/index.php?op=Articles;article=3
http://lunatics.kwsn.net/index.php?op=Articles;article=2

The pictures in the guide won't appear unless you copy the link from the source code of the page and replace lunatics.at with the current link.


These guides however use the Intel libraries, is there any way I can use an AMD library? I always wanted to optimize SETI to windows x64 SSE4A for the Phenoms...
ID: 800059 · Report as offensive
HTH
Volunteer tester

Send message
Joined: 8 Jul 00
Posts: 691
Credit: 909,237
RAC: 0
Finland
Message 800067 - Posted: 20 Aug 2008, 9:10:47 UTC - in response to Message 799885.  

You should be aware that a lot of brilliant people was working on it.
Maybe a good thing to get in contact with one of the actual optimizers.
JD Whale, Alex Khan and so on.


Yes. It would be cool to learn these things. :)

Henri.

Manned mission to Mars in 2019 Petition <-- Sign this, please.
ID: 800067 · Report as offensive
HTH
Volunteer tester

Send message
Joined: 8 Jul 00
Posts: 691
Credit: 909,237
RAC: 0
Finland
Message 800068 - Posted: 20 Aug 2008, 9:11:52 UTC - in response to Message 800059.  

Here are 2 guides (windows and linux):

http://lunatics.kwsn.net/index.php?op=Articles;article=3
http://lunatics.kwsn.net/index.php?op=Articles;article=2

The pictures in the guide won't appear unless you copy the link from the source code of the page and replace lunatics.at with the current link.


Thanks, Tom! Looks informative.

Henri.

Manned mission to Mars in 2019 Petition <-- Sign this, please.
ID: 800068 · Report as offensive
Profile JDWhale
Volunteer tester
Avatar

Send message
Joined: 6 Apr 99
Posts: 921
Credit: 21,935,817
RAC: 3
United States
Message 800293 - Posted: 21 Aug 2008, 2:22:36 UTC - in response to Message 799859.  

Hi!

I didn't find a guide how to develop optimized SETI@home applications. Are there any?

Are there free compilers? Are they good enough to optimize? I have 64-bit Windows Vista.

How should one test optimized application? Where to get a test workunit?

Please, can you help with this? Kiitos!

Henri.



Q. How do I develop an optimized application?
A. Look at the original code and find a better way to code the algorithms (or start with the already optimized client from lunatics).

Q. Are there free compilers?
A. Yes... Intel offers 30-day evaluation of latest compilers... Just visit intel.com. But you will also require Microsoft Visual Studio(also free with 90-day evaluation) and a working knowledge of how to use it. Also, fetch an evaluation copy of Intel Performance Primitives (IPP) to use optimized FFT, Convolution, and Transpose functions.

Q. How should one test optimized application?
A. Download/run 'KnaBench' from lunatics

Q: Where to get a test workunit?
A. Included with 'KnaBench'.

Gluck,
JDWhale
ID: 800293 · Report as offensive
Josef W. Segur
Volunteer developer
Volunteer tester

Send message
Joined: 30 Oct 99
Posts: 4504
Credit: 1,414,761
RAC: 0
United States
Message 800347 - Posted: 21 Aug 2008, 5:20:54 UTC - in response to Message 800059.  

Here are 2 guides (windows and linux):

http://lunatics.kwsn.net/index.php?op=Articles;article=3
http://lunatics.kwsn.net/index.php?op=Articles;article=2

The pictures in the guide won't appear unless you copy the link from the source code of the page and replace lunatics.at with the current link.


These guides however use the Intel libraries, is there any way I can use an AMD library? I always wanted to optimize SETI to windows x64 SSE4A for the Phenoms...

As far as the libraries go, ACML has similar functions to IPP and the calls are compatible. The AK_v8 builds have also been built with the Intel compiler, which may be more of an issue. I think you'd have to work through many details to make it compile with something else, but it's certainly possible.

As far as SSE4A goes, the instructions it adds to SSE3 may not provide any great improvements. On the Intel side the SSSE3 and SSE4.1 builds are measurably faster than the SSE3 build on suitable hardware, but not by huge margins.
                                                              Joe
ID: 800347 · Report as offensive
HTH
Volunteer tester

Send message
Joined: 8 Jul 00
Posts: 691
Credit: 909,237
RAC: 0
Finland
Message 800361 - Posted: 21 Aug 2008, 6:48:10 UTC
Last modified: 21 Aug 2008, 6:48:21 UTC

Thank you, friends!

HTH.

Manned mission to Mars in 2019 Petition <-- Sign this, please.
ID: 800361 · Report as offensive

Message boards : Number crunching : How to develop an optimized application?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.