ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stockfish port to C# Complete
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Vincent Diepeveen



Joined: 09 Mar 2006
Posts: 1738
Location: The Netherlands

PostPost subject: Re: Stockfish port to C# Complete    Posted: Wed Mar 28, 2012 12:39 pm Reply to topic Reply with quote

Jim Ablett wrote:
Quote:
Maybe the speeddiff has halved now, making intel c++ a 20% faster now than GCC or so. Exact measurements are needed there yet not easy as intel nowadays charges big cash for its compiler!

The flto is a big bummer though. In 32 bits, where instruction sizes are a lot smaller, it's default 7% slower or so. When having linker use it, it's 2% slower.


Your experiences with Gcc 32 bit are true for me too in Windows where generally Msvc/Intel still produces faster compiles, though the gap has been reduced. In my experience this is not the case in Windows 64 bit and Linux anymore where GCC 4.6/4.7 produces equal or faster compiles when latest optimization switches are used.

Jim.


GCC is turtle slow for diep in 64 bits. Diep is alraedy suffering from the L1i in 32 bits and as you know GCC always needs more instructions to get the same thing done and that will never change of course.

So in 64 bits GCC suffers more for Diep. Doing things efficient in 64 bits in number of instructions is simply very important - GCC always has been bad there.

The only thing you speak about is an open source engine that's fast with GCC according to you. An open source engine that's hardly getting used online and not in any benchmark.

However all the other programmers here will be way faster with intel c++.

Now of course last few years intel started charging cash for its compiler and i see that the previous compiler i got for free of them it had just a 1 year license.

So that in itself means that GCC will get more popular again now some company paid some work to get GCC faster at intel hardware.

We have seen such boost of GCC before. It happened around 2004. Then in 2005 it was over and we had to wait another 7 years before any significant improvement of GCC was there, which happened the past few months/weeks. A few weeks ago when i tested, it still wasn't much good, and suffered from bugs!

You shouldn't make GCC bigger than it is. It's always the slowest compiler of course, with SF as exception. Now if we go tune with intel c++ in a professional manner, i'm sure you'll get it faster than GCC for SF as well.

If we see the genius SIMD that intel is using for specint under which sjeng, that's a level GCC will never reach of course.

Yet i guess no one is interested in doing that, which favours the open source community.

In any case it's a very positive thing that last weeks released GCC releases have speeded up a lot!

Also please note a few weeks ago when i tested a bunch of snapshots, it suffered from bugs everywhere, diep's output was not deterministic.

I'll do after i finish this job in a few days, another attempt of running gcc 4.7.0 but then in 64 bits at my 16 core AMD box.

Let's see whether it's any faster than a 7 years old compiler there...

Now hopefully it doesn't take another 7 years before the next improvements in GCC are there to get on par with visual studio / intel c++. That said realize how 'generic' the stuff of visual studio works... ...it's not rocket science you know. 1 good programmer can make the difference.

We saw that back in 2004 as well when, wasn't it at SUSE? 1 guy there got paid to improve GCC. The company had a 2nd guy also involved. So we can see it as 2 persons busy improving GCC and they speeded it up a lot back then. Same thing happened now, let's hope the guy who managed this, that he keeps getting paid to improve GCC.

Vincent
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
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
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
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




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads