Stockfish v2.1 now available

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

tmokonen
Posts: 1362
Joined: Sun Mar 12, 2006 6:46 pm
Location: Kelowna
Full name: Tony Mokonen

Re: Stockfish v2.1 now available

Post by tmokonen »

What time control are you using?
Gian-Carlo Pascutto
Posts: 1260
Joined: Sat Dec 13, 2008 7:00 pm

Re: LTO support on Linux

Post by Gian-Carlo Pascutto »

bob wrote:
Gian-Carlo Pascutto wrote:I'm using GCC 4.6. The speed gain from LTO is bigger than the last few years of GCC development combined, so it's worth verifying whether Stockfish triggers any bugs there or not.
Is this somehow supposed to be better than "one big compile?" I've always had a bunch of modules, and then for max speed, I have a crafty.c file that just #includes every source file, in what I consider the most cache-friendly order...
No, except for 2 things:

a) if you have an up-to-date binutils, then using -lfto automatically implies the benefits of -fwhole-program because the linker can detect when that is useful. Of course you can use the latter flag in your Makefile, too.

b) LTO can actually parallelize the compile with -flto=x, whereas including everything in a single .c should prevent you from using >1 cpu.
Dokterchen
Posts: 137
Joined: Wed Aug 15, 2007 12:18 pm
Location: Munich

Re: Stockfish v2.1 now available

Post by Dokterchen »

Will a new book also be available?

Torsten
ernest
Posts: 2053
Joined: Wed Mar 08, 2006 8:30 pm

Re: Stockfish v2.1 now available

Post by ernest »

poisonedpawn wrote:is it just me or is anybody else seeing many losses on time with this release??
In Fritz 11 GUI, I got 2 losses on time (in a match of 300 games) with SF-2.1 64-bit
TC was 2'+1" (no ponder)