Why such a Linux/Windows difference on the same computer

Anonymous
Topic 10812

> Hi,
>
> On my older computer with AMD Athlon 1200 and 512 MiB of memory I'm runing
> Windows XP with SP2 and Mandrake Linux 10.1. In both OSes I have BOINC 4.19
> installed and runing.
>
> The problem is that BOINC is runig a lot slower in Linux while other things
> are running at about the same speed as expected.
>
> This is the info from the BOINC benchmark:
>
> Linux:
> Measured floating point speed: 632.92 million ops/sec
> Measured integer speed: 1442.49 million ops/sec
> CPU Time: ~64000 sec
>
> Windows:
> Measured floating point speed: 1043.79 million ops/sec
> Measured integer speed: 2515.06 million ops/sec
> CPU Time: ~38500 sec
>
> I don't know about this on my AMD Athlon 64 machines as you still have not
> released any 64-bit client compiled for AMD64. But why is there such a strange
> difference on AMD Athlon 1200?

The Windows compiler is (obviously) doing a better job of code optimization. This might be fixable by tweaking some of the compiler flags used in building the Linux version of the core client.

Cheers,
Bruce

Rom Walton
Rom Walton
Joined: 29 Oct 04
Posts: 14
Credit: 36,759
RAC: 18

Why such a Linux/Windows difference on the same computer

Here is a thread that describes the differences and has an FAQ for building an optimized client.

http://setiweb.ssl.berkeley.edu//node/

----- Rom [url=http://www.romwnet.org/dasblogce]My Blog[/url]

Bernd Machenschalk
Bernd Machenschalk
Joined: 15 Oct 04
Posts: 2,684
Credit: 25,950,161
RAC: 34,820

There are quite some threads

There are quite some threads in the forums here that discuss runtimes on different architectures, clients and OS, e.g. "curious run times" and "3 Different Versions". To summarize:

- The benchmarks are technically wrong in most Windows clients. Apparently the MS compiler identifies some part of them as having no effect (well, it's a benchmark) and thus doesn't compile them at all. Should be fixed in 4.66, I've not tested it myself yet.

- Our App is definetly running faster on Windows than on Mac / Linux, probably due to the different compilers we use. We tried to narrow the gap as much as we could (see "WOW the new einstein app.4.46 is 100 % faster"), but it's still there.

- There is no 64-Bit optimized App (yet), neither for Intel nor AMD nor PPC, and this will probably stay so at least until we are public (see e.g. "Upgraded Boinc client" in Q&P).

BM

BM

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.