Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Slow EGTBs - test position

Author: Dann Corbit

Date: 12:54:17 01/16/03

Go up one level in this thread


On January 16, 2003 at 15:52:39, Dann Corbit wrote:

>On January 16, 2003 at 15:37:07, David Rasmussen wrote:
>
>>[D]8/4n3/1k6/1p4p1/1P4P1/1K6/3B4/8 w - - 0 1
>>
>>In a position such as this, this is Chezzz _without_ EGTBs:
>>
>>I'm thinking...
>>time         nodes depth    score  pv
>>00:00:00.19  146kn 09/12/14 +1.125 1. Bxg5 Ng6 2. Bf6 Kc6
>>                                   3. Kc3 Kd5 4. Kd2 Ke4
>>                                   5. Ke2 (146312)
>>00:00:00.25  191kn 09/14/15 ---------------------------------------------------
>>00:00:00.41  296kn 10/14/15 +1.085 1. Bxg5 Ng6 2. Bf6 Kc6
>>                                   3. Kc3 Kd5 4. Kd3 Ke6
>>                                   5. Bd4 Ne5+ 6. Bxe5 Kxe5 (296663)
>>00:00:00.55  391kn 10/15/16 ---------------------------------------------------
>>00:00:00.67  491kn 11/16/17 +1.085 1. Bxg5 Ng6 2. Bf6 Kc6
>>                                   3. Kc3 Kd5 4. Kd3 Ke6
>>                                   5. Bd4 Ne5+ 6. Bxe5 Kxe5 (491020)
>>00:00:00.91  677kn 11/17/18 ---------------------------------------------------
>>00:00:01.53 1150kn 12/17/19 +1.130 1. Bxg5 Ng6 2. Kc3 Ne5
>>                                   3. Bd8+ Kc6 4. g5 Kd5
>>                                   5. Bc7 Ng6 6. Kd3 Ke6
>>                                   7. Ke4 (1150376)
>>00:00:01.83 1393kn 12/18/19 ---------------------------------------------------
>>00:00:03.63 2787kn 13/20/21 +1.075 1. Bxg5 Nd5 2. Bd2 Kc6
>>                                   3. Kc2 Kd6 4. Kd3 Ke5
>>                                   5. g5 Ne7 6. Bc3+ Kd5
>>                                   7. Bd4 Ng6 (2787724)
>>00:00:04.49 3467kn 13/20/23 ---------------------------------------------------
>>00:00:06.83 5239kn 14/20/22 +1.040 1. Bxg5 Nd5 2. Bd2 Kc6
>>                                   3. Kc2 Kd6 4. Kd3 Ke5
>>                                   5. g5 Kf5 6. Kd4 Nc7
>>                                   7. Kc3 Ke4 (5239484)
>>00:00:07.85 6053kn 14/22/23 ---------------------------------------------------
>>00:00:15.24   11Mn 15/22/24 +0.855 1. Bxg5 Nd5 2. Bd2 Kc6
>>                                   3. Ka3 Kd6 4. Bg5 Kd7
>>                                   5. Kb3 Ke6 6. Bd8 Ke5
>>                                   7. g5 Kf5 8. Ka3 (11513787)
>>00:00:18.97   13Mn 15/23/25 ---------------------------------------------------
>>00:00:28.80   20Mn 16/24/27   1/11 1. Bxg5
>>
>>        Time used: 00:00:30.00
>>        nps: 718426     nodes: 21559976 Q-nodes: 707976 (3%)
>>        move order: 94%
>>        hash probes: 8770930    hash hits: 5045831 (57%)        hash usage: 99%
>>        pawn hash probes: 9470211       pawn hash hits: 9469820 (99%)
>>        EGTB probes: 0
>>1. Bxg5
>>
>>This is Chezzz _with_ EGTBs:
>>
>>time         nodes depth    score  pv
>>00:00:00.22  139kn 09/12/14 +1.125 1. Bxg5 Ng6 2. Bf6 Kc6
>>                                   3. Kc3 Kd5 4. Kd2 Ke4
>>                                   5. Ke2 (139961)
>>00:00:00.29  184kn 09/14/15 ---------------------------------------------------
>>00:00:00.45  284kn 10/14/15 +1.085 1. Bxg5 Ng6 2. Bf6 Kc6
>>                                   3. Kc3 Kd5 4. Kd3 Ke6
>>                                   5. Bd4 Ne5+ 6. Bxe5 Kxe5 (284263)
>>00:00:00.58  370kn 10/15/17 ---------------------------------------------------
>>00:00:00.73  472kn 11/15/16 +1.085 1. Bxg5 Ng6 2. Bf6 Kc6
>>                                   3. Kc3 Kd5 4. Kd3 Ke6
>>                                   5. Bd4 Ne5+ 6. Bxe5 Kxe5 (472265)
>>00:00:01.00  650kn 11/17/19 ---------------------------------------------------
>>00:00:01.42  920kn 12/18/19 +1.130 1. Bxg5 Ng6 2. Kc3 Ne5
>>                                   3. Bd8+ Kc6 4. g5 Kd5
>>                                   5. Bc7 Ng6 6. Kd3 Ke6
>>                                   7. Ke4 (920316)
>>00:00:01.75 1149kn 12/18/19 ---------------------------------------------------
>>00:00:03.48 2310kn 13/20/21 +1.075 1. Bxg5 Nd5 2. Bd2 Kc6
>>                                   3. Kc2 Kd6 4. Kd3 Ke5
>>                                   5. g5 Ne7 6. Be3 Ng6
>>                                   7. Bd4+ Kd5 (2310354)
>>00:00:04.45 2971kn 13/20/21 ---------------------------------------------------
>>00:00:12.04 4334kn 14/20/23 +1.040 1. Bxg5 Nd5 2. Bd2 Kc6
>>                                   3. Kc2 Kd6 4. Kd3 Ke5
>>                                   5. g5 Kf5 6. Kd4 Nc7
>>                                   7. Kc3 Ke4 (4334933)
>>00:00:17.61 5058kn 14/21/23 ---------------------------------------------------
>>00:00:22.70 6143kn 15/20/22   1/11 1. Bxg5
>>
>>        Time used: 00:00:30.00
>>        nps: 234538     nodes: 7038510  Q-nodes: 196510 (2%)
>>        move order: 95%
>>        hash probes: 3162813    hash hits: 2220367 (70%)        hash usage: 87%
>>        pawn hash probes: 2866265       pawn hash hits: 2865984 (99%)
>>        EGTB probes: 25055
>>1. Bxg5
>>
>>That is quite a speed drop. What I don't understand is that during this search,
>>the disk is working like crazy. I only probe in the first 2 plys. There is 11
>>legal moves in the position, so that's roughly 100 positions. That can't take
>>that much activity to probe. And then I only probe within the iteration depth,
>>and only then if there have been a capture or a promotion, and only if the
>>number of pieces on the board is small enough (<= 5 for 3-5 man tables). In this
>>position, there is of course a capture now and then, and a promotion sometimes
>>too. But why this constant disk access? It really feels to me as if it's the
>>disk I/O that's killing me, and not because I have a slow disk, but because
>>there is far too much disk activity for some reason. And the reason isn't that I
>>probe too often due to a bug, because my probe numbers are like everybody elses.
>>
>>You can see that I get about 25000 probes on a 30 second think on an Athlon XP
>>1800+. How much do you get?
>>
>>/David
>
>Beowulf output:
>Position 1 - White to play
>--------------------------
>ID =
>FEN = 8/4n3/1k6/1p4p1/1P4P1/1K6/3B4/8 w - -
>
>. . . . . . . .
>. . . . n . . .
>. k . . . . . .
>. p . . . . p .
>. P . . . . P .
>. K . . . . . .
>. . . B . . . .
>. . . . . . . .
>
>Current Position = 0.52
>Number of Possible Moves = 11
>
> 11    236      75     143184   Bxg5 Ng6 Kc3 Ne5 Be3+ Kc6 g5 Kd7 Kd4 Ke6 g6
> 12    231     178     352812   Bxg5 Ng6 Kc3 Ne5 Be3+ Kc6 g5 Kd5 Bd4 Nf3 g6 Kd6
> 13    219     266     528614   Bxg5 Ng6 Kc3 Ne5 Bd8+ Kc6 g5 Kd7 Bf6 Ng4 Kd3 Ke6
>Bd8 Kf5
> 14    213     606    1216211   Bxg5 Nd5 Bd2 Kc6 g5 Ne7 Kc3 Kd5 Kd3 Ke5 Be1
> 15    213    1009    1942140   Bxg5 Nd5 Bd2 Kc6 g5 Ne7 Bc3 Kd5 Bf6 Ng6 Kc2 Ke4
>Bd8 Ke5 Bf6+ Ke4 &rep.
> 16    214    1759    3325204   Bxg5 Nd5 Bc1 Kc6 Kc2 Nxb4+ Kb3 Nd3 Bd2 Kd5 Kc3
>Ne5 Kb3
> 17    214    3000    5733741   Bxg5 Nd5 Bc1 Kc6 g5 Ne7 Kc2 Kd5 Kd3 Ke5 Bd2 Nd5
>Be1 Ne7
>
>Search Time : 30.00 Seconds
>Total Nodes Searched   : 5733741  (52.3% Qui)
>Total Nodes Evaluated  : 2998609
>Cuts       : Delta     1508  : SEE       18270  : Mate          0
>           : Razor   202628  : Eval    1107291
>Extensions : Check   151560  : OneRep       45  : CMThreat   8317
>           : Pawn     42183  : Recap      2342  : RevCheck   4278
>Hash Stores (Size) : 582291  (699037)
>Hash Probes (Hits) : 5384740  (3263270)
>EGTB Probes (Hits) : 46423  (46423)
>Move Ordering      : 81.9%
>Best Move = Bxg5
>Move Score = 214
>--Answer: Bxg5    ** Correct **
>Time To Solution = 0.00 sec
>Correct So Far : 1/1
>
>
>Test Completed.
>Results;
>Correct : 1/1
>Average Time To Solution = 0.00 sec
>[1]W >

Same thing with EGTB turned off:

Position 1 - White to play
--------------------------
ID =
FEN = 8/4n3/1k6/1p4p1/1P4P1/1K6/3B4/8 w - -

. . . . . . . .
. . . . n . . .
. k . . . . . .
. p . . . . p .
. P . . . . P .
. K . . . . . .
. . . B . . . .
. . . . . . . .

Current Position = 0.52
Number of Possible Moves = 11

 11    236      68     145925   Bxg5 Ng6 Kc3 Ne5 Be3+ Kc6 g5 Kd7 Kd4 Ke6 g6
 12    219     106     229472   Bxg5 Ng6 Kc3 Ne5 Bd8+ Kc6 g5 Kd7 Bf6 Ke6 Bd8 Ng6
Kd4
 13    218     178     396062   Bxg5 Ng6 Kc3 Ne5 Bd8+ Kc6 g5 Kd7 Bb6 Ke6 Kd4 Nc4
Bd8 Nd6
 14    211     336     771335   Bxg5 Ng6 Kc3 Ne5 Bd8+ Kc6 g5 Kd5 Bf6 Ng6 Kd3
Ne5+ Kc2 Ke6 Kd2 Nf7 Ke3
 15    211     621    1421370   Bxg5 Ng6 Kc3 Ne5 Bd8+ Kc6 g5 Kd5 Bf6 Ng6 Kd3
Ne5+ Kc2 Ke6 Kd2 Nf7 Ke3
 16    207    1947    4503141   Bxg5 Nd5 Bd2 Kc6 g5 Ne7 Kc2 Kd5 Kc3 Ke5 Kb3 Nc6
Be3 Kf5 Bf4
 17    207    3000    6998206   Bxg5 Nd5 Bd2 Kc6 g5 Kd7 Kc2 Ke6 Kd3 Kf5 Kd4 Nxb4
Kc5 Na2 Kxb5 Nc3+ Kc4 Ne4

Search Time : 30.00 Seconds
Total Nodes Searched   : 6998206  (53.9% Qui)
Total Nodes Evaluated  : 3765466
Cuts       : Delta     1878  : SEE       24636  : Mate          0
           : Razor   292648  : Eval    1481897
Extensions : Check   181048  : OneRep       96  : CMThreat      0
           : Pawn     71075  : Recap      3354  : RevCheck   7484
Hash Stores (Size) : 742253  (699037)
Hash Probes (Hits) : 6474752  (3664648)
EGTB Probes (Hits) : 0  (0)
Move Ordering      : 81.9%
Best Move = Bxg5
Move Score = 207
--Answer: Bxg5    ** Correct **
Time To Solution = 0.00 sec
Correct So Far : 1/1


Test Completed.
Results;
Correct : 1/1
Average Time To Solution = 0.00 sec



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.