ProDeo
Would you like to react to this message? Create an account in a few clicks or log in to continue.
ProDeo

Computer Chess
 
HomeHome  CalendarCalendar  Latest imagesLatest images  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  

Post new topic   Reply to topic
 

 Micro bugfix

Go down 
2 posters
AuthorMessage
Eelco

Eelco


Posts : 212
Join date : 2021-10-08

Micro bugfix Empty
PostSubject: Micro bugfix   Micro bugfix EmptySat Sep 03, 2022 12:44 am

Ed, small, single line, change for Rebel: I have not really tested the change in plain Rebel but I think the line is bad. It seems to be some micro optimization; if you reach a mate score jump out of aspiration search because Mate will win (probably true) especially if the game is adjudicated, and spending more time might be flag.

But it seems to break any Mate search, strange that nobody seems to have noted ever.

It's line 440-441 in search.cpp

Code:

// Aspiration windows
        
     // break on mate value
     if (value_is_mate(SearchBest[ThreadId]->value)) break;

Maybe this alone does not make much difference but other changes I have made in search.cpp are not tested much yet.

Here some Rebel 15.1 MOD results with Norm Pollock's double Mate in six position, the White to move version. Rebel 14.1 MOD had no problems, I don't think Rebel 14.1 without modifications has either.

Code:

2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 15.1 MOD-014A (512 MB)
gemaakt door Fabien Letouzey, Thomas Gaksch, Jerry D

31/53  0:01   +13.49++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (816.594) 680

32/70  0:05   +13.65++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (4.909.288) 924

33/70  0:05   +13.81++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (5.275.904) 929

34/70  0:06   +13.97++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (5.700.029) 933

35/70  0:16   +14.13++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kf8 (16.583.676) 986

36/84  0:37   +14.29++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Kc8 10.Dxe6+ Kc7
                       11.Dxd5 c1D 12.Dc4+ Dxc4 13.bxc4 Kd7
                       14.Kf7 (39.355.764) 1050

37/84  1:08   +14.45++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Ka5 12.Dd7 c1T 13.Dxe6 Tc6
                       14.Ke7 (72.944.038) 1072

38/86  2:13   +14.61++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Kc8 10.Dxe6+ Kc7
                       11.Dxd5 c1D 12.Dc4+ Dxc4 13.bxc4 Kd7
                       14.Kf7 (147.260.940) 1104

39/96  6:21   +14.77++ 1.Txf7+ Ke8 2.Kf6 Ta8 3.a4 Ta7
                       4.Txa7 c2 5.Kxe6 Kd8 6.Td7+ Ke8 7.g7 c1T
                       8.Kxd5 Kxd7 9.g8D Te1 (430.676.721) 1127

beste zet: Tf2xf7  tijd: 11:46.609 min  n/s: 1.141.045  CPU 100.0%   n/s(1CPU): 1.141.045   nodes: 805.880.000






2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 14.1 MOD (512 MB)
gemaakt door Fabien Letouzey, Pawel Koziol, Chris Wh

33/46  0:01   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (1.517.233) 930

34/46  0:01   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (1.685.884) 925

35/49  0:02   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (2.231.396) 925

36/49  0:02   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (2.378.775) 910

37/51  0:03   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (3.203.236) 910

38/51  0:04   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (4.271.757) 915

39/53  0:07   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (6.506.546) 908

40/54  0:08   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (7.303.987) 907

41/55  0:10   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (9.912.881) 908

42/57  0:13   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (12.505.299) 911

43/60  0:21   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (19.482.147) 905

44/60  0:26   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (24.578.253) 915

beste zet: Tf2xf7  tijd: 0:28.500 min  n/s: 928.858  CPU 100.0%   n/s(1CPU): 928.858   nodes: 26.400.000


Vanilla Rebel:


2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 15.1 (512 MB)
gemaakt door Fabien Letouzey, Thomas Gaksch, Jerry D

35/58  0:01   +12.89++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 Ta8 (1.484.636) 910

36/62  0:01   +13.05++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Tb7 (2.030.635) 969

37/66  0:02   +13.21++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 Kd8
                       4.Kxe6 Kc8 (2.778.673) 1020

38/69  0:03   +13.37++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Tb7 (4.176.872) 1090

39/70  0:04   +13.53++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 Kd8
                       4.Kxe6 Ta8 (5.546.093) 1140

40/81  0:06   +13.69++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Tb7 (7.651.112) 1188

41/81  0:08   +13.85++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Tb7 (10.409.154) 1217

42/81  0:12   +14.01++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (15.498.729) 1269

43/81  0:16   +14.17++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (21.211.497) 1295

44/85  0:21   +14.33++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Tb7 (28.351.782) 1315

45/90  0:29   +14.49++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (39.590.319) 1339

46/92  0:42   +14.65++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (59.394.372) 1394

47/92  0:59   +14.81++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 Kd8
                       4.Kxe6 Tb7 (82.514.530) 1386

48/94  1:30   +14.97++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 Kd8
                       4.Kxe6 c2 5.Kxd5 Tb7 (127.131.225) 1406

49/100 2:28   +15.13++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (209.372.507) 1409

50/107 5:42   +15.29++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (491.893.116) 1438

51/107 7:14   +15.45++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (625.022.667) 1438

52/107 10:07  +15.61++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 c2 4.Kxe6 Kd8 (870.146.336) 1433

53/110 14:10  +15.77++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.g7 Kd8
                       4.Kxe6 c2 5.Kxd5 Tc8 (1.220.054.134) 1434

beste zet: Tf2xf7  tijd: 16:30.578 min  n/s: 1.439.194  CPU 100.0%   n/s(1CPU): 1.439.194   nodes: 1.425.500.000


(014B: zelfde output in nodes als 014A. not yet good)


2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 15.1 MOD-014B (512 MB)
gemaakt door Fabien Letouzey, Thomas Gaksch, Jerry D

31/53  0:01   +13.49++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (816.594) 630

32/70  0:05   +13.65++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (4.909.288) 936

33/70  0:05   +13.81++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (5.275.904) 943

34/70  0:06   +13.97++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Kb7 12.Dd7+ Ka8 13.Kxe6 c1D
                       14.Dxd5+ (5.700.029) 950

35/70  0:16   +14.13++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kf8 (16.583.676) 1016

36/84  0:37   +14.29++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Kc8 10.Dxe6+ Kc7
                       11.Dxd5 c1D 12.Dc4+ Dxc4 13.bxc4 Kd7
                       14.Kf7 (39.355.764) 1057

37/84  1:07   +14.45++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Ka6 10.Dd8 b5
                       11.Dd6+ Ka5 12.Dd7 c1T 13.Dxe6 Tc6
                       14.Ke7 (72.944.038) 1075

38/86  2:14   +14.61++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 Kxc7 5.g8D c2 6.Df7+ Kb8 7.Df8+ Kc7
                       8.Dd6+ Kb7 9.De7+ Kc8 10.Dxe6+ Kc7
                       11.Dxd5 c1D 12.Dc4+ Dxc4 13.bxc4 Kd7
                       14.Kf7 (147.260.940) 1097

39/96  6:25   +14.77++ 1.Txf7+ Ke8 2.Kf6 Ta8 3.a4 Ta7
                       4.Txa7 c2 5.Kxe6 Kd8 6.Td7+ Ke8 7.g7 c1T
                       8.Kxd5 Kxd7 9.g8D Te1 (430.676.721) 1116

40/96  13:44  +14.93++ 1.Txf7+ Ke8 2.Kf6 Ta8 3.a4 c2 4.g7 Ta7
                       5.Kxe6 Txf7 6.g8D+ Tf8 7.Dg6+ Kd8
                       8.Dxc2 Tf1 9.Kxd5 Ke8 (948.749.909) 1150

beste zet: Tf2xf7  tijd: 20:13.203 min  n/s: 1.167.437  CPU 100.0%   n/s(1CPU): 1.167.437   nodes: 1.416.210.000


Ook niet goed.

2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 15.1 MOD-013 (512 MB)
gemaakt door Fabien Letouzey, Thomas Gaksch, Jerry D

33/54  0:01   +12.88++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1T 6.Txe6 Tf1+ (1.714.895) 914

34/64  0:03   +13.04++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1T 6.Txe6 Tf1+ (3.115.021) 996

35/76  0:14   +13.20++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1T 6.Txe6 Tf1+ (14.677.847) 1008

36/76  0:19   +13.36++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1T 6.Txe6 Tf1+ (20.066.571) 1039

37/76  0:25   +13.52++ 1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1T 6.Txe6 Tf1+ 7.Kg6 Kd7
                       8.Txb6 Tg1+ 9.Kh7 Te1 (25.958.183) 1007

38/79  0:49   +13.68++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.Th7 Tc8
                       4.Th8+ Kd7 5.Txc8 Kxc8 6.g7 c2
                       7.g8D+ Kb7 8.Df7+ Kc6 9.Dxe6+ Kb7
                       10.Dd7+ Kb8 11.e6 c1D 12.e7 Dh6+
                       13.Kf7 Df4+ 14.Ke6 (50.808.076) 1034

39/85  1:43   +13.84++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.Th7 Tb7
                       4.Txb7 c2 5.Kxe6 Kf8 6.Kf6 Ke8
                       7.Tb8+ Kd7 8.g7 c1D 9.g8D Kc7 10.Kg7 Df1 (112.140.743) 1086

40/104 4:04   +14.00++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.Th7 c2 4.g7 c1L
                       5.Kxe6 Lh6 6.Txh6 b5 (266.385.514) 1087

41/104 8:19   +14.16++ 1.Txf7+ Ke8 2.Kf6 Tb8 3.Th7 Tb7
                       4.Txb7 c2 5.Kxe6 Kf8 6.Kf6 Ke8
                       7.Tb8+ Kd7 8.g7 c1D 9.g8D Df4+
                       10.Kg7 Dxd4 11.Dc8+ Ke7 12.Dd8+ Ke6
                       13.Dd6+ Kf5 14.Df6+ (534.847.233) 1071

beste zet: Tf2xf7  tijd: 35:31.297 min  n/s: 1.108.364  CPU 100.0%   n/s(1CPU): 1.108.364   nodes: 2.362.150.000




2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 15.1 MOD-014C (512 MB)
gemaakt door Fabien Letouzey, Thomas Gaksch, Jerry D

43/42  0:01   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (1.844.518) 933

44/42  0:02   +M90++   1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Tf7 (2.015.407) 950

45/42  0:02   +M116++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Th7 Kd8
                       4.Th8+ Kd7 5.g7 Tc8 6.Txc8 Kxc8
                       7.g8D+ Kc7 (2.308.253) 962

46/42  0:02   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (2.310.665) 959

47/42  0:03   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (3.082.434) 956

48/42  0:03   +M74++   1.Txf7+ Ke8 2.Kf6 Tc7 3.Th7 (3.083.767) 957

49/51  0:03   +M102++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 (3.584.665) 957

50/51  0:03   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (3.686.357) 955

51/51  0:05   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (4.921.597) 948

52/51  0:05   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (4.981.449) 948

53/62  0:10   +M100++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Th7 (10.136.768) 986

54/62  0:10   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (10.186.597) 988

55/62  0:13   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (13.439.104) 998

56/62  0:16   +M82++   1.Txf7+ Ke8 2.Kf6 Tc7 3.Th7 (16.197.714) 992

57/63  0:25   +M114++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 (25.555.301) 1000

58/63  0:25   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (25.710.464) 999

59/63  0:43   +M74++   1.Txf7+ Ke8 2.Kf6 Td8 (44.390.879) 1017

60/63  0:44   +M78++   1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 (45.069.311) 1016

beste zet: Tf2xf7  tijd: 1:24.391 min  n/s: 1.024.710  CPU 100.0%   n/s(1CPU): 1.024.710   nodes: 86.380.000




2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 15.1 MOD (512 MB)
gemaakt door Fabien Letouzey, Thomas Gaksch, Jerry D

41/54  0:01   +M103++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 (1.295.470) 880

42/54  0:01   +M127++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.g7 (1.351.647) 921

43/54  0:01   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (1.454.304) 920

44/54  0:01   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (1.866.256) 921

45/54  0:02   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (2.548.428) 950

46/54  0:03   +M92++   1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Tf7 (3.069.485) 966

47/54  0:03   +M119++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Th7 (3.294.936) 972

48/54  0:03   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (3.304.800) 967

49/54  0:03   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (3.837.093) 970

50/54  0:04   +M77++   1.Txf7+ Ke8 2.Kf6 Tc7 3.Th7 (4.255.788) 967

51/54  0:06   +M106++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 (6.049.660) 980

52/54  0:06   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (6.073.439) 980

53/54  0:09   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (9.664.321) 986

54/54  0:13   +M73++   1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 (12.913.347) 990

55/63  1:00   +M104++  1.Txf7+ Ke8 2.Kf6 Tc7 3.Th7 (64.511.732) 1063

56/63  1:01   +M70++   1.Txf7+ Ke8 2.Kf6 b5 (64.846.298) 1062

beste zet: Tf2xf7  tijd: 1:07.906 min  n/s: 1.061.462  CPU 100.0%   n/s(1CPU): 1.061.462   nodes: 71.930.000

Latest version of Rebel 15.1 MOD:


2r5/4kr2/1p2p1P1/3pP1K1/1p1P4/1Pp5/P4R2/8 w - -

Engine: Rebel 15.1 MOD-014E (or something) (512 MB)
gemaakt door Fabien Letouzey, Thomas Gaksch, Jerry D

32/40  0:01   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (1.336.813) 986

33/40  0:01   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (1.617.783) 986

34/48  0:01   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (1.912.005) 977

35/48  0:02   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (2.299.438) 978

36/48  0:02   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (2.649.100) 986

37/51  0:03   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (3.442.663) 980

38/51  0:04   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (3.886.894) 970

39/55  0:05   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (5.208.165) 974

40/55  0:06   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (5.908.654) 970

41/58  0:07   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (7.455.597) 971

42/58  0:08   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (8.486.098) 972

43/58  0:12   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (11.984.291) 986

44/58  0:14   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (14.845.723) 990

45/76  0:21   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (21.625.519) 1001

46/76  0:23   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (23.107.000) 996

47/76  0:38   +M6      1.Txf7+ Ke8 2.Kf6 Tc7 3.Txc7 Kd8
                       4.Te7 c2 5.g7 c1D 6.g8D+ (38.418.822) 1005

beste zet: Tf2xf7  tijd: 0:41.610 min  n/s: 1.008.286  CPU 100.0%   n/s(1CPU): 1.008.286   nodes: 41.860.000


Likewise, I just checked line 555 for SMP (threads 2,3 4 etc). I have not yet thrown out, have not tested any multithreaded version on Norm Pollock's position yet, but this is probably just as bad:

Code:
if (value_is_mate(SearchBest[ThreadId]->value)) break;

Ghppn likes this post

Back to top Go down
Admin
Admin
Admin


Posts : 2528
Join date : 2020-11-17
Location : Netherlands

Micro bugfix Empty
PostSubject: Re: Micro bugfix   Micro bugfix EmptySat Sep 03, 2022 8:46 am

PVS search is the best for a chess engine, in use by almost everybody. However Aspiration search is a little bit faster in the early plies and thereafter engines switch to PVS. We are talking about micro seconds.

Leaving line 441 out in search.cpp has no effect, a go depth 17 delivers the same number of nodes searched.

I wouldn't worry if I were you.

Ghppn likes this post

Back to top Go down
http://rebel13.nl/
Eelco

Eelco


Posts : 212
Join date : 2021-10-08

Micro bugfix Empty
PostSubject: Re: Micro bugfix   Micro bugfix EmptyMon Sep 05, 2022 5:18 am

Hi Ed, sorry, I will try to improve my code. The removal of the two lines on their own will be practically invisible because that code only comes into effect if there is a Mate to be found. But also with the present code, if you remove this line (two lines) in Toga it is not possible to find any real Mate distance unless you do umpteen iterations with very narrow windows (That is what you see in Norm Pollock's example, one of the tries is with Vanilla Rebel 15.1) To actually find the Mate with accuracy you have to change the width of the search window faster (code that comes just after the two offending lines). That is pretty straight forward I just wanted to give a small hint. Sorry But it is not certain that the scaling will be (very) different if you are going to do that always, change the width of the aspiration windows I mean (it is not really Aspiration search but that is what I call it when you use such small search windows, they are almost null window searches at first)

If you do it, and widen the search window just with very high scores, then not (no effect on scaling or very little) but the effect on a Mate search or even on finding a win score, will then also be be much later.

Anyway, will try to improve the code.

Ghppn likes this post

Back to top Go down
Sponsored content





Micro bugfix Empty
PostSubject: Re: Micro bugfix   Micro bugfix Empty

Back to top Go down
 
Micro bugfix
Back to top 
Page 1 of 1
 Similar topics
-
» Bugfix EAS-tool

Permissions in this forum:You can reply to topics in this forum
ProDeo :: Programmer Corner-
Post new topic   Reply to topicJump to: