64 bit optimisation

Message boards : Number crunching : 64 bit optimisation
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Paul Shellien

Send message
Joined: 6 Sep 03
Posts: 8
Credit: 1,171,683
RAC: 0
United Kingdom
Message 102568 - Posted: 22 Apr 2005, 14:18:10 UTC

It's probably been asked a few times already, but is SETI optimised for 64 bit and if not, are they planning on doing so? Seems a logical step if most peeps have 64 bit Athlons (yes I have one) and also if Intel (boo hiss) are going 64 bit in the near future too
<img border="0" src="http://boinc.mundayweb.com/one/stats.php?userID=515&amp;prj=1&amp;trans=off" />
ID: 102568 · Report as offensive
Profile Paul D. Buck
Volunteer tester

Send message
Joined: 19 Jul 00
Posts: 3898
Credit: 1,158,042
RAC: 0
United States
Message 102670 - Posted: 22 Apr 2005, 16:37:42 UTC - in response to Message 102568.  

> It's probably been asked a few times already, but is SETI optimised for 64 bit
> and if not, are they planning on doing so? Seems a logical step if most peeps
> have 64 bit Athlons (yes I have one) and also if Intel (boo hiss) are going 64
> bit in the near future too

There is no advantage to compile any of the BOINC components with 64-bit extensions at this time. The only part that might benefit from the 64-bit CPUs and compiling to 64-bit executables would be the MySQL database.

Sorry. :)

ID: 102670 · Report as offensive
Profile Chilean
Volunteer tester
Avatar

Send message
Joined: 6 Apr 03
Posts: 498
Credit: 3,200,504
RAC: 0
Chile
Message 102720 - Posted: 22 Apr 2005, 23:29:19 UTC

Like Paul said, strangely, 64-bit processing won't do SETI faster.... cant tell you exactly why, but try usong AMD's dual-cores :)
ID: 102720 · Report as offensive
Profile MikeSW17
Volunteer tester

Send message
Joined: 3 Apr 99
Posts: 1603
Credit: 2,700,523
RAC: 0
United Kingdom
Message 102728 - Posted: 22 Apr 2005, 23:55:42 UTC

True that simply compiling the SETI app for 64 bit won't gain much, but optimizing it for AMD processors does show an improvement.

In this thread:
http://setiweb.ssl.berkeley.edu/forum_thread.php?id=13068#100676 , Ned Slider reports that AMD optimized 32bit SETI runs around 13% faster, and 64bit perhaps a further 5%.

Granted that these are under Linux, but I don't see why a similar benefit shouldn't be seen under Windows - 64bit Windows that is. Looking forward to trying it, although I've not yet seen an available version. (Is there a 64bit C compiler for Windows yet?)

Never the less, the biggest SETI speed gains available are from large L2 cache, high FSB speed and dual chanel memory.


ID: 102728 · Report as offensive
Profile Chilean
Volunteer tester
Avatar

Send message
Joined: 6 Apr 03
Posts: 498
Credit: 3,200,504
RAC: 0
Chile
Message 102755 - Posted: 23 Apr 2005, 1:19:05 UTC - in response to Message 102728.  

> True that simply compiling the SETI app for 64 bit won't gain much, but
> optimizing it for AMD processors does show an improvement.
>
> In this thread:
> http://setiweb.ssl.berkeley.edu/forum_thread.php?id=13068#100676 , Ned Slider
> reports that AMD optimized 32bit SETI runs around 13% faster, and 64bit
> perhaps a further 5%.
>
> Granted that these are under Linux, but I don't see why a similar benefit
> shouldn't be seen under Windows - 64bit Windows that is. Looking forward to
> trying it, although I've not yet seen an available version. (Is there a 64bit
> C compiler for Windows yet?)
>
> Never the less, the biggest SETI speed gains available are from large L2
> cache, high FSB speed and dual chanel memory.
>
>
>
Yup, I got the optimized version for my Linux.
ID: 102755 · Report as offensive
Ned Slider

Send message
Joined: 12 Oct 01
Posts: 668
Credit: 4,375,315
RAC: 0
United Kingdom
Message 102937 - Posted: 23 Apr 2005, 11:01:56 UTC - in response to Message 102728.  
Last modified: 23 Apr 2005, 11:02:46 UTC

>
> In this thread:
> http://setiweb.ssl.berkeley.edu/forum_thread.php?id=13068#100676 , Ned Slider
> reports that AMD optimized 32bit SETI runs around 13% faster, and 64bit
> perhaps a further 5%.
>

While the above is true (actually, we're now getting 30-35% performance increases), hardly any of this appears to be due to optimizing for AMD arcitectures. About half is from using -ffast-math and the other half from using improved fast fourier transform routines.

Chris Bosshard has more data on x86_64 than I do, and I'll certainly be working closely with him do make sure we have a fully optimized 64-bit client for seti (linux) shortly.


*** My Guide to Compiling Optimised BOINC and SETI Clients ***
*** Download Optimised BOINC and SETI Clients for Linux Here ***
ID: 102937 · Report as offensive
Ned Slider

Send message
Joined: 12 Oct 01
Posts: 668
Credit: 4,375,315
RAC: 0
United Kingdom
Message 102958 - Posted: 23 Apr 2005, 13:35:29 UTC
Last modified: 23 Apr 2005, 13:35:47 UTC

OK, I've just spoken with Chris (and Triton_b5) and we have confirmed the following:

A true 64-bit seti client running on 64-bit linux is faster than a 32-bit seti client running on the same OS.

Relative to the standard berkeley linux client, we have:

Berkeley Reference 0%
Athlon XP 32-bit +31%
AMD64 (64-bit) +39%

We don't have any data for a x86-64 seti client for AMD64 processor running on 32-bit linux. It might be the case that these extra benefits are only seen when running a 64 bit OS. Perhaps someone will be able to confirm this.

Ned


*** My Guide to Compiling Optimised BOINC and SETI Clients ***
*** Download Optimised BOINC and SETI Clients for Linux Here ***
ID: 102958 · Report as offensive
TPR_Mojo
Volunteer tester

Send message
Joined: 18 Apr 00
Posts: 323
Credit: 7,001,052
RAC: 0
United Kingdom
Message 102979 - Posted: 23 Apr 2005, 15:30:32 UTC - in response to Message 102958.  

> OK, I've just spoken with Chris (and Triton_b5) and we have confirmed the
> following:
>
> A true 64-bit seti client running on 64-bit linux is faster than a 32-bit seti
> client running on the same OS.
>
> Relative to the standard berkeley linux client, we have:
>
> Berkeley Reference 0%
> Athlon XP 32-bit +31%
> AMD64 (64-bit) +39%
>
> We don't have any data for a x86-64 seti client for AMD64 processor running on
> 32-bit linux. It might be the case that these extra benefits are only seen
> when running a 64 bit OS. Perhaps someone will be able to confirm this.
>
> Ned
>
>

Nice work Ned :)
Are you sure that it is possible to run a 64-bit client process under a 32-bit operating system? Seems to me that something there is gonna not work - or the OS itself would strangle the client.
>
ID: 102979 · Report as offensive
Ned Slider

Send message
Joined: 12 Oct 01
Posts: 668
Credit: 4,375,315
RAC: 0
United Kingdom
Message 103001 - Posted: 23 Apr 2005, 16:42:10 UTC - in response to Message 102979.  

> > OK, I've just spoken with Chris (and Triton_b5) and we have confirmed
> the
> > following:
> >
> > A true 64-bit seti client running on 64-bit linux is faster than a 32-bit
> seti
> > client running on the same OS.
> >
> > Relative to the standard berkeley linux client, we have:
> >
> > Berkeley Reference 0%
> > Athlon XP 32-bit +31%
> > AMD64 (64-bit) +39%
> >
> > We don't have any data for a x86-64 seti client for AMD64 processor
> running on
> > 32-bit linux. It might be the case that these extra benefits are only
> seen
> > when running a 64 bit OS. Perhaps someone will be able to confirm this.
> >
> > Ned
> >
> >
>
> Nice work Ned :)
> Are you sure that it is possible to run a 64-bit client process under a 32-bit
> operating system? Seems to me that something there is gonna not work - or the
> OS itself would strangle the client.
> >
>

Hi,

I guess what I meant is a seti client compiled and run on a 32-bit version of linux but using -march=k8, opteron, athlon64, or athlon-fx (ie for the x86-64 instruction set). Not everyone with a 64-bit processor is running a 64-bit OS.

Ned
*** My Guide to Compiling Optimised BOINC and SETI Clients ***
*** Download Optimised BOINC and SETI Clients for Linux Here ***
ID: 103001 · Report as offensive
Profile spacemeat
Avatar

Send message
Joined: 4 Oct 99
Posts: 239
Credit: 8,425,288
RAC: 0
United States
Message 103349 - Posted: 24 Apr 2005, 14:02:23 UTC

you got it faster with -march=athlon64? mine ended up 10x slower than with -mcpu=i686. this is with 64 bit gentoo
ID: 103349 · Report as offensive
Profile Neil Walker
Volunteer tester
Avatar

Send message
Joined: 23 May 99
Posts: 288
Credit: 18,101,056
RAC: 0
United Kingdom
Message 103355 - Posted: 24 Apr 2005, 15:06:40 UTC - in response to Message 103349.  

> you got it faster with -march=athlon64? mine ended up 10x slower than with
> -mcpu=i686. this is with 64 bit gentoo

-march=k8 is the recommended setting for Gentoo, afaik. Anyway, in 2 days I'll be setting up 64-bit Gentoo on an AMD64 4000 so I'll be able to experiment. ;)


Be lucky

Neil



ID: 103355 · Report as offensive
Profile Neil Walker
Volunteer tester
Avatar

Send message
Joined: 23 May 99
Posts: 288
Credit: 18,101,056
RAC: 0
United Kingdom
Message 103356 - Posted: 24 Apr 2005, 15:21:16 UTC - in response to Message 103349.  
Last modified: 24 Apr 2005, 15:26:14 UTC

> you got it faster with -march=athlon64? mine ended up 10x slower than with
> -mcpu=i686. this is with 64 bit gentoo

I just did a bit of Googling and came across this page. You might want to give it a try. ;)



Be lucky

Neil



ID: 103356 · Report as offensive

Message boards : Number crunching : 64 bit optimisation


 
©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.