Hi,
Recently I saw that on some of the moves in games that my engine plays, the node count from one depth to the next jumped by a lot. In the example search, the pv move did not change from depth 7 to depth 8, so I do not know why the node count jumped by 25x. My only thought is that it is related to the transposition table, as it does not happen when I clear the hash and search again, but I cannot pinpoint if further. Does anyone know what specifically in the TT might be causing this, and how I might fix it. Thanks in advance!
One explanation could be that the TT is very helpful as long as the tree stays mainly the same, and is just expanded at the leaves. You then only need very few nodes compared to what you would need w ithout TT. This works up to depth 7, but at 8 ply the third move of the PV is superceded by h2h4. This move used to be refuted, but apparently the refutation held in the TT is no longer good enough, and no refutation can be found at all. So a new subtree will have to be constructed, without any guidance from the TT. That can take very long.
Does your engine use Internal Iterative Deepening? If not, then you know now why that is useful to have.
hgm wrote: ↑Tue Aug 09, 2022 5:04 pm
One explanation could be that the TT is very helpful as long as the tree stays mainly the same, and is just expanded at the leaves. You then only need very few nodes compared to what you would need w ithout TT. This works up to depth 7, but at 8 ply the third move of the PV is superceded by h2h4. This move used to be refuted, but apparently the refutation held in the TT is no longer good enough, and no refutation can be found at all. So a new subtree will have to be constructed, without any guidance from the TT. That can take very long.
Does your engine use Internal Iterative Deepening? If not, then you know now why that is useful to have.
Hi Muller. The issue may be due to the same problem you found in my tt last month-overlapping keys. I noticed a magnitude reduction in searches around that same ply level, the ply level which generates a large increase in hits. May want to check the code.
hgm wrote: ↑Tue Aug 09, 2022 5:04 pm
One explanation could be that the TT is very helpful as long as the tree stays mainly the same, and is just expanded at the leaves. You then only need very few nodes compared to what you would need w ithout TT. This works up to depth 7, but at 8 ply the third move of the PV is superceded by h2h4. This move used to be refuted, but apparently the refutation held in the TT is no longer good enough, and no refutation can be found at all. So a new subtree will have to be constructed, without any guidance from the TT. That can take very long.
Does your engine use Internal Iterative Deepening? If not, then you know now why that is useful to have.
Your explanation sounds very reasonable, and I think you have got the problem! My engine does not have iterative deepening, so I will look into it when I have some time.