New Djinn 0.971 (time management fix)

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

Moderators: hgm, Rebel, chrisw

Tom Likens
Posts: 303
Joined: Sat Apr 28, 2012 6:18 pm
Location: Austin, TX

New Djinn 0.971 (time management fix)

Post by Tom Likens »

I uploaded a new version of Djinn, which should do a better job of managing its time. I ran thousands of games using the Fischer time controls of 1"+0.1" and 1"+0.5" without any time losses. I also enhanced the time management algorithms for the more traditional time control of 'X' moves/'Y' minutes, also without any time losses.

http://webpages.charter.net/tlikens/index.html

Anyway, I think the new time algorithms add a few elo (5-10) but nothing spectacular. From the change log:

Code: Select all

 03-NOV-2012 (Ver. 0.971)
 ------------------------
 I  o Modified the way the configuration file is parsed.  It now accepts
      path names that contain spaces.  The path names can be enclosed in
      double quotes or not.  Either way of defining the path should work.
      This should make things work better under Windows.

 28-OCT-2012
 -----------
 S  o Restructured and enhanced the time managment code so that it 
      handles millisecond resolution time controls.
If you try it and you do see time failures, please let me know. I'd like to squash all such bugs once and for all if possible. I uploaded a 64-bit version for both Windows and Linux. I'll release the 32-bit Windows version this weekend.

regards,
--tom
User avatar
Werner
Posts: 2872
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: New Djinn 0.971 (time management fix)

Post by Werner »

Thanks Tom,
in a short test I saw the engine is much faster too, see here:

FEN: r2r2k1/5p1p/4p1p1/b1p1P2q/P1Bp1P2/1P4P1/R1P3QP/5RK1 w - - 3 26

Djinn 0.971 x64:

20 ... 00:29 ... 45.578.827 ... 1.609.990 +1,10 26. Qf3 Qh6 27. Kg2H Qf8H 28. h4H h5H 29. Raa1H Qe7H 30. Rh1H Bc3H 31. Raf1H Kf8H 32. Qe4H Ra7H 33. Bb5H Rc8H 34. Rb1 <HT>


Djinn 0.969 x64:

20 ... 01:06 ... 95.020.260 ... 1.428.876 +1,11 26. Qf3 Qh6 27. h4H Qg7H 28. Kg2H h5H 29. Raa1H Qf8H 30. Qb7H Rdb8H 31. Qc6H Qe7H 32. Bb5H Rd8H 33. Qe4H Ra7 <HT>


Did you change more than time management - there must be something different in the search, see here e.g.:

FEN: 2qr1r1k/6p1/2p1pn2/RpP1p2p/1P1bP3/RQ3PNP/6P1/4BK2 w - - 0 35

Djinn 0.971:

20 ... 00:11 ... 17.759.391 ... 1.749.693 +1,47 35. Ra8 Qxa8
21 ... 00:12 ... 19.239.903 ... 1.760.283 +1,47 -- 35. Ra8 Qxa8
21 01:33 164.144.457 1.788.650 +1,47 35. Ra7 h4 <HT>
22 01:46 183.482.051 1.745.121 +1,47 ++ 35. Ra7 h4 <HT>
22 02:09 220.624.934 1.723.901 +1,47 35. Ra7 h4
23 02:17 232.930.112 1.706.947 +1,47 -- 35. Ra7 h4

Djinn 0.969:

19 ... 00:11 ... 20.059.380 ... 1.751.910 +1,22 35. Ra8 Qxa8 36. Rxa8H Rxa8H 37. Qxe6H Ra1H 38. Ne2H Nxe4H 39. Nxd4H Ng3+H 40. Kf2H Nh1+H 41. Kg1H Rxe1+H 42. Kh2H Nf2H 43. Qe7H Ra8H 44. Nxc6H e4H 45. Qe5H Rh1+H 46. Kg3 <HT>
20 02:23 197.822.516 1.382.021 +1,47 ++ 35. Ra7
Werner
Tom Likens
Posts: 303
Joined: Sat Apr 28, 2012 6:18 pm
Location: Austin, TX

Re: New Djinn 0.971 (time management fix)

Post by Tom Likens »

Hello Werner,

I recompiled it! :?

I finally got MingW PGO to work correctly under Windows so perhaps
that is the difference. This compile seems faster to me as well.

regards,
--tom
Tom Likens
Posts: 303
Joined: Sat Apr 28, 2012 6:18 pm
Location: Austin, TX

Re: New Djinn 0.971 (time management fix)

Post by Tom Likens »

Tom, I have almost finished testing v0.969 for the CCRL, and, as error margins are bound to overlap anyway, I have decided to skip this version and wait for something spectacular'. Not that +120 Elos is not spectacular enough for me...

Cheers,
George,

No worries, this update is definitely NOT 120+ elo (maybe 5 or so). You should be fine
with the old version as long as you're not trying to run really fast time controls. I'll let
you know when I have something really "spectacular"! :)

regards,
--tom
Tom Likens
Posts: 303
Joined: Sat Apr 28, 2012 6:18 pm
Location: Austin, TX

Re: New Djinn 0.971 (time management fix)

Post by Tom Likens »

SzG wrote: Please send the notice to me, not George. We are not on speaking terms lately.
Oops, sorry Gabor my finger slipped. It's unfortunate that you and George aren't
speaking these days. Hopefully, you'll patch it up soon. Life really is too short.

best,
--tom
User avatar
geots
Posts: 4790
Joined: Sat Mar 11, 2006 12:42 am

Re: New Djinn 0.971 (time management fix)

Post by geots »

Tom Likens wrote:
SzG wrote: Please send the notice to me, not George. We are not on speaking terms lately.
Oops, sorry Gabor my finger slipped. It's unfortunate that you and George aren't
speaking these days. Hopefully, you'll patch it up soon. Life really is too short.

best,
--tom


Tom, I have no idea what Gabor is talking about, unless he assumes that because of some past issues with CCRL- I held something ag. him, which I don't. I challenge anyone to find a thread where we even had an argument. I admit we haven't talked lately, but that is probably natural because we don't have CCRL in common any longer.

Now whether or not he holds something ag. me, that would be another question. I have always liked and respected him. His comment sort of floored me. I really don't know how to answer it.


gts
User avatar
geots
Posts: 4790
Joined: Sat Mar 11, 2006 12:42 am

Re: New Djinn 0.971 (time management fix)

Post by geots »

SzG wrote:
geots wrote:
Tom Likens wrote:
SzG wrote: Please send the notice to me, not George. We are not on speaking terms lately.
Oops, sorry Gabor my finger slipped. It's unfortunate that you and George aren't
speaking these days. Hopefully, you'll patch it up soon. Life really is too short.

best,
--tom


Tom, I have no idea what Gabor is talking about, unless he assumes that because of some past issues with CCRL- I held something ag. him, which I don't. I challenge anyone to find a thread where we even had an argument. I admit we haven't talked lately, but that is probably natural because we don't have CCRL in common any longer.

Now whether or not he holds something ag. me, that would be another question. I have always liked and respected him. His comment sort of floored me. I really don't know how to answer it.


gts
George,

It seems to me you haven't noticed that till now there hasn't been any George in this thread... how could I know what George Tom was talking to?
I assure you, I don't know of any issue to give me a reason to hold something against you.

Best wishes,
Gábor



It was only that he and I had just been talking about his engine when these threads came up. I assumed he typed "George" by accident, and that he was referring to me when he said he hoped we would patch things up. If there is another "George" that you are not on speaking terms with, it looks like I owe you an apology. And since I have known you to always be truthful, please accept my apology.


Best,

george
User avatar
geots
Posts: 4790
Joined: Sat Mar 11, 2006 12:42 am

Re: New Djinn 0.971 (time management fix)

Post by geots »

No, stay with your wit. You wouldn't be "you" without it. I should have caught that myself- seeing as we have never even argued about anything. My fault.


Best,

george
User avatar
geots
Posts: 4790
Joined: Sat Mar 11, 2006 12:42 am

Re: New Djinn 0.971 (time management fix)

Post by geots »

geots wrote:No, stay with your wit. You wouldn't be "you" without it. I should have caught that myself- seeing as we have never even argued about anything. My fault.


Best,

george



BTW, if I needed some emergency help testing- but the results had to be extremely, extremely accurate- you would be at the top of a very short list.



Best,

gts
Tom Likens
Posts: 303
Joined: Sat Apr 28, 2012 6:18 pm
Location: Austin, TX

Re: New Djinn 0.971 (time management fix)

Post by Tom Likens »

geots wrote: It was only that he and I had just been talking about his engine when these threads came up. I assumed he typed "George" by accident, and that he was referring to me when he said he hoped we would patch things up. If there is another "George" that you are not on speaking terms with, it looks like I owe you an apology. And since I have known you to always be truthful, please accept my apology.

Best,

george
Gabor/George,

Yes, I assumed you were talking about "George Speight" because as he mentioned
we've been corresponding lately. BTW, Gabor please don't change your clever witticisms.
They're the type of things that make this forum unique and enjoyable. As for me, I'll try
to pay more attention to who I address things to. :wink:

regards,
--tom