Factors in search... What is important?

Discussion of chess software programming and technical issues.

Moderator: Ras

Dann Corbit
Posts: 12845
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Factors in search... What is important?

Post by Dann Corbit »

I have a big pile of positions that Ezekiel is analyzing right now. This is the first position in the pile:
[d]r4rk1/1bpqbppp/p1np1n2/1p2p3/4P3/PB1P1N1P/1PP2PP1/RNBQR1K1 w - -

Here is the output of AsmFish, to ply 37 (my normal analysis depth):

Code: Select all

Analysis of /media/danniel/sas_orig/chess/n37c.epd   
21-8-17 09:12:42 Level: 37 Ply
Analyzing engine: AsmFishL_2017-08-19_base

 1                      
    Avoid move: 
    Best move (AsmFishL_2017-08-19_base): Nb1-c3
    Not found in: 10:29
     2/2	00:01	          8k	273k	-0.15	Nc3 Nd4
     3/3	00:01	          9k	303k	-0.04	Bg5 Na5 Nbd2 h6
     4/4	00:01	         10k	331k	+0.18	Bd2 a5 Nc3 Nd4
     5/5	00:01	         10k	341k	+0.18	Bd2 a5 Nc3 Nd4 Ba2
     6/7	00:01	         40k	914k	+0.05	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5
     7/7	00:01	         53k	1,104k	+0.44	Be3 Na5 Ba2 h6 Nc3 Nc6 Nd5 a5
     8/8	00:01	         57k	1,142k	+0.44	Be3 Na5 Ba2 h6 Nc3 Nc6 Nd5 a5
     9/10	00:01	        186k	2,117k	+0.34	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Nf4 Rfc8 Bd2
    10/13	00:01	        508k	3,576k	+0.54	Nc3 h6 Bd2 Rad8 Nd5 a5 Nxe7+ Qxe7 a4 b4 c3
    11/16	00:01	      1,050k	5,555k	+0.40	Nc3 Rae8 Bd2 Nd4 Nxd4 exd4 Ne2 c5 Ng3 Qc8 Ba2 h6 Nf5 d5 Qf3 Qd7 exd5
    12/20	00:01	      1,873k	8,178k	+0.35	Nc3 Na5 Ba2 c5 Nd5 Nxd5 Bxd5 Nc6 Bd2 h6 a4 Nd4 Bxb7 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 Bxe4 Nxe4 Nxd4 d5 Be3 Re8 Qg4 Qxg4 hxg4 Nd6 Nf5 Nc4 b3 Nxe3 Nxe3 Bc5 Nxd5 Rxe1+ Rxe1 Bxa3 Nc7
    22/36-	00:05	    132,174k	34,528k	+0.32	Nc3 Nd4
    22/36-	00:05	    134,573k	34,621k	+0.24	Nc3 Nd4
    22/36+	00:05	    134,973k	34,635k	+0.32	Nc3
    22/36	00:05	    140,204k	34,799k	+0.30	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Bd2 Rac8 a4 h6 axb5 axb5 Ng3 d5 e5 Nh7 Qg4 Qxg4 hxg4 c4 Nf5 Bc5 Ba2 Ra8 b4
    23/34-	00:08	    244,619k	36,494k	+0.23	Nc3 Nd4
    23/34+	00:08	    274,305k	36,824k	+0.30	Nc3
    23/34-	00:10	    353,974k	37,367k	+0.15	Nc3 Nd4
    23/34	00:10	    357,012k	37,387k	+0.20	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Ng3 d5 e5 Ne8 c3 dxc3 bxc3 g6 d4 cxd4 cxd4 a5 Ne2 Ng7 Bd2 Ne6 Bc2 Rfc8 Bd3 Bc6 Qb3 Qa7 Qb2
    24/33	00:10	    358,146k	37,393k	+0.20	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Ng3 d5 e5 Ne8 c3 dxc3 bxc3 g6 d4 cxd4 cxd4 a5 Bc2 Ng7 Bd2 Rfc8 Ne2 Ne6 Bd3 Bc6 Qb3 Qa7 Qb2 Rab8 Be3 b4 axb4
    25/33	00:11	    371,629k	37,459k	+0.17	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Ng3 d5 e5 Ne8 c3 dxc3 bxc3 g6 d4 cxd4 cxd4 a5 Ne2 Ng7 Nf4 Ne6 Bc2 Rfc8 Nxe6 Qxe6 Bd3 b4 axb4 Bxb4 Re2 Ba6 Bh6
    26/43	00:13	    449,593k	37,661k	+0.14	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Ng3 d5 e5 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xc6 Qxc6 Qg4 Bc8 Qh5 Be6 axb5 axb5 Bxe6 Rxe6 Qf3 Qxf3 gxf3 Re8 Bb4 Be5 Ra5 Rc8 Rxb5 g6 Rd5 Rxc2 Bxd6 Bxd6 Rxd6 Rxb2 Rxd4 Rb3 Rd7 Kg7 d4 Rxf3 Kg2 Rd3 d5 Kg8
    36/44+	08:14	 19,104,755k	38,777k	+0.15	Nc3
    36/50	09:31	 22,078,571k	38,695k	+0.16	Nc3 Rfe8 Bd2 Nd8 a4 c6 Ne2 c5 Ng3 Ne6 Ng5 Nd8 c3 h6 Nf3 Ne6 Bc2 Bf8 Nf5 Rac8 axb5 axb5 b4 c4 dxc4 Rxc4 Ra7 Qc6 Bd3 Rxe4 Bxe4 Nxe4 Qc2 Nxd2 Qxd2 Rb8 Rd1 Rd8 Ne3 g6 Qc2
    37/49+	09:51	 22,820,581k	38,665k	+0.23	Nc3
    37/49	10:28	 24,224,543k	38,627k	+0.21	Nc3 Rfe8 Bd2 Nd8 Nd5 Ne6 Nxe7+ Qxe7 Ng5 Nd8 c3 c5 Bc2 Qc7 a4 Bc6 Qe2 Qb7 a5 b4 cxb4 cxb4 Rac1 h6 Nf3 Ne6 Bb3 Nc5 Bc4 Rac8 Be3 Bb5 Nd2 Rc7 f4 exf4 Bxf4 Bxc4 Nxc4
   2017-08-21 09:23:14, Time for this analysis: 00:10:29, Rated time: 10:29
Here is the output of Texel with only 1 GB hash:

Code: Select all

Analysis of /media/danniel/sas_orig/chess/n37c.epd   
24-8-17 02:20:17 Level: 37 Ply
Analyzing engine: Texel64

 1                      
    Avoid move: 
    Best move (Texel64): Nb1-c3
    Not found in: 7:20:35
      2-	00:00	          79	20k	+0.15	Nc3 Nh5
      2-	00:00	         115	29k	-0.03	Nc3 h6
      2	00:00	         155	39k	-0.03	Nc3 h6
      3+	00:00	         291	36k	+0.25	Nc3 h6 Be3
      3	00:00	         379	47k	+0.25	Nc3 h6 Be3
      4	00:00	         740	49k	+0.15	Nc3 h6 Nd5 a5
      5+	00:00	          1k	60k	+0.32	Nc3 h6 Bd5 Nxd5 Nxd5
      5	00:00	          2k	71k	+0.13	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5
      6	00:00	          3k	17k	+0.09	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 Bxd5 Bxd5 exd5
      6+	00:00	          3k	18k	+0.11	Bd5 Nxd5 exd5 Na7
      6	00:00	          3k	18k	+0.09	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 Bxd5 Bxd5 exd5
      6+	00:00	          4k	28k	+0.12	Be3 h6 Nc3 Nh5 Rf1
      6	00:00	          5k	34k	+0.09	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 Bxd5 Bxd5 exd5
      7	00:00	          6k	35k	+0.13	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5 c5 dxc6 Bxc6
      7+	00:00	          6k	36k	+0.15	Be3 Na5 Ba2 h6 Nc3 Nc6 Nd5
      7+	00:00	          7k	42k	+0.31	Be3 Na5 Ba2 h6 Nc3 Nc6 Nd5
      7	00:00	          7k	44k	+0.31	Be3 Na5 Ba2 h6 Nc3 c5 Ne2 Nc6
      8-	00:00	          9k	52k	+0.13	Be3 Na5 Ba2 h6 Nc3 c5 Ne2 Nc6
      8	00:00	          9k	54k	+0.10	Be3 Na5 Ba2 h6 Nc3 c5 Nd5 Bxd5 exd5 Nh5
      9	00:00	         19k	102k	 -0.00	Be3 Na5 Ba2 c5 Nc3 Nc6 Ne2 Nd4 Nexd4 cxd4 Bd2
      9+	00:00	         22k	117k	+0.01	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5 h6 c4 c5 dxc6
      9	00:00	         25k	126k	 -0.00	Be3 Na5 Ba2 c5 Nc3 Nc6 Ne2 Nd4 Nexd4 cxd4 Bd2
     10	00:00	         49k	214k	+0.07	Be3 Na5 Ba2 c5 Nc3 Nc6 Bg5 h6 Bxf6 Bxf6 Nd5 Qe6 Qd2 Nd4 Nxd4 exd4
     11+	00:00	         86k	303k	+0.22	Be3 Na5 Ba2 c5 Nc3 Nc6 b4 cxb4 Nd5 bxa3 Nb6
     11	00:00	        137k	459k	+0.24	Be3 d5 exd5 Nxd5 Bd2 Bf6 Bxd5 Qxd5 Nc3 Qd6 Ne4
     12-	00:01	        494k	1,415k	+0.09	Be3 Nd8 Ng5 c5 Rf1 h6
     12	00:01	        622k	1,660k	+0.11	Be3 Nd8 c4 c5 Nc3 Ne6 cxb5 axb5 Bxe6 fxe6 b4 cxb4 axb4 Rxa1 Qxa1 Nh5 Qa5 Bc6 d4 exd4 Nxd4 Ra8
     13	00:01	      3,161k	6,235k	+0.10	Be3 d5 exd5 Nxd5 Bxd5 Qxd5 Nc3 Qd6 a4 Nd4 Nxe5 Nxc2 Qxc2 Qxe5 d4 Qh5 axb5
     13+	00:01	      3,312k	6,468k	+0.11	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Ng3 Rfe8 Nf5 d5
     13+	00:01	      4,388k	8,140k	+0.26	Nc3 h6 Nd5 Nxd5 Bxd5 a5 a4 b4 Rf1 Bf6 Be3 Rab8 c3 bxc3 bxc3 Ne7
     13	00:01	      4,572k	8,404k	+0.22	Nc3 h6 Nd5 Nxd5 Bxd5 a5 a4 b4 Be3 Bf6 Rf1 Rab8 b3 Nd4 Bxb7 Nxf3+
     14	00:01	      5,223k	8,720k	+0.27	Nc3 h6 Nd5 Nxd5 Bxd5 a5 a4 b4 Be3 Bf6 Rf1 Rab8 c4 Nd4 Bxd4 exd4 Qe2
     15	00:01	      6,461k	9,323k	+0.22	Nc3 h6 Nd5 a5 a4 Nxd5 Bxd5 b4 Be3 Bf6 Rf1 Rab8 c4 Nd4 Bxd4 exd4 Qe2 Bxd5 cxd5 c5
     16+	00:01	      9,601k	11,457k	+0.37	Nc3 h6 Nd5 Nxd5 Bxd5 Rab8 c3 Bf6 Nh2 Ne7 Bxb7 Rxb7 Qg4 Qxg4 Nxg4
     16	00:01	     10,242k	10,736k	+0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3 Nh5 Rd1 Rf8 Qb3 Nf4 Bxf4 exf4 Ra5 Bf6 Rda1 Qe8 d4 Rb8 Kh2 Qf7
     30	1:02:16	122,557,978k	32,807k	+0.26	Nc3 Rfe8 Be3 Nd8 a4 Ne6 Bxe6 fxe6 b4 Reb8 Qb1 bxa4 Rxa4 h6 Qb2 c5 Qa2 c4 Ra5 cxd3 cxd3 Bd8 Ra3 Bc6 Rb1 Bc7 Qc2 d5 Bc5 Qf7 Rba1 d4 Ne2 Bb5 Ng3 Kh7
     31	1:33:12	181,566,299k	32,468k	+0.26	Nc3 Rfe8 Be3 Nd8 a4 Ne6 Bxe6 fxe6 b4 Reb8 Qb1 bxa4 Rxa4 h6 Qb2 Kh7 Qa3 Nh5 Ra5 Rf8 Qb3 Bd8 Raa1 Be7 Nh2 Nf4 Ra5 Rab8 Bxf4 exf4 d4 Bg5 Nf3 Be7
     32	2:24:18	278,579,508k	32,177k	+0.26	Nc3 Rfe8 Be3 Nd8 a4 Ne6 Bxe6 fxe6 b4 Reb8 Qb1 bxa4 Rxa4 h6 Qb2 Kh7 Qa3 Nh5 Ra5 Rf8 Qb3 Bd8 Raa1 Be7
     33	4:08:55	480,814,574k	32,195k	+0.26	Nc3 Rfe8 Be3 Nd8 a4 Ne6 Bxe6 fxe6 b4 Reb8 Qb1 bxa4 Rxa4 h6 Qb2 Kh7 Qa3 Nh5 Ra5 Rf8 Qb3
   2017-08-24 09:40:55, Time for this analysis: 07:20:35, Rated time: 7:20:35

0 of 1 matching moves
24-8-17 09:40:56, Total time: 07:20:39
Rated time: 7:20:35 = 26435 Seconds
And here is the output of Texel with 32 GB hash:

Code: Select all

Analysis of /media/danniel/sas_orig/chess/n37c.epd   
24-8-17 09:53:29 Level: 37 Ply
Analyzing engine: Texel64

 1                      
    Avoid move: 
    Best move (Texel64): Nb1-c3
    Not found in: 23:50:00
   Found 0 syzygy tablebases
      2-	03:35	          79	5k	+0.15	Nc3 Nh5
      2-	03:37	         115	6k	-0.03	Nc3 h6
      2	03:37	         155	7k	-0.03	Nc3 h6
      3+	03:37	         291	10k	+0.25	Nc3 h6 Be3
      3	03:37	         379	12k	+0.25	Nc3 h6 Be3
      4	03:37	         740	19k	+0.15	Nc3 h6 Nd5 a5
      5+	03:37	          1k	23k	+0.32	Nc3 h6 Bd5 Nxd5 Nxd5
      5	03:37	          2k	27k	+0.13	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5
      6	03:37	          2k	34k	+0.09	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 Bxd5 Bxd5 exd5
      6+	03:37	          3k	40k	+0.19	Be3 h6 Nc3 Nh5 Bd5
      6	03:37	          4k	51k	+0.09	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 Bxd5 Bxd5 exd5
      7	03:37	          6k	62k	+0.13	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5 c5 dxc6 Bxc6
      7+	03:37	          6k	64k	+0.14	Be3 d5 exd5 Nxd5 Bc1
      7	03:37	          7k	62k	+0.13	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5 c5 dxc6 Bxc6
      8	03:37	         31k	218k	+0.13	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5 c5 dxc6 Bxc6 Qe2
      9-	03:37	         67k	403k	-0.02	Nc3 Nd4 Nxd4 exd4 Nd5 Nxd5 exd5 h6 Qe2 Bf6
      9+	03:37	         87k	472k	+0.28	Nc3 Nd4 Nxd4 exd4 Ne2 c5 Ng3 h6 Nf5
      9	03:37	        120k	623k	+0.18	Nc3 Nd4 Nxd4 exd4 Ne2 Rfe8 Ng3 c5 Bf4 a5 Nf5 h6
      9+	03:37	        131k	667k	+0.19	Be3 d5 exd5 Nxd5 Bd2 f6 Nc3
      9	03:37	        191k	912k	+0.18	Nc3 Nd4 Nxd4 exd4 Ne2 Rfe8 Ng3 c5 Bf4 a5 Nf5 h6
     10	03:37	        488k	2,198k	+0.27	Nc3 Nd4 Nxd4 exd4 Ne2 c5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2 c5 Ne2 Nc6 Ng3 Nd8 Bd2 Ne6 Ng5 Nd8 Ba5 Rf8 Nf5 h6 Nf3 Kh7 Bd2 Ne6 b4 c4 Be3
     34	7:47:22	844,606,634k	30,352k	+0.31	Nc3 Rfe8 a4 Na5 Ba2 c5 Bg5 b4 Bxf6 Bxf6 Nd5 Bd8 Ne3 Bc6 Nd2 Rb8 Qh5 Rf8 h4 Bf6 g3 g6 Qg4 Qxg4 Nxg4 Bg7 Nc4 Nxc4 Bxc4 Bd7 Ne3 a5 Nd5 h5 Kg2 Kh7 Rh1 f5 b3 f4
     35	19:28:23	2,172,633,338k	31,087k	+0.24	Nc3 Rfe8 Bg5 Nd4 Nxd4 exd4 Ne2 c5 Ng3 d5 e5
   2017-08-25 09:43:32, Time for this analysis: 23:50:00, Rated time: 23:50:00

0 of 1 matching moves
25-8-17 09:43:33, Total time: 23:50:03
Rated time: 23:50:00 = 85800 Seconds

One thing that is very interesting is how well Texel scales in NPS. Notice that the NPS is nearly as high as AsmFish, which tends to be much higher than Stockfish. The NPS tails off when the hash gets filled.

You will notice a strange effect on the last analysis using Texel. There is 3:35 pause before anything happens. If you watch the Arena GUI, you will see that the allocated memory is growing during this time frame. I have 128 GB RAM on the system, so 32 GB should be no problem, but for some reason allocations beyond 8GB take a while. So, for the last analysis, we should probably subtract 3.5 minutes because there is a huge start up cost.

At any rate, as we can see, increasing the RAM makes the time to ply much shorter for Texel.

Even so, it is also clear that it will take several days to get to 37 plies, compared to ten minutes for AsmFish, and a little longer for Stockfish or Komodo.

So I guess the bottom line is that NPS scaling is important, but not extremely important. Texel has incredible scaling in NPS, but not near enough to keep up with SF or Komodo.

RAM utilization is important but not extremely important. It gave a fabulous speedup to Texel. But not enough to be competitive to the top engines. The 3.5 minute lag is only for the first position in my analysis so the delay for a huge RAM setup on my machine is not significant. I often run batches for a month.

Branching factor is important, and it is extremely important. But when you cut away the fat, you have to avoid cutting away the muscle with it. And aye, there's the rub.

This may all seem a moot point because I am using long time control. But these same things are true at fast time control, they are just not quite so obvious.

Of course, reducing branching factor is easier said than done.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
petero2
Posts: 734
Joined: Mon Apr 19, 2010 7:07 pm
Location: Sweden
Full name: Peter Osterlund

Re: Factors in search... What is important?

Post by petero2 »

Dann Corbit wrote:You will notice a strange effect on the last analysis using Texel. There is 3:35 pause before anything happens. If you watch the Arena GUI, you will see that the allocated memory is growing during this time frame. I have 128 GB RAM on the system, so 32 GB should be no problem, but for some reason allocations beyond 8GB take a while. So, for the last analysis, we should probably subtract 3.5 minutes because there is a huge start up cost.
I guess this is caused by page allocation and page table setup in the kernel. Is this a windows computer? The development version of texel (107a29) has support for large pages on windows (2MB instead of 4KB), which should significantly reduce this overhead. However you have to configure your OS to enable large pages.

In linux there is also support for 1GB pages, which reduces the startup time to almost 0. Windows does not support 1GB pages though.

Texel initializes the hash table immediately when it is allocated, which forces all pages to be allocated at once. Stockfish behaves differently because it uses calloc to allocate the hash table, which does not force pages to be allocated. Instead they are allocated on demand when the memory is used, so the search will run very slowly for a while until all pages have been allocated. For example, on my linux computer:

Code: Select all

c24:~$ chess/sf8/stockfish | awk '$0 ~ "nps" {for (i=1; i<=NF; i++) {if ($i=="nps") nps=$(i+1); else if ($i=="time") t=$(i+1); } printf("t=%.3f nps=%d\n", t*1e-3,nps); }'
uci
setoption name hash value 32768
go infinite
t=0.016 nps=1250
t=0.021 nps=2238
t=0.056 nps=2375
t=0.219 nps=2589
t=0.484 nps=2791
t=0.905 nps=3265
t=1.488 nps=3629
t=2.051 nps=3918
...
t=4.069 nps=135732
t=4.128 nps=143382
t=4.161 nps=148033
t=4.255 nps=159795
t=4.746 nps=211810
t=4.874 nps=224692
...
t=20.181 nps=675754
...
t=32.130 nps=833362
...
t=50.754 nps=993286
...
t=80.920 nps=1120822
...
t=153.676 nps=1258095
If I insert a "ucinewgame" command before "go" to force stockfish to clear the hash table, which also causes all pages to be allocated, I instead get:

Code: Select all

c24:~$ chess/sf8/stockfish | awk '$0 ~ "nps" {for (i=1; i<=NF; i++) {if ($i=="nps") nps=$(i+1); else if ($i=="time") t=$(i+1); } printf("t=%.3f nps=%d\n", t*1e-3,nps); }'
uci
setoption name hash value 32768
ucinewgame
go infinite
t=0.003 nps=6666
...
t=0.107 nps=874457
t=0.178 nps=993050
t=0.315 nps=1082374
t=0.492 nps=1122548
t=0.597 nps=1138909
t=0.910 nps=1203464
...
t=5.236 nps=1401268
..
t=10.936 nps=1420400
...
t=30.923 nps=1427164
With texel I get full speed almost immediately after the search starts:

Code: Select all

c24:~$ ~/workspace/texel/Release/texel | awk '$0 ~ "nps" {for (i=1; i<=NF; i++) {if ($i=="nps") nps=$(i+1); else if ($i=="time") t=$(i+1); } printf("t=%.3f nps=%d\n", t*1e-3,nps); }'
uci
setoption name hash value 32768
go infinite
...
t=0.001 nps=579000
...
t=0.133 nps=1646383
...
t=1.054 nps=1578727
...
t=5.394 nps=1569102
...
t=10.731 nps=1574042
...
t=20.744 nps=1568330
Dann Corbit
Posts: 12845
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Factors in search... What is important?

Post by Dann Corbit »

petero2 wrote:
Dann Corbit wrote:You will notice a strange effect on the last analysis using Texel. There is 3:35 pause before anything happens. If you watch the Arena GUI, you will see that the allocated memory is growing during this time frame. I have 128 GB RAM on the system, so 32 GB should be no problem, but for some reason allocations beyond 8GB take a while. So, for the last analysis, we should probably subtract 3.5 minutes because there is a huge start up cost.
I guess this is caused by page allocation and page table setup in the kernel. Is this a windows computer? The development version of texel (107a29) has support for large pages on windows (2MB instead of 4KB), which should significantly reduce this overhead. However you have to configure your OS to enable large pages.
No. It runs Ubuntu server.
In linux there is also support for 1GB pages, which reduces the startup time to almost 0. Windows does not support 1GB pages though.
I guess that I have to do something to set up the giant pages.
Texel initializes the hash table immediately when it is allocated, which forces all pages to be allocated at once. Stockfish behaves differently because it uses calloc to allocate the hash table, which does not force pages to be allocated. Instead they are allocated on demand when the memory is used, so the search will run very slowly for a while until all pages have been allocated. For example, on my linux computer:

Code: Select all

c24:~$ chess/sf8/stockfish | awk '$0 ~ "nps" {for (i=1; i<=NF; i++) {if ($i=="nps") nps=$(i+1); else if ($i=="time") t=$(i+1); } printf("t=%.3f nps=%d\n", t*1e-3,nps); }'
uci
setoption name hash value 32768
go infinite
t=0.016 nps=1250
t=0.021 nps=2238
t=0.056 nps=2375
t=0.219 nps=2589
t=0.484 nps=2791
t=0.905 nps=3265
t=1.488 nps=3629
t=2.051 nps=3918
...
t=4.069 nps=135732
t=4.128 nps=143382
t=4.161 nps=148033
t=4.255 nps=159795
t=4.746 nps=211810
t=4.874 nps=224692
...
t=20.181 nps=675754
...
t=32.130 nps=833362
...
t=50.754 nps=993286
...
t=80.920 nps=1120822
...
t=153.676 nps=1258095
If I insert a "ucinewgame" command before "go" to force stockfish to clear the hash table, which also causes all pages to be allocated, I instead get:

Code: Select all

c24:~$ chess/sf8/stockfish | awk '$0 ~ "nps" {for (i=1; i<=NF; i++) {if ($i=="nps") nps=$(i+1); else if ($i=="time") t=$(i+1); } printf("t=%.3f nps=%d\n", t*1e-3,nps); }'
uci
setoption name hash value 32768
ucinewgame
go infinite
t=0.003 nps=6666
...
t=0.107 nps=874457
t=0.178 nps=993050
t=0.315 nps=1082374
t=0.492 nps=1122548
t=0.597 nps=1138909
t=0.910 nps=1203464
...
t=5.236 nps=1401268
..
t=10.936 nps=1420400
...
t=30.923 nps=1427164
With texel I get full speed almost immediately after the search starts:

Code: Select all

c24:~$ ~/workspace/texel/Release/texel | awk '$0 ~ "nps" {for (i=1; i<=NF; i++) {if ($i=="nps") nps=$(i+1); else if ($i=="time") t=$(i+1); } printf("t=%.3f nps=%d\n", t*1e-3,nps); }'
uci
setoption name hash value 32768
go infinite
...
t=0.001 nps=579000
...
t=0.133 nps=1646383
...
t=1.054 nps=1578727
...
t=5.394 nps=1569102
...
t=10.731 nps=1574042
...
t=20.744 nps=1568330
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
Dann Corbit
Posts: 12845
Joined: Wed Mar 08, 2006 8:57 pm
Location: Redmond, WA USA

Re: Factors in search... What is important?

Post by Dann Corbit »

Dann Corbit wrote:
petero2 wrote:
Dann Corbit wrote:You will notice a strange effect on the last analysis using Texel. There is 3:35 pause before anything happens. If you watch the Arena GUI, you will see that the allocated memory is growing during this time frame. I have 128 GB RAM on the system, so 32 GB should be no problem, but for some reason allocations beyond 8GB take a while. So, for the last analysis, we should probably subtract 3.5 minutes because there is a huge start up cost.
I guess this is caused by page allocation and page table setup in the kernel. Is this a windows computer? The development version of texel (107a29) has support for large pages on windows (2MB instead of 4KB), which should significantly reduce this overhead. However you have to configure your OS to enable large pages.
No. It runs Ubuntu server.
In linux there is also support for 1GB pages, which reduces the startup time to almost 0. Windows does not support 1GB pages though.
I guess that I have to do something to set up the giant pages.
Perhaps this:
https://www.howtoinstall.co/en/ubuntu/xenial/hugepages
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
petero2
Posts: 734
Joined: Mon Apr 19, 2010 7:07 pm
Location: Sweden
Full name: Peter Osterlund

Re: Factors in search... What is important?

Post by petero2 »

Dann Corbit wrote:I guess that I have to do something to set up the giant pages.

Perhaps this:
https://www.howtoinstall.co/en/ubuntu/xenial/hugepages
If you want to reserve 8 1GB pages on NUMA node 0, it should be enough to run the following as root:

Code: Select all

echo 8 >/sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages
It may not actually give any performance increase though (except for startup time). I am currently running some tests to measure the effect of different combinations of page size, hash size and number of search threads.