| View previous topic :: View next topic |
| Author |
Message |
Jim Ablett

Joined: 14 Jul 2006 Posts: 1242 Location: London, England
|
Post subject: Re: GCC 4.7.0 versus intel c++ Posted: Fri Mar 30, 2012 9:18 am |
|
|
| diep wrote: |
| Quote: |
| Quote: |
I'll try to give this a test later today to confirm it is still true, but I would be absolutely amazed if gcc beats a commercial compiler written by the company that designed the cpu itself...
BTW I don't see anything like 50%. Maybe 10%. But 10% is still 10%... |
Make sure to use latest link-time optimizations >
| Code: |
| -Ofast -flto -fwhole-program -fprofile-generate / -fprofile-use |
Jim. |
I tested it carefully at a 8 core2 xeon box processors: L5420 @ 2.5Ghz
Note i have a tad older intel c++ here 11.0.0.something.
I did use pgo of course in both cases and had intel c++ produce a generic executable that works both on my AMD hardware as well as on intel core2.
When running at 8 cores the difference is at least 6.6% in favour of intel c++ over GCC 4.7.0 for Diep in 32 bits.
I redid measurements several times and of course things depend upon plydepth. At most plydepths it's a tad above 7%. Bestcase i could get is to 6.6%.
Now this is a big improvement over what it was. Major league i'd say.
If you wonder why i ran 32 bits - that's because i had put in a random DVD to install linux. But with just 2 GB in most machines of RAM and in just 1 or 2 i have 4 GB ram, that's not really an issue. So around 6 nodes have 2GB ram from the cluster which is 8 in total.
Now the next job is to get GCC 4.7.0 or intel c++ somehow to work for the cluster, right now i ran everything at a single node
Nowadays intel isn't spreading it for free it seems.
It's good progress of GCC to be 'only 6.6%' slower now. However in formula 1 there is a 5% rule; if you are in qualification 5% slower than the fastest car, you are not allowed to start in the race....
Vincent
p.s. considering the many options that work for you, instead of GCC figure that out itself by means of parameter tuning - it seems GCC still can get improved a lot using better parameter tuning. Modifying options with intel is simply not working - it's automatically calculating much better what works for Diep. Would that be the difference? |
Maybe you do this already, but can you try again, this time using the 'Crafty' trick of combining all files into one. This usually give me a little extra speed.
| Code: |
'Crafty.c'
---------------------------
#include "search.c"
#include "thread.c"
#include "repeat.c"
#include "next.c"
#include "killer.c"
#include "quiesce.c"
#include "evaluate.c"
#include "movgen.c"
#include "make.c"
#include "unmake.c"
#include "hash.c"
#include "attacks.c"
#include "swap.c"
#include "boolean.c"
#include "utility.c"
#include "probe.c"
#include "book.c"
-----------------------
|
Also sometimes using pgo together with flto is detrimental. Try using -flto alone.
Jim. _________________ http://jimablett.atwebpages.com/ |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 9:13 pm |
Re: Stockfish port to C# Complete |
Jan Brouwer |
Thu Mar 15, 2012 9:29 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 9:45 pm |
Re: Stockfish port to C# Complete |
Jan Brouwer |
Thu Mar 15, 2012 10:51 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 11:04 pm |
Re: Stockfish port to C# Complete |
Mel Cooper |
Mon Mar 19, 2012 12:11 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 11:08 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 2:57 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:05 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:24 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:27 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:44 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:47 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:59 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 4:11 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 4:49 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 5:00 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 5:22 pm |
Re: Stockfish port to C# Complete |
Ronald de Man |
Sun Mar 18, 2012 5:53 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 7:01 pm |
Re: Stockfish port to C# Complete |
Matthew R. Brades |
Sun Mar 18, 2012 7:06 pm |
Re: Stockfish port to C# Complete |
Ronald de Man |
Sun Mar 18, 2012 7:10 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 10:31 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 19, 2012 3:55 am |
Re: Stockfish port to C# Complete |
Marco Costalba |
Mon Mar 19, 2012 7:42 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 19, 2012 8:00 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 19, 2012 8:03 am |
Re: Stockfish port to C# Complete |
Ronald de Man |
Mon Mar 19, 2012 7:41 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Mon Mar 19, 2012 4:27 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Tue Mar 20, 2012 1:12 am |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 11:43 am |
Re: Stockfish port to C# Complete |
Gary |
Sat Mar 24, 2012 1:15 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 3:28 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 5:13 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 7:15 am |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sun Mar 25, 2012 10:40 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 9:50 am |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 25, 2012 10:14 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 3:23 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 25, 2012 5:16 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 26, 2012 9:34 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Tue Mar 27, 2012 10:23 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 9:03 am |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 11:13 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 12:39 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 12:48 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 12:54 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 1:06 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 1:08 pm |
Re: Stockfish port to C# Complete |
Robert Hyatt |
Wed Mar 28, 2012 5:01 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 5:19 pm |
GCC 4.7.0 versus intel c++ |
Vincent Diepeveen |
Fri Mar 30, 2012 12:15 am |
Re: GCC 4.7.0 versus intel c++ |
Jim Ablett |
Fri Mar 30, 2012 9:18 am |
Re: GCC 4.7.0 versus intel c++ |
Vincent Diepeveen |
Fri Mar 30, 2012 1:15 pm |
Re: Stockfish port to C# Complete |
Ricardo Barreira |
Wed Mar 28, 2012 2:46 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sun Mar 25, 2012 11:03 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 12:31 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 3:39 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 4:50 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 5:05 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 25, 2012 8:31 pm |
Re: Stockfish port to C# Complete |
Ted Wong |
Mon Mar 26, 2012 12:50 am |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 26, 2012 10:38 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Mon Mar 26, 2012 6:02 am |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 26, 2012 10:42 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 26, 2012 9:59 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Tue Mar 27, 2012 7:43 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:23 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Wed Mar 21, 2012 10:48 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 22, 2012 4:19 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Thu Mar 22, 2012 6:51 am |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 22, 2012 3:19 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Fri Mar 23, 2012 5:47 am |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 4:14 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|