benchmark much lower in linux than windows

Message boards : Number crunching : benchmark much lower in linux than windows
Message board moderation

To post messages, you must log in.

AuthorMessage
Yves Precourt

Send message
Joined: 7 Jul 99
Posts: 2
Credit: 162,339
RAC: 0
Canada
Message 84077 - Posted: 8 Mar 2005, 20:36:45 UTC

Hi, I just installed mandrake 10.1, and I run the command line version of boinc.

This machine used to run boinc_gui under windows xp before.

The benchmark under windows xp was 877.47 for fp and 2139.93 for integer.

Now under linux it's only 520.96 fp and 1096.72 integer.

Why is the linux client slower? Under windows it was using 99% cpu, and when I see the boinc process in linux it also uses about 97-98% cpu.

This is on a PIII 1GHZ.

Thanks!
ID: 84077 · Report as offensive
Profile Keck_Komputers
Volunteer tester
Avatar

Send message
Joined: 4 Jul 99
Posts: 1575
Credit: 4,152,111
RAC: 1
United States
Message 84098 - Posted: 8 Mar 2005, 21:28:27 UTC

The windows compiler was optimizing out the benchmarks. This should be fixed in 4.25.
BOINC WIKI

BOINCing since 2002/12/8
ID: 84098 · 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 84105 - Posted: 8 Mar 2005, 21:38:29 UTC - in response to Message 84077.  

> Why is the linux client slower?

There are two problems and three possible solutions. The problems:

1. The old Windows clients "cheated" at the benchmarks.
2. The Berkeley-distributed Linux clients are not properly optimised.

The possible solutions are:

1. Compile your own Boinc client. There are instructions here.
2. That same site has pre-compiled optimised clients - although only up to version 4.19 at the moment.
3. Run the Windows client in Wine.


Be lucky

Neil



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

Send message
Joined: 6 Apr 03
Posts: 498
Credit: 3,200,504
RAC: 0
Chile
Message 84106 - Posted: 8 Mar 2005, 21:40:56 UTC

I have the optimized version (Using mandrakelinux too!) and its average credit is higher than my windows after changing it. Just check my PCs
ID: 84106 · Report as offensive
Yves Precourt

Send message
Joined: 7 Jul 99
Posts: 2
Credit: 162,339
RAC: 0
Canada
Message 84253 - Posted: 9 Mar 2005, 3:08:42 UTC - in response to Message 84105.  

> > Why is the linux client slower?
>
> There are two problems and three possible solutions. The problems:
>
> 1. The old Windows clients "cheated" at the benchmarks.
> 2. The Berkeley-distributed Linux clients are not properly optimised.
>
> The possible solutions are:
>
> 1. Compile your own Boinc client. There are instructions <A> HREF="http://www.pperry.f2s.com/boinc-compile.htm"> here[/url].
> 2. That same site has pre-compiled optimised clients - although only up to
> version 4.19 at the moment.
> 3. Run the Windows client in Wine.
>
>
>

Thanks a lot! I just compiled the client and I'm now at 988 fp and 1547 integer. I will try to play with the compile options (I only tried march=pentium3 and O3), but I'm already a lot better than before.

Thanks again!
ID: 84253 · 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 84260 - Posted: 9 Mar 2005, 3:32:11 UTC - in response to Message 84253.  

> Thanks a lot!

Glad to help.

> I just compiled the client and I'm now at 988 fp and 1547
> integer. I will try to play with the compile options (I only tried
> march=pentium3 and O3), but I'm already a lot better than before.

Those plus -fomit-frame-pointer -funroll-loops -ffast-math -fforce-addr -ftracer are what work for most of us. ;)

Bear in mind, though, that this optimisation does not enable you to process WUs any faster - it just increases your (and other peoples') credit sometimes. ;)



Be lucky

Neil



ID: 84260 · Report as offensive

Message boards : Number crunching : benchmark much lower in linux than windows


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