Page 41 of 59

Re: 7-men Syzygy attempt

Posted: Mon Jun 04, 2018 10:35 am
by Sesse
syzygy wrote: Mon Jun 04, 2018 12:53 am I think the Robin Hood trick should leave the average exactly unchanged. (I am guessing that the double counting of symmetric tables somehow explains the change from 2.06 to 2.05.) Reducing the worst case length is probably a good thing.
FWIW, the supposed advantage is that moving a bunch of elements from 1 to 2 probes is likely to be fairly inconsequential, since the next element is likely to be already in the cache (either on the same cache line, or prefetched), so moving 60 such elements to get one element down from 68 to 8 is an overall win. I haven't measured myself, but it makes sense to me.

I agree the average should have stayed put. I think the reason why it doesn't is a minor bug in my counting, now that I think of it (I don't necessarily look in the overflow bucket).

Re: 7-men Syzygy attempt

Posted: Mon Jun 04, 2018 3:22 pm
by jwes
syzygy wrote: Mon Jun 04, 2018 1:10 am According to this page, the average number of probes for successful find is estimated to be
Image
For alpha = 3002/4096, this gives 2.372. So what you measured is better than expected.

For alpha = 3002/8192, we get 1.289, which is slightly better than what you measured.
Have you thought about trying to optimize the hash function for your data? You should be able to find a set of random numbers that give many fewer collisions if you try a few billion.

Re: 7-men Syzygy attempt

Posted: Mon Jun 04, 2018 6:38 pm
by Sesse
Well, if you want to go down that route, you can use what's known as perfect hashing. But those functions are typically somewhat more expensive to evaluate, so just iterating down a few buckets is probably worth it.

If you try modifying the existing hash values, you mess with a lot more than just the tablebases. That may or may not be harmless.

Re: 7-men Syzygy attempt

Posted: Mon Jun 04, 2018 6:55 pm
by syzygy
jwes wrote: Mon Jun 04, 2018 3:22 pm
syzygy wrote: Mon Jun 04, 2018 1:10 am According to this page, the average number of probes for successful find is estimated to be
Image
For alpha = 3002/4096, this gives 2.372. So what you measured is better than expected.

For alpha = 3002/8192, we get 1.289, which is slightly better than what you measured.
Have you thought about trying to optimize the hash function for your data? You should be able to find a set of random numbers that give many fewer collisions if you try a few billion.
The current hash function basically comes for free (it is based on the material signature key).

Re: 7-men Syzygy attempt

Posted: Sun Jun 10, 2018 9:01 am
by Sesse
Generation passed 5 TB; I guess that's somewhat of a milestone. I assume we're getting more precise estimates of the end size now, too?

Re: 7-men Syzygy attempt

Posted: Sun Jun 10, 2018 12:43 pm
by Nordlandia
Sesse wrote: Sun Jun 10, 2018 9:01 am Generation passed 5 TB; I guess that's somewhat of a milestone. I assume we're getting more precise estimates of the end size now, too?
Maybe compare 5 TB to remaning sets to be generated.

How many sets is finished as of now?

500 out of 1,000 ?

Re: 7-men Syzygy attempt

Posted: Sun Jun 10, 2018 1:55 pm
by noobpwnftw
Nordlandia wrote: Sun Jun 10, 2018 12:43 pm 500 out of 1,000 ?
337 tables to go, progress of 5v2 pawnful (141/210) & 4v3 pawnful (57/325).

Re: 7-men Syzygy attempt

Posted: Sun Jun 10, 2018 2:15 pm
by syzygy
noobpwnftw wrote: Sun Jun 10, 2018 1:55 pm
Nordlandia wrote: Sun Jun 10, 2018 12:43 pm 500 out of 1,000 ?
337 tables to go, progress of 5v2 pawnful (141/210) & 4v3 pawnful (57/325).
I just noticed KRBPPvKQ is missing. Was there any problem with its generation?

Re: 7-men Syzygy attempt

Posted: Sun Jun 10, 2018 2:35 pm
by Nordlandia
noobpwnftw wrote: Sun Jun 10, 2018 1:55 pm
Nordlandia wrote: Sun Jun 10, 2018 12:43 pm 500 out of 1,000 ?
337 tables to go, progress of 5v2 pawnful (141/210) & 4v3 pawnful (57/325).
Is it possible to quantify likely file size by sets generated up to this point?

wdl / dtz

Re: 7-men Syzygy attempt

Posted: Sun Jun 10, 2018 2:49 pm
by noobpwnftw
syzygy wrote: Sun Jun 10, 2018 2:15 pm
noobpwnftw wrote: Sun Jun 10, 2018 1:55 pm
Nordlandia wrote: Sun Jun 10, 2018 12:43 pm 500 out of 1,000 ?
337 tables to go, progress of 5v2 pawnful (141/210) & 4v3 pawnful (57/325).
I just noticed KRBPPvKQ is missing. Was there any problem with its generation?
KRBBPvKQ is missing somehow, retrying, maybe OOM or a simple mis-hit of Ctrl+C. :D