Stockfish v2.1 now available

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

Moderators: hgm, chrisw, Rebel

User avatar
Jim Ablett
Posts: 1771
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Stockfish v2.1 now available

Post by Jim Ablett »

Image

This is Stockfish 2.1, available from Stockfish site:

Windows/Linux/Android compiles.

http://www.stockfishchess.com/

& Jim's site:

http://jimablett.hostwebs.com/


Diff stats from 2.0.1 says:

54 files changed, 4138 insertions(+), 5656 deletions(-)

So more then 1500 lines of code removed for this release.

In this release a new skill level facility has been introduced.
Stockfish can be set to skill level 20 (default) to play at maximum
strength or, through setting "Skill Level" UCI option, can be lowered
until 0 when should be beatable even by weak players. Implementation
of skill levels has been developed around an idea from Heinz van
Saanen and is time control and CPU speed independent: you can set
skill level at 4 and SF will play with the same strength both on a
cell phone at 1' per game or on a super QUAD machine at 120'+30" TC.

Also of note, "seldepth" UCI info is now correctly implemented and
maximum number of threads has been raised from 16 to 32.

For people compiling themselves, stockfish 2.1 signature is 6487630.
It means that running from command line 'stockfish bench' you should
get at the end 6487630 searched nodes. If this not happens please
report back, it means SF is miscompiled.

We would like to thank Heinz, Onno, Justin, BB+ and Fruity for their
contributions in ideas and useful suggestions, and of course, a big
thank you to Jim for its usual kind help.

Have fun
Stockfish Team
mhalstern
Posts: 484
Joined: Wed Nov 18, 2009 1:09 am

Re: Stockfish v2.1 now available

Post by mhalstern »

Tord, Marco, Joona, Jim


Thanks as always.

Does this version have an expected elo release over 2.0, or is it just to add the new strength limiting features?
gerold
Posts: 10121
Joined: Thu Mar 09, 2006 12:57 am
Location: van buren,missouri

Re: Stockfish v2.1 now available

Post by gerold »

Thanks for posting it Jim. Thanks to SF team.

Best,
Gerold.
wims
Posts: 54
Joined: Sun Dec 19, 2010 6:49 pm

Re: Stockfish v2.1 now available

Post by wims »

Awesome, thanks!
User avatar
Graham Banks
Posts: 42765
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Stockfish v2.1 now available

Post by Graham Banks »

mhalstern wrote:Tord, Marco, Joona, Jim


Thanks as always.
+1
gbanksnz at gmail.com
Joerg Oster
Posts: 951
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany
Full name: Jörg Oster

Re: Stockfish v2.1 now available

Post by Joerg Oster »

+2 :D
Gian-Carlo Pascutto
Posts: 1260
Joined: Sat Dec 13, 2008 7:00 pm

LTO support on Linux

Post by Gian-Carlo Pascutto »

Is it possible to add LTO support in the Linux Makefiles? This should give a good speed boost with GCC 4.5+ on Linux.

When I attempted to add this myself, I ran into an issue that it didn't work combined with profiling. If this is a GCC issue and not me messing up, it should be reported to the GCC devs.
rbarreira
Posts: 900
Joined: Tue Apr 27, 2010 3:48 pm

Re: Stockfish v2.1 now available

Post by rbarreira »

Jim Ablett wrote: 54 files changed, 4138 insertions(+), 5656 deletions(-)

So more then 1500 lines of code removed for this release.
Amazing... Is this mostly code simplification, or is it a lot of outright removal of features which don't increase ELO?
wims
Posts: 54
Joined: Sun Dec 19, 2010 6:49 pm

Re: Stockfish v2.1 now available

Post by wims »

What about expected rating changes? Is this version any stronger than 2.01, or is it non performance related changes mostly?
mcostalba
Posts: 2684
Joined: Sat Jun 14, 2008 9:17 pm

Re: LTO support on Linux

Post by mcostalba »

Gian-Carlo Pascutto wrote:Is it possible to add LTO support in the Linux Makefiles? This should give a good speed boost with GCC 4.5+ on Linux.

When I attempted to add this myself, I ran into an issue that it didn't work combined with profiling. If this is a GCC issue and not me messing up, it should be reported to the GCC devs.
It is known that LTO support in gcc is still unstable until GCC 4.6 (http://gcc.gnu.org/gcc-4.6/changes.html) :

"A large number of bugs were fixed. GCC itself, Mozilla Firefox and other large applications can be built with LTO enabled."

That's the reason is not supported in the Makefile, but admittely I have not tested it. I have just read that is still somewhat experimental until 4.6 and I have just abandoned the idea to add support for LTO in the Makefile.