diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-29 17:14:47 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-11-29 17:14:47 +0100 |
| commit | 010ff1033e5eba28505e9b76f6bb4e7a48ea8012 (patch) | |
| tree | b464b38717baa386f5db11e532a44c3d93541c04 | |
| parent | bdb382329778da951e45e4c1084598be978f19d4 (diff) | |
| download | nissy-core-010ff1033e5eba28505e9b76f6bb4e7a48ea8012.tar.gz nissy-core-010ff1033e5eba28505e9b76f6bb4e7a48ea8012.zip | |
Diffstat (limited to '')
19 files changed, 236 insertions, 238 deletions
diff --git a/benchmarks/benchmarks.md b/benchmarks/benchmarks.md index d6ec328..148ce1d 100644 --- a/benchmarks/benchmarks.md +++ b/benchmarks/benchmarks.md | |||
| @@ -12,7 +12,7 @@ include similar measurements for two other optimal solvers: | |||
| 12 | by different pruning tables. | 12 | by different pruning tables. |
| 13 | * Arhan Chaudhary's | 13 | * Arhan Chaudhary's |
| 14 | [egg-solver](https://github.com/ArhanChaudhary/egg-solver) (commit | 14 | [egg-solver](https://github.com/ArhanChaudhary/egg-solver) (commit |
| 15 | c3eb909), which is an AI-generated implementation of the H48 method | 15 | ed726e2), which is an AI-generated implementation of the H48 method |
| 16 | with highly-optimized microthreading. | 16 | with highly-optimized microthreading. |
| 17 | 17 | ||
| 18 | Similar benchmarks can be found: | 18 | Similar benchmarks can be found: |
| @@ -85,44 +85,44 @@ Time per cube (in seconds, lower is better). | |||
| 85 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 85 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 86 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 86 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 87 | |vcube 212 |58.2 GiB| 0.11| 0.75| 3.43| 27.28| 19.30| | 87 | |vcube 212 |58.2 GiB| 0.11| 0.75| 3.43| 27.28| 19.30| |
| 88 | |egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.14| 0.14| | 88 | |egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.13| 0.14| |
| 89 | |H48 h11 |56.5 GiB| 0.08| 0.43| 1.86| 12.20| 15.39| | 89 | |H48 h11 |56.5 GiB| 0.08| 0.41| 1.80| 11.96| 15.28| |
| 90 | |vcube 404 |31.8 GiB| 0.23| 1.24| 6.10| 59.33| 268.26| | 90 | |vcube 404 |31.8 GiB| 0.23| 1.24| 6.10| 59.33| 268.26| |
| 91 | |egg h10 |29.0 GiB| 0.02| 0.10| 0.46| 3.96| 0.24| | 91 | |egg h10 |29.0 GiB| 0.02| 0.10| 0.45| 3.96| 0.24| |
| 92 | |H48 h10 |28.3 GiB| 0.13| 0.69| 3.37| 23.15| 38.00| | 92 | |H48 h10 |28.3 GiB| 0.12| 0.69| 3.31| 24.85| 38.18| |
| 93 | |vcube 308 |21.2 GiB| 0.17| 1.02| 6.20| 58.70| 604.35| | 93 | |vcube 308 |21.2 GiB| 0.17| 1.02| 6.20| 58.70| 604.35| |
| 94 | |egg h9 |14.5 GiB| 0.03| 0.21| 0.98| | | | 94 | |egg h9 |14.5 GiB| 0.03| 0.18| 0.87| | | |
| 95 | |H48 h9 |14.1 GiB| 0.22| 1.43| 6.56| | | | 95 | |H48 h9 |14.1 GiB| 0.22| 1.43| 6.53| | | |
| 96 | |vcube 208 | 7.3 GiB| 0.56| 4.36| 20.58| | | | 96 | |vcube 208 | 7.3 GiB| 0.56| 4.36| 20.58| | | |
| 97 | |egg h8 | 7.2 GiB| 0.06| 0.36| 1.69| | | | 97 | |egg h8 | 7.2 GiB| 0.06| 0.36| 1.64| | | |
| 98 | |H48 h8 | 7.1 GiB| 0.46| 3.43| 14.18| | | | 98 | |H48 h8 | 7.1 GiB| 0.46| 3.41| 14.23| | | |
| 99 | |egg h7 | 3.6 GiB| 0.10| 0.74| 3.88| | | | 99 | |egg h7 | 3.6 GiB| 0.10| 0.74| 4.00| | | |
| 100 | |H48 h7 | 3.5 GiB| 0.63| 4.84| 23.31| | | | 100 | |H48 h7 | 3.5 GiB| 0.63| 4.87| 23.39| | | |
| 101 | |vcube 112 | 2.4 GiB| 0.96| 9.29| 40.52| | | | 101 | |vcube 112 | 2.4 GiB| 0.96| 9.29| 40.52| | | |
| 102 | |egg h6 | 1.8 GiB| 0.21| 1.60| 8.62| | | | 102 | |egg h6 | 1.8 GiB| 0.18| 1.40| 7.69| | | |
| 103 | |H48 h6 | 1.8 GiB| 1.26| 9.51| 47.14| | | | 103 | |H48 h6 | 1.8 GiB| 1.26| 9.47| 46.81| | | |
| 104 | 104 | ||
| 105 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). | 105 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |
| 106 | 106 | ||
| 107 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 107 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 108 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 108 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 109 | |vcube 212 |58.2 GiB| 6.43| 43.80| 199.38| 1587.43| 1122.73| | 109 | |vcube 212 |58.2 GiB| 6.43| 43.80| 199.38| 1587.43| 1122.73| |
| 110 | |egg h11 |58.0 GiB| 0.55| 3.32| 13.97| 124.06| 7.93| | 110 | |egg h11 |58.0 GiB| 0.55| 3.30| 14.11| 123.79| 7.94| |
| 111 | |H48 h11 |56.5 GiB| 4.56| 24.55| 104.96| 689.22| 869.37| | 111 | |H48 h11 |56.5 GiB| 4.31| 23.34| 101.61| 675.65| 863.48| |
| 112 | |vcube 404 |31.8 GiB| 7.40| 39.47| 194.01| 1887.94| 8535.87| | 112 | |vcube 404 |31.8 GiB| 7.40| 39.47| 194.01| 1887.94| 8535.87| |
| 113 | |egg h10 |29.0 GiB| 0.48| 2.85| 13.48| 114.83| 7.08| | 113 | |egg h10 |29.0 GiB| 0.49| 2.84| 12.91| 114.83| 6.92| |
| 114 | |H48 h10 |28.3 GiB| 3.62| 19.45| 95.15| 654.05| 1073.69| | 114 | |H48 h10 |28.3 GiB| 3.50| 19.36| 93.65| 702.04| 1078.64| |
| 115 | |vcube 308 |21.2 GiB| 3.51| 21.71| 131.50| 1245.26| 12819.94| | 115 | |vcube 308 |21.2 GiB| 3.51| 21.71| 131.50| 1245.26| 12819.94| |
| 116 | |egg h9 |14.5 GiB| 0.50| 3.00| 14.22| | | | 116 | |egg h9 |14.5 GiB| 0.46| 2.64| 12.61| | | |
| 117 | |H48 h9 |14.1 GiB| 3.11| 20.18| 92.68| | | | 117 | |H48 h9 |14.1 GiB| 3.10| 20.21| 92.31| | | |
| 118 | |vcube 208 | 7.3 GiB| 4.08| 31.74| 149.68| | | | 118 | |vcube 208 | 7.3 GiB| 4.08| 31.74| 149.68| | | |
| 119 | |egg h8 | 7.2 GiB| 0.45| 2.63| 12.27| | | | 119 | |egg h8 | 7.2 GiB| 0.44| 2.62| 11.88| | | |
| 120 | |H48 h8 | 7.1 GiB| 3.23| 24.26| 100.15| | | | 120 | |H48 h8 | 7.1 GiB| 3.22| 24.11| 100.55| | | |
| 121 | |egg h7 | 3.6 GiB| 0.36| 2.69| 14.05| | | | 121 | |egg h7 | 3.6 GiB| 0.36| 2.69| 14.48| | | |
| 122 | |H48 h7 | 3.5 GiB| 2.22| 17.12| 82.35| | | | 122 | |H48 h7 | 3.5 GiB| 2.23| 17.22| 82.63| | | |
| 123 | |vcube 112 | 2.4 GiB| 2.33| 22.53| 98.23| | | | 123 | |vcube 112 | 2.4 GiB| 2.33| 22.53| 98.23| | | |
| 124 | |egg h6 | 1.8 GiB| 0.37| 2.89| 15.62| | | | 124 | |egg h6 | 1.8 GiB| 0.33| 2.54| 13.94| | | |
| 125 | |H48 h6 | 1.8 GiB| 2.24| 16.80| 83.33| | | | 125 | |H48 h6 | 1.8 GiB| 2.23| 16.75| 82.75| | | |
| 126 | 126 | ||
| 127 | <img src="img/17moves1thread.png"> | 127 | <img src="img/17moves1thread.png"> |
| 128 | <img src="img/18moves1thread.png"> | 128 | <img src="img/18moves1thread.png"> |
| @@ -149,6 +149,7 @@ For the reasons mentioned above, in this section we will only compare H48 | |||
| 149 | and egg-solver; for the latter with enable per-cube parallelization using | 149 | and egg-solver; for the latter with enable per-cube parallelization using |
| 150 | the `-c 1` option. | 150 | the `-c 1` option. |
| 151 | 151 | ||
| 152 | |||
| 152 | <!-- The following details block can be found in benchmarks/tables_4_threads.md --> | 153 | <!-- The following details block can be found in benchmarks/tables_4_threads.md --> |
| 153 | <details><summary>Results: Single solution, 4 threads</summary> | 154 | <details><summary>Results: Single solution, 4 threads</summary> |
| 154 | 155 | ||
| @@ -156,35 +157,35 @@ Time per cube (in seconds, lower is better). | |||
| 156 | 157 | ||
| 157 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 158 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 158 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 159 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 159 | |egg h11 |58.0 GiB| 0.00| 0.01| 0.06| 0.55| 0.03| | 160 | |egg h11 |58.0 GiB| 0.00| 0.02| 0.06| 0.55| 0.03| |
| 160 | |H48 h11 |56.5 GiB| 0.03| 0.13| 0.50| 3.24| 4.17| | 161 | |H48 h11 |56.5 GiB| 0.03| 0.12| 0.48| 3.15| 4.15| |
| 161 | |egg h10 |29.0 GiB| 0.00| 0.02| 0.12| 1.02| 0.09| | 162 | |egg h10 |29.0 GiB| 0.00| 0.02| 0.12| 1.02| 0.09| |
| 162 | |H48 h10 |28.3 GiB| 0.05| 0.18| 0.90| 6.21| 9.85| | 163 | |H48 h10 |28.3 GiB| 0.04| 0.17| 0.89| 6.14| 9.81| |
| 163 | |egg h9 |14.5 GiB| 0.01| 0.05| 0.25| | | | 164 | |egg h9 |14.5 GiB| 0.01| 0.05| 0.23| | | |
| 164 | |H48 h9 |14.1 GiB| 0.07| 0.39| 1.73| 12.50| 18.97| | 165 | |H48 h9 |14.1 GiB| 0.07| 0.39| 1.71| 12.55| 18.81| |
| 165 | |egg h8 | 7.2 GiB| 0.02| 0.09| 0.43| | | | 166 | |egg h8 | 7.2 GiB| 0.02| 0.09| 0.43| | | |
| 166 | |H48 h8 | 7.1 GiB| 0.13| 0.91| 3.71| | | | 167 | |H48 h8 | 7.1 GiB| 0.13| 0.90| 3.72| | | |
| 167 | |egg h7 | 3.6 GiB| 0.03| 0.19| 1.08| | | | 168 | |egg h7 | 3.6 GiB| 0.03| 0.19| 1.09| | | |
| 168 | |H48 h7 | 3.5 GiB| 0.18| 1.29| 6.19| | | | 169 | |H48 h7 | 3.5 GiB| 0.17| 1.28| 6.13| | | |
| 169 | |egg h6 | 1.8 GiB| 0.05| 0.39| 2.23| | | | 170 | |egg h6 | 1.8 GiB| 0.05| 0.36| 2.01| | | |
| 170 | |H48 h6 | 1.8 GiB| 0.34| 2.48| 12.33| | | | 171 | |H48 h6 | 1.8 GiB| 0.34| 2.48| 12.25| | | |
| 171 | 172 | ||
| 172 | Speed-up factor (higher is better). | 173 | Speed-up factor (higher is better). |
| 173 | 174 | ||
| 174 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 175 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 175 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 176 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 176 | |egg h11 |58.0 GiB| 3.57| 3.85| 3.72| 3.90| 5.41| | 177 | |egg h11 |58.0 GiB| 3.47| 3.78| 3.90| 3.88| 5.40| |
| 177 | |H48 h11 |56.5 GiB| 2.51| 3.44| 3.75| 3.77| 3.69| | 178 | |H48 h11 |56.5 GiB| 2.44| 3.40| 3.72| 3.79| 3.69| |
| 178 | |egg h10 |29.0 GiB| 3.68| 4.03| 3.92| 3.89| 2.78| | 179 | |egg h10 |29.0 GiB| 3.68| 4.04| 3.78| 3.90| 2.72| |
| 179 | |H48 h10 |28.3 GiB| 2.79| 3.91| 3.75| 3.73| 3.86| | 180 | |H48 h10 |28.3 GiB| 2.80| 4.00| 3.72| 4.05| 3.89| |
| 180 | |egg h9 |14.5 GiB| 3.80| 4.20| 3.91| | | | 181 | |egg h9 |14.5 GiB| 3.78| 3.95| 3.75| | | |
| 181 | |H48 h9 |14.1 GiB| 3.18| 3.66| 3.79| | | | 182 | |H48 h9 |14.1 GiB| 3.17| 3.70| 3.82| | | |
| 182 | |egg h8 | 7.2 GiB| 3.81| 4.01| 3.91| | | | 183 | |egg h8 | 7.2 GiB| 3.66| 3.97| 3.78| | | |
| 183 | |H48 h8 | 7.1 GiB| 3.48| 3.78| 3.82| | | | 184 | |H48 h8 | 7.1 GiB| 3.52| 3.80| 3.83| | | |
| 184 | |egg h7 | 3.6 GiB| 3.81| 3.88| 3.59| | | | 185 | |egg h7 | 3.6 GiB| 3.78| 3.86| 3.68| | | |
| 185 | |H48 h7 | 3.5 GiB| 3.43| 3.75| 3.77| | | | 186 | |H48 h7 | 3.5 GiB| 3.61| 3.82| 3.82| | | |
| 186 | |egg h6 | 1.8 GiB| 3.93| 4.09| 3.87| | | | 187 | |egg h6 | 1.8 GiB| 3.83| 3.92| 3.82| | | |
| 187 | |H48 h6 | 1.8 GiB| 3.73| 3.84| 3.82| | | | 188 | |H48 h6 | 1.8 GiB| 3.74| 3.82| 3.82| | | |
| 188 | 189 | ||
| 189 | <img src="img/H48_4_threads_speedup_factor.png"> | 190 | <img src="img/H48_4_threads_speedup_factor.png"> |
| 190 | <img src="img/egg_4_threads_speedup_factor.png"> | 191 | <img src="img/egg_4_threads_speedup_factor.png"> |
| @@ -198,35 +199,35 @@ Time per cube (in seconds, lower is better). | |||
| 198 | 199 | ||
| 199 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 200 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 200 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 201 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 201 | |egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.28| 0.02| | 202 | |egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.26| 0.02| |
| 202 | |H48 h11 |56.5 GiB| 0.02| 0.06| 0.21| 1.16| 1.84| | 203 | |H48 h11 |56.5 GiB| 0.02| 0.05| 0.19| 1.13| 1.87| |
| 203 | |egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.50| 0.03| | 204 | |egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.48| 0.05| |
| 204 | |H48 h10 |28.3 GiB| 0.03| 0.08| 0.34| 2.24| 4.21| | 205 | |H48 h10 |28.3 GiB| 0.02| 0.07| 0.33| 2.21| 4.17| |
| 205 | |egg h9 |14.5 GiB| 0.00| 0.02| 0.11| | | | 206 | |egg h9 |14.5 GiB| 0.00| 0.02| 0.11| | | |
| 206 | |H48 h9 |14.1 GiB| 0.03| 0.14| 0.64| 4.43| 8.04| | 207 | |H48 h9 |14.1 GiB| 0.03| 0.14| 0.63| 4.39| 8.01| |
| 207 | |egg h8 | 7.2 GiB| 0.01| 0.04| 0.21| | | | 208 | |egg h8 | 7.2 GiB| 0.01| 0.04| 0.20| | | |
| 208 | |H48 h8 | 7.1 GiB| 0.06| 0.30| 1.36| | | | 209 | |H48 h8 | 7.1 GiB| 0.06| 0.29| 1.36| | | |
| 209 | |egg h7 | 3.6 GiB| 0.01| 0.09| 0.53| | | | 210 | |egg h7 | 3.6 GiB| 0.01| 0.09| 0.52| | | |
| 210 | |H48 h7 | 3.5 GiB| 0.08| 0.41| 2.20| | | | 211 | |H48 h7 | 3.5 GiB| 0.07| 0.40| 2.18| | | |
| 211 | |egg h6 | 1.8 GiB| 0.02| 0.18| 0.97| | | | 212 | |egg h6 | 1.8 GiB| 0.02| 0.16| 0.94| | | |
| 212 | |H48 h6 | 1.8 GiB| 0.13| 0.77| 4.37| | | | 213 | |H48 h6 | 1.8 GiB| 0.13| 0.76| 4.33| | | |
| 213 | 214 | ||
| 214 | Speed-up factor (higher is better). | 215 | Speed-up factor (higher is better). |
| 215 | 216 | ||
| 216 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 217 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 217 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 218 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 218 | |egg h11 |58.0 GiB| 6.27| 7.35| 7.59| 7.76| 7.61| | 219 | |egg h11 |58.0 GiB| 6.70| 7.77| 8.08| 8.10| 9.07| |
| 219 | |H48 h11 |56.5 GiB| 3.73| 7.32| 8.87| 10.54| 8.35| | 220 | |H48 h11 |56.5 GiB| 3.72| 7.58| 9.52| 10.55| 8.19| |
| 220 | |egg h10 |29.0 GiB| 6.86| 8.10| 8.02| 7.92| 7.13| | 221 | |egg h10 |29.0 GiB| 7.33| 8.53| 8.04| 8.27| 5.14| |
| 221 | |H48 h10 |28.3 GiB| 4.76| 8.60| 9.84| 10.34| 9.03| | 222 | |H48 h10 |28.3 GiB| 5.01| 9.25| 10.09| 11.22| 9.15| |
| 222 | |egg h9 |14.5 GiB| 7.84| 9.10| 8.56| | | | 223 | |egg h9 |14.5 GiB| 7.65| 8.33| 7.96| | | |
| 223 | |H48 h9 |14.1 GiB| 6.34| 10.07| 10.19| | | | 224 | |H48 h9 |14.1 GiB| 6.48| 10.56| 10.37| | | |
| 224 | |egg h8 | 7.2 GiB| 7.71| 8.36| 8.04| | | | 225 | |egg h8 | 7.2 GiB| 7.78| 8.48| 8.04| | | |
| 225 | |H48 h8 | 7.1 GiB| 7.51| 11.36| 10.43| | | | 226 | |H48 h8 | 7.1 GiB| 8.02| 11.69| 10.49| | | |
| 226 | |egg h7 | 3.6 GiB| 8.00| 8.15| 7.32| | | | 227 | |egg h7 | 3.6 GiB| 7.90| 8.22| 7.70| | | |
| 227 | |H48 h7 | 3.5 GiB| 8.21| 11.75| 10.61| | | | 228 | |H48 h7 | 3.5 GiB| 8.78| 12.24| 10.73| | | |
| 228 | |egg h6 | 1.8 GiB| 8.62| 8.96| 8.89| | | | 229 | |egg h6 | 1.8 GiB| 8.16| 8.55| 8.21| | | |
| 229 | |H48 h6 | 1.8 GiB| 9.38| 12.31| 10.80| | | | 230 | |H48 h6 | 1.8 GiB| 9.75| 12.48| 10.80| | | |
| 230 | 231 | ||
| 231 | <img src="img/H48_16_threads_speedup_factor.png"> | 232 | <img src="img/H48_16_threads_speedup_factor.png"> |
| 232 | <img src="img/egg_16_threads_speedup_factor.png"> | 233 | <img src="img/egg_16_threads_speedup_factor.png"> |
| @@ -259,35 +260,35 @@ Time per cube (in seconds, lower is better). | |||
| 259 | 260 | ||
| 260 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 261 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 261 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 262 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 262 | |egg h11 |58.0 GiB| 0.00| 0.05| 0.54| 5.08| 15.38| | 263 | |egg h11 |58.0 GiB| 0.00| 0.04| 0.41| 3.91| 0.30| |
| 263 | |H48 h11 |56.5 GiB| 0.04| 0.24| 1.88| 3.88| 1.86| | 264 | |H48 h11 |56.5 GiB| 0.03| 0.22| 1.89| 16.01| 17.02| |
| 264 | |egg h10 |29.0 GiB| 0.01| 0.09| 1.00| 9.42| 31.05| | 265 | |egg h10 |29.0 GiB| 0.01| 0.07| 0.74| 7.08| 0.60| |
| 265 | |H48 h10 |28.3 GiB| 0.05| 0.39| 3.51| 7.54| 4.29| | 266 | |H48 h10 |28.3 GiB| 0.05| 0.38| 3.60| 30.97| 36.41| |
| 266 | |egg h9 |14.5 GiB| 0.01| 0.17| 1.97| | | | 267 | |egg h9 |14.5 GiB| 0.01| 0.13| 1.43| | | |
| 267 | |H48 h9 |14.1 GiB| 0.08| 0.73| 6.92| | | | 268 | |H48 h9 |14.1 GiB| 0.07| 0.71| 7.14| | | |
| 268 | |egg h8 | 7.2 GiB| 0.03| 0.31| 3.49| | | | 269 | |egg h8 | 7.2 GiB| 0.02| 0.25| 2.78| | | |
| 269 | |H48 h8 | 7.1 GiB| 0.16| 1.54| 14.78| | | | 270 | |H48 h8 | 7.1 GiB| 0.14| 1.52| 15.20| | | |
| 270 | |egg h7 | 3.6 GiB| 0.04| 0.57| 6.38| | | | 271 | |egg h7 | 3.6 GiB| 0.04| 0.49| 5.83| | | |
| 271 | |H48 h7 | 3.5 GiB| 0.22| 2.37| 25.35| | | | 272 | |H48 h7 | 3.5 GiB| 0.21| 2.33| 26.16| | | |
| 272 | |egg h6 | 1.8 GiB| 0.10| 1.27| 14.93| | | | 273 | |egg h6 | 1.8 GiB| 0.07| 0.91| 10.96| | | |
| 273 | |H48 h6 | 1.8 GiB| 0.40| 4.58| 50.17| | | | 274 | |H48 h6 | 1.8 GiB| 0.39| 4.60| 52.07| | | |
| 274 | 275 | ||
| 275 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). | 276 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |
| 276 | 277 | ||
| 277 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 278 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 278 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 279 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 279 | |egg h11 |58.0 GiB| 0.25| 2.88| 31.12| 294.67| 892.07| | 280 | |egg h11 |58.0 GiB| 0.20| 2.21| 23.79| 226.71| 17.30| |
| 280 | |H48 h11 |56.5 GiB| 2.00| 13.40| 106.21| 219.43| 105.10| | 281 | |H48 h11 |56.5 GiB| 1.81| 12.50| 107.05| 904.39| 961.58| |
| 281 | |egg h10 |29.0 GiB| 0.22| 2.58| 28.89| 273.08| 900.34| | 282 | |egg h10 |29.0 GiB| 0.17| 1.94| 21.32| 205.40| 17.50| |
| 282 | |H48 h10 |28.3 GiB| 1.45| 11.13| 99.17| 212.94| 121.20| | 283 | |H48 h10 |28.3 GiB| 1.29| 10.85| 101.62| 874.93| 1028.73| |
| 283 | |egg h9 |14.5 GiB| 0.21| 2.51| 28.49| | | | 284 | |egg h9 |14.5 GiB| 0.15| 1.83| 20.75| | | |
| 284 | |H48 h9 |14.1 GiB| 1.13| 10.25| 97.80| | | | 285 | |H48 h9 |14.1 GiB| 1.04| 10.03| 100.84| | | |
| 285 | |egg h8 | 7.2 GiB| 0.18| 2.25| 25.30| | | | 286 | |egg h8 | 7.2 GiB| 0.15| 1.78| 20.16| | | |
| 286 | |H48 h8 | 7.1 GiB| 1.10| 10.85| 104.41| | | | 287 | |H48 h8 | 7.1 GiB| 1.01| 10.77| 107.38| | | |
| 287 | |egg h7 | 3.6 GiB| 0.16| 2.05| 23.11| | | | 288 | |egg h7 | 3.6 GiB| 0.14| 1.78| 21.14| | | |
| 288 | |H48 h7 | 3.5 GiB| 0.79| 8.38| 89.57| | | | 289 | |H48 h7 | 3.5 GiB| 0.73| 8.25| 92.42| | | |
| 289 | |egg h6 | 1.8 GiB| 0.18| 2.29| 27.06| | | | 290 | |egg h6 | 1.8 GiB| 0.13| 1.66| 19.86| | | |
| 290 | |H48 h6 | 1.8 GiB| 0.71| 8.10| 88.68| | | | 291 | |H48 h6 | 1.8 GiB| 0.69| 8.13| 92.04| | | |
| 291 | 292 | ||
| 292 | <img src="img/17movesallsolutions16threads.png"> | 293 | <img src="img/17movesallsolutions16threads.png"> |
| 293 | <img src="img/18movesallsolutions16threads.png"> | 294 | <img src="img/18movesallsolutions16threads.png"> |
| @@ -296,9 +297,6 @@ Time per cube adjusted for table size (in seconds \* GiB, lower is better). | |||
| 296 | 297 | ||
| 297 | </details> | 298 | </details> |
| 298 | 299 | ||
| 299 | For all-solutions egg-solver's advantage reduces to 3x-4x, and for | ||
| 300 | 20 moves scrambles it appears to be even slower than H48. | ||
| 301 | |||
| 302 | ## Other notes | 300 | ## Other notes |
| 303 | 301 | ||
| 304 | * To repeat the benchmarks for H48, use `./benchmarks/run-h48-benchmarks.sh`. | 302 | * To repeat the benchmarks for H48, use `./benchmarks/run-h48-benchmarks.sh`. |
diff --git a/benchmarks/img/17moves1thread.png b/benchmarks/img/17moves1thread.png index c5a4db0..4e94beb 100644 --- a/benchmarks/img/17moves1thread.png +++ b/benchmarks/img/17moves1thread.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/17movesallsolutions16threads.png b/benchmarks/img/17movesallsolutions16threads.png index b28595f..74ce993 100644 --- a/benchmarks/img/17movesallsolutions16threads.png +++ b/benchmarks/img/17movesallsolutions16threads.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/18moves1thread.png b/benchmarks/img/18moves1thread.png index 71e41cc..2b23c47 100644 --- a/benchmarks/img/18moves1thread.png +++ b/benchmarks/img/18moves1thread.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/18movesallsolutions16threads.png b/benchmarks/img/18movesallsolutions16threads.png index d7b4779..865917f 100644 --- a/benchmarks/img/18movesallsolutions16threads.png +++ b/benchmarks/img/18movesallsolutions16threads.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/19moves1thread.png b/benchmarks/img/19moves1thread.png index b70eb9e..282d2a2 100644 --- a/benchmarks/img/19moves1thread.png +++ b/benchmarks/img/19moves1thread.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/19movesallsolutions16threads.png b/benchmarks/img/19movesallsolutions16threads.png index ba0ebea..13c1de1 100644 --- a/benchmarks/img/19movesallsolutions16threads.png +++ b/benchmarks/img/19movesallsolutions16threads.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/20moves1thread.png b/benchmarks/img/20moves1thread.png index 6f058a0..fdc1074 100644 --- a/benchmarks/img/20moves1thread.png +++ b/benchmarks/img/20moves1thread.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/20movesallsolutions16threads.png b/benchmarks/img/20movesallsolutions16threads.png index 6058304..4d1ce4b 100644 --- a/benchmarks/img/20movesallsolutions16threads.png +++ b/benchmarks/img/20movesallsolutions16threads.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/H48_16_threads_speedup_factor.png b/benchmarks/img/H48_16_threads_speedup_factor.png index 1bbd2f8..4b64f3c 100644 --- a/benchmarks/img/H48_16_threads_speedup_factor.png +++ b/benchmarks/img/H48_16_threads_speedup_factor.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/H48_4_threads_speedup_factor.png b/benchmarks/img/H48_4_threads_speedup_factor.png index 40cf8ec..b7efef0 100644 --- a/benchmarks/img/H48_4_threads_speedup_factor.png +++ b/benchmarks/img/H48_4_threads_speedup_factor.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/egg_16_threads_speedup_factor.png b/benchmarks/img/egg_16_threads_speedup_factor.png index 4977092..ed01b10 100644 --- a/benchmarks/img/egg_16_threads_speedup_factor.png +++ b/benchmarks/img/egg_16_threads_speedup_factor.png | |||
| Binary files differ | |||
diff --git a/benchmarks/img/egg_4_threads_speedup_factor.png b/benchmarks/img/egg_4_threads_speedup_factor.png index 648ce55..3f30ee1 100644 --- a/benchmarks/img/egg_4_threads_speedup_factor.png +++ b/benchmarks/img/egg_4_threads_speedup_factor.png | |||
| Binary files differ | |||
diff --git a/benchmarks/results_egg.py b/benchmarks/results_egg.py index 57251f2..3df6f51 100644 --- a/benchmarks/results_egg.py +++ b/benchmarks/results_egg.py | |||
| @@ -1,36 +1,36 @@ | |||
| 1 | egg_single_thread = { | 1 | egg_single_thread = { |
| 2 | 6: {17: 5.139311, 18: 39.910660, 19: 215.513895}, | 2 | 6: {17: 4.609876, 18: 35.089534, 19: 192.268849}, |
| 3 | 7: {17: 2.504008, 18: 18.529593, 19: 96.897878}, | 3 | 7: {17: 2.471547, 18: 18.584586, 19: 99.915456}, |
| 4 | 8: {17: 1.549367, 18: 9.064201, 19: 42.325193}, | 4 | 8: {17: 1.528595, 18: 9.025466, 19: 40.961597}, |
| 5 | 9: {17: 0.858265, 18: 5.172505, 19: 24.518997}, | 5 | 9: {17: 0.786750, 18: 4.546150, 19: 21.748202}, |
| 6 | 10: {17: 0.417568, 18: 2.459152, 19: 11.623105, 20: 99.011990, "superflip": 0.244296}, | 6 | 10: {17: 0.418535, 18: 2.451250, 19: 11.130237, 20: 99.017656, "superflip": 0.238771}, |
| 7 | 11: {17: 0.238193, 18: 1.432498, 19: 6.021714, 20: 53.487854, "superflip": 0.136739}, | 7 | 11: {17: 0.235210, 18: 1.422167, 19: 6.084730, 20: 53.370538, "superflip": 0.136872}, |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | egg_4_threads = { | 10 | egg_4_threads = { |
| 11 | 6: {17: 1.306705, 18: 9.759825, 19: 55.629836}, | 11 | 6: {17: 1.204782, 18: 8.961903, 19: 50.286224}, |
| 12 | 7: {17: 0.656651, 18: 4.781186, 19: 26.968132}, | 12 | 7: {17: 0.653938, 18: 4.817416, 19: 27.152640}, |
| 13 | 8: {17: 0.406570, 18: 2.262452, 19: 10.828606}, | 13 | 8: {17: 0.417459, 18: 2.274098, 19: 10.843666}, |
| 14 | 9: {17: 0.225972, 18: 1.230342, 19: 6.270499}, | 14 | 9: {17: 0.208189, 18: 1.151343, 19: 5.802237}, |
| 15 | 10: {17: 0.113393, 18: 0.610004, 19: 2.963694, 20: 25.467137, "superflip": 0.087832}, | 15 | 10: {17: 0.113871, 18: 0.606310, 19: 2.945785, 20: 25.411329, "superflip": 0.087885}, |
| 16 | 11: {17: 0.066650, 18: 0.372158, 19: 1.617824, 20: 13.699318, "superflip": 0.025293}, | 16 | 11: {17: 0.067748, 18: 0.376237, 19: 1.559648, 20: 13.764122, "superflip": 0.025328}, |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | egg_16_threads = { | 19 | egg_16_threads = { |
| 20 | 6: {17: 0.596467, 18: 4.455692, 19: 24.234698}, | 20 | 6: {17: 0.564608, 18: 4.104889, 19: 23.417746}, |
| 21 | 7: {17: 0.313078, 18: 2.272664, 19: 13.245863}, | 21 | 7: {17: 0.312988, 18: 2.261877, 19: 12.977691}, |
| 22 | 8: {17: 0.200848, 18: 1.084005, 19: 5.266139}, | 22 | 8: {17: 0.196456, 18: 1.064142, 19: 5.094686}, |
| 23 | 9: {17: 0.109538, 18: 0.568547, 19: 2.863034}, | 23 | 9: {17: 0.102821, 18: 0.545451, 19: 2.731449}, |
| 24 | 10: {17: 0.060911, 18: 0.303420, 19: 1.449804, 20: 12.498059, "superflip": 0.034263}, | 24 | 10: {17: 0.057076, 18: 0.287307, 19: 1.383924, 20: 11.970150, "superflip": 0.046427}, |
| 25 | 11: {17: 0.037969, 18: 0.194775, 19: 0.793440, 20: 6.893702, "superflip": 0.017957}, | 25 | 11: {17: 0.035095, 18: 0.183081, 19: 0.753051, 20: 6.589032, "superflip": 0.015083}, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | egg_all_solutions = { | 28 | egg_all_solutions = { |
| 29 | 6: {17: 2.448883, 18: 31.628611, 19: 373.309154}, | 29 | 6: {17: 1.793372, 18: 22.840409, 19: 273.945286}, |
| 30 | 7: {17: 1.096209, 18: 14.131642, 19: 159.427805}, | 30 | 7: {17: 0.959037, 18: 12.308774, 19: 145.794534}, |
| 31 | 8: {17: 0.636421, 18: 7.748630, 19: 87.271360}, | 31 | 8: {17: 0.501669, 18: 6.126051, 19: 69.539244}, |
| 32 | 9: {17: 0.353850, 18: 4.327602, 19: 49.125814}, | 32 | 9: {17: 0.266019, 18: 3.156503, 19: 35.782580}, |
| 33 | 10: {17: 0.187192, 18: 2.222200, 19: 24.909298, 20: 235.468196, "superflip": 31.053940}, | 33 | 10: {17: 0.144499, 18: 1.673625, 19: 18.380062, 20: 177.110726, "superflip": 0.603734}, |
| 34 | 11: {17: 0.107630, 18: 1.242064, 19: 13.417236, 20: 127.044933, "superflip": 15.384209}, | 34 | 11: {17: 0.086052, 18: 0.952433, 19: 10.256043, 20: 97.742791, "superflip": 0.298389}, |
| 35 | } | 35 | } |
| 36 | 36 | ||
diff --git a/benchmarks/results_h48.py b/benchmarks/results_h48.py index db3f61d..bb8a9b5 100644 --- a/benchmarks/results_h48.py +++ b/benchmarks/results_h48.py | |||
| @@ -1,36 +1,36 @@ | |||
| 1 | h48_single_thread = { | 1 | h48_single_thread = { |
| 2 | 6: {17: 31.6146, 18: 237.6538, 19: 1178.5629}, | 2 | 6: {17: 31.5819, 18: 236.8540, 19: 1170.3107}, |
| 3 | 7: {17: 15.7297, 18: 121.1100, 19: 582.6646}, | 3 | 7: {17: 15.7882, 18: 121.8373, 19: 584.6421}, |
| 4 | 8: {17: 11.4289, 18: 85.8390, 19: 354.3900}, | 4 | 8: {17: 11.3926, 18: 85.3061, 19: 355.8337}, |
| 5 | 9: {17: 5.4948, 18: 35.7112, 19: 164.0113}, | 5 | 9: {17: 5.4884, 18: 35.7591, 19: 163.3503}, |
| 6 | 10: {17: 3.2011, 18: 17.2078, 19: 84.1986, 20: 578.7479, "superflip": 38.0028}, | 6 | 10: {17: 3.0987, 18: 17.1291, 19: 82.8706, 20: 621.2123, "superflip": 38.1781}, |
| 7 | 11: {17: 2.0178, 18: 10.8605, 19: 46.4395, 20: 304.9428, "superflip": 15.3861}, | 7 | 11: {17: 1.9052, 18: 10.3265, 19: 44.9568, 20: 298.9377, "superflip": 15.2818}, |
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | h48_4_threads = { | 10 | h48_4_threads = { |
| 11 | 6: {17: 8.4831, 18: 61.8787, 19: 308.3152}, | 11 | 6: {17: 8.4406, 18: 61.9990, 19: 306.2755}, |
| 12 | 7: {17: 4.5843, 18: 32.2699, 19: 154.6502}, | 12 | 7: {17: 4.3731, 18: 31.8859, 19: 153.1345}, |
| 13 | 8: {17: 3.2842, 18: 22.7150, 19: 92.6903}, | 13 | 8: {17: 3.2401, 18: 22.4264, 19: 92.8979}, |
| 14 | 9: {17: 1.7301, 18: 9.7587, 19: 43.2178, 20: 312.5222, "superflip": 18.9704}, | 14 | 9: {17: 1.7298, 18: 9.6638, 19: 42.7149, 20: 313.6337, "superflip": 18.8145}, |
| 15 | 10: {17: 1.1491, 18: 4.4016, 19: 22.4448, 20: 155.2350, "superflip": 9.8506}, | 15 | 10: {17: 1.1066, 18: 4.2850, 19: 22.2863, 20: 153.3751, "superflip": 9.8111}, |
| 16 | 11: {17: 0.8027, 18: 3.1583, 19: 12.3942, 20: 80.9024, "superflip": 4.1653}, | 16 | 11: {17: 0.7824, 18: 3.0395, 19: 12.0755, 20: 78.8635, "superflip": 4.1457}, |
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | h48_16_threads = { | 19 | h48_16_threads = { |
| 20 | 6: {17: 3.3695, 18: 19.3030, 19: 109.1256}, | 20 | 6: {17: 3.2398, 18: 18.9852, 19: 108.3509}, |
| 21 | 7: {17: 1.9154, 18: 10.3030, 19: 54.8909}, | 21 | 7: {17: 1.7991, 18: 9.9517, 19: 54.4642}, |
| 22 | 8: {17: 1.5225, 18: 7.5543, 19: 33.9840}, | 22 | 8: {17: 1.4210, 18: 7.2961, 19: 33.9347}, |
| 23 | 9: {17: 0.8672, 18: 3.5479, 19: 16.0906, 20: 110.7977, "superflip": 8.0406}, | 23 | 9: {17: 0.8468, 18: 3.3875, 19: 15.7489, 20: 109.7626, "superflip": 8.0064}, |
| 24 | 10: {17: 0.6723, 18: 1.9998, 19: 8.5537, 20: 55.9818, "superflip": 4.2065}, | 24 | 10: {17: 0.6184, 18: 1.8512, 19: 8.2133, 20: 55.3624, "superflip": 4.1721}, |
| 25 | 11: {17: 0.5403, 18: 1.4842, 19: 5.2328, 20: 28.9226, "superflip": 1.8435}, | 25 | 11: {17: 0.5121, 18: 1.3617, 19: 4.7214, 20: 28.3323, "superflip": 1.8655}, |
| 26 | } | 26 | } |
| 27 | 27 | ||
| 28 | h48_all_solutions = { | 28 | h48_all_solutions = { |
| 29 | 6: {17: 10.1111, 18: 114.6104, 19: 1254.2822}, | 29 | 6: {17: 9.7183, 18: 114.9995, 19: 1301.7489}, |
| 30 | 7: {17: 5.5958, 18: 59.2615, 19: 633.7330}, | 30 | 7: {17: 5.1404, 18: 58.3670, 19: 653.9033}, |
| 31 | 8: {17: 3.9038, 18: 38.3942, 19: 369.4771}, | 31 | 8: {17: 3.5655, 18: 38.1233, 19: 379.9974}, |
| 32 | 9: {17: 1.9935, 18: 18.1457, 19: 173.0701}, | 32 | 9: {17: 1.8352, 18: 17.7437, 19: 178.4465}, |
| 33 | 10: {17: 1.2822, 18: 9.8484, 19: 87.7510, 20: 188.4217, "superflip": 4.2900}, | 33 | 10: {17: 1.1418, 18: 9.6021, 19: 89.9210, 20: 774.1962, "superflip": 36.4115}, |
| 34 | 11: {17: 0.8868, 18: 5.9268, 19: 46.9945, 20: 97.0853, "superflip": 1.8600}, | 34 | 11: {17: 0.8027, 18: 5.5318, 19: 47.3648, 20: 400.1439, "superflip": 17.0179}, |
| 35 | } | 35 | } |
| 36 | 36 | ||
diff --git a/benchmarks/tables_16_threads.md b/benchmarks/tables_16_threads.md index a2735c1..b71cdc7 100644 --- a/benchmarks/tables_16_threads.md +++ b/benchmarks/tables_16_threads.md | |||
| @@ -5,35 +5,35 @@ Time per cube (in seconds, lower is better). | |||
| 5 | 5 | ||
| 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 8 | |egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.28| 0.02| | 8 | |egg h11 |58.0 GiB| 0.00| 0.01| 0.03| 0.26| 0.02| |
| 9 | |H48 h11 |56.5 GiB| 0.02| 0.06| 0.21| 1.16| 1.84| | 9 | |H48 h11 |56.5 GiB| 0.02| 0.05| 0.19| 1.13| 1.87| |
| 10 | |egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.50| 0.03| | 10 | |egg h10 |29.0 GiB| 0.00| 0.01| 0.06| 0.48| 0.05| |
| 11 | |H48 h10 |28.3 GiB| 0.03| 0.08| 0.34| 2.24| 4.21| | 11 | |H48 h10 |28.3 GiB| 0.02| 0.07| 0.33| 2.21| 4.17| |
| 12 | |egg h9 |14.5 GiB| 0.00| 0.02| 0.11| | | | 12 | |egg h9 |14.5 GiB| 0.00| 0.02| 0.11| | | |
| 13 | |H48 h9 |14.1 GiB| 0.03| 0.14| 0.64| 4.43| 8.04| | 13 | |H48 h9 |14.1 GiB| 0.03| 0.14| 0.63| 4.39| 8.01| |
| 14 | |egg h8 | 7.2 GiB| 0.01| 0.04| 0.21| | | | 14 | |egg h8 | 7.2 GiB| 0.01| 0.04| 0.20| | | |
| 15 | |H48 h8 | 7.1 GiB| 0.06| 0.30| 1.36| | | | 15 | |H48 h8 | 7.1 GiB| 0.06| 0.29| 1.36| | | |
| 16 | |egg h7 | 3.6 GiB| 0.01| 0.09| 0.53| | | | 16 | |egg h7 | 3.6 GiB| 0.01| 0.09| 0.52| | | |
| 17 | |H48 h7 | 3.5 GiB| 0.08| 0.41| 2.20| | | | 17 | |H48 h7 | 3.5 GiB| 0.07| 0.40| 2.18| | | |
| 18 | |egg h6 | 1.8 GiB| 0.02| 0.18| 0.97| | | | 18 | |egg h6 | 1.8 GiB| 0.02| 0.16| 0.94| | | |
| 19 | |H48 h6 | 1.8 GiB| 0.13| 0.77| 4.37| | | | 19 | |H48 h6 | 1.8 GiB| 0.13| 0.76| 4.33| | | |
| 20 | 20 | ||
| 21 | Speed-up factor (higher is better). | 21 | Speed-up factor (higher is better). |
| 22 | 22 | ||
| 23 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 23 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 24 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 24 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 25 | |egg h11 |58.0 GiB| 6.27| 7.35| 7.59| 7.76| 7.61| | 25 | |egg h11 |58.0 GiB| 6.70| 7.77| 8.08| 8.10| 9.07| |
| 26 | |H48 h11 |56.5 GiB| 3.73| 7.32| 8.87| 10.54| 8.35| | 26 | |H48 h11 |56.5 GiB| 3.72| 7.58| 9.52| 10.55| 8.19| |
| 27 | |egg h10 |29.0 GiB| 6.86| 8.10| 8.02| 7.92| 7.13| | 27 | |egg h10 |29.0 GiB| 7.33| 8.53| 8.04| 8.27| 5.14| |
| 28 | |H48 h10 |28.3 GiB| 4.76| 8.60| 9.84| 10.34| 9.03| | 28 | |H48 h10 |28.3 GiB| 5.01| 9.25| 10.09| 11.22| 9.15| |
| 29 | |egg h9 |14.5 GiB| 7.84| 9.10| 8.56| | | | 29 | |egg h9 |14.5 GiB| 7.65| 8.33| 7.96| | | |
| 30 | |H48 h9 |14.1 GiB| 6.34| 10.07| 10.19| | | | 30 | |H48 h9 |14.1 GiB| 6.48| 10.56| 10.37| | | |
| 31 | |egg h8 | 7.2 GiB| 7.71| 8.36| 8.04| | | | 31 | |egg h8 | 7.2 GiB| 7.78| 8.48| 8.04| | | |
| 32 | |H48 h8 | 7.1 GiB| 7.51| 11.36| 10.43| | | | 32 | |H48 h8 | 7.1 GiB| 8.02| 11.69| 10.49| | | |
| 33 | |egg h7 | 3.6 GiB| 8.00| 8.15| 7.32| | | | 33 | |egg h7 | 3.6 GiB| 7.90| 8.22| 7.70| | | |
| 34 | |H48 h7 | 3.5 GiB| 8.21| 11.75| 10.61| | | | 34 | |H48 h7 | 3.5 GiB| 8.78| 12.24| 10.73| | | |
| 35 | |egg h6 | 1.8 GiB| 8.62| 8.96| 8.89| | | | 35 | |egg h6 | 1.8 GiB| 8.16| 8.55| 8.21| | | |
| 36 | |H48 h6 | 1.8 GiB| 9.38| 12.31| 10.80| | | | 36 | |H48 h6 | 1.8 GiB| 9.75| 12.48| 10.80| | | |
| 37 | 37 | ||
| 38 | <img src="img/H48_16_threads_speedup_factor.png"> | 38 | <img src="img/H48_16_threads_speedup_factor.png"> |
| 39 | <img src="img/egg_16_threads_speedup_factor.png"> | 39 | <img src="img/egg_16_threads_speedup_factor.png"> |
diff --git a/benchmarks/tables_1_thread.md b/benchmarks/tables_1_thread.md index 1f2d7b0..ddd27a6 100644 --- a/benchmarks/tables_1_thread.md +++ b/benchmarks/tables_1_thread.md | |||
| @@ -6,44 +6,44 @@ Time per cube (in seconds, lower is better). | |||
| 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 8 | |vcube 212 |58.2 GiB| 0.11| 0.75| 3.43| 27.28| 19.30| | 8 | |vcube 212 |58.2 GiB| 0.11| 0.75| 3.43| 27.28| 19.30| |
| 9 | |egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.14| 0.14| | 9 | |egg h11 |58.0 GiB| 0.01| 0.06| 0.24| 2.13| 0.14| |
| 10 | |H48 h11 |56.5 GiB| 0.08| 0.43| 1.86| 12.20| 15.39| | 10 | |H48 h11 |56.5 GiB| 0.08| 0.41| 1.80| 11.96| 15.28| |
| 11 | |vcube 404 |31.8 GiB| 0.23| 1.24| 6.10| 59.33| 268.26| | 11 | |vcube 404 |31.8 GiB| 0.23| 1.24| 6.10| 59.33| 268.26| |
| 12 | |egg h10 |29.0 GiB| 0.02| 0.10| 0.46| 3.96| 0.24| | 12 | |egg h10 |29.0 GiB| 0.02| 0.10| 0.45| 3.96| 0.24| |
| 13 | |H48 h10 |28.3 GiB| 0.13| 0.69| 3.37| 23.15| 38.00| | 13 | |H48 h10 |28.3 GiB| 0.12| 0.69| 3.31| 24.85| 38.18| |
| 14 | |vcube 308 |21.2 GiB| 0.17| 1.02| 6.20| 58.70| 604.35| | 14 | |vcube 308 |21.2 GiB| 0.17| 1.02| 6.20| 58.70| 604.35| |
| 15 | |egg h9 |14.5 GiB| 0.03| 0.21| 0.98| | | | 15 | |egg h9 |14.5 GiB| 0.03| 0.18| 0.87| | | |
| 16 | |H48 h9 |14.1 GiB| 0.22| 1.43| 6.56| | | | 16 | |H48 h9 |14.1 GiB| 0.22| 1.43| 6.53| | | |
| 17 | |vcube 208 | 7.3 GiB| 0.56| 4.36| 20.58| | | | 17 | |vcube 208 | 7.3 GiB| 0.56| 4.36| 20.58| | | |
| 18 | |egg h8 | 7.2 GiB| 0.06| 0.36| 1.69| | | | 18 | |egg h8 | 7.2 GiB| 0.06| 0.36| 1.64| | | |
| 19 | |H48 h8 | 7.1 GiB| 0.46| 3.43| 14.18| | | | 19 | |H48 h8 | 7.1 GiB| 0.46| 3.41| 14.23| | | |
| 20 | |egg h7 | 3.6 GiB| 0.10| 0.74| 3.88| | | | 20 | |egg h7 | 3.6 GiB| 0.10| 0.74| 4.00| | | |
| 21 | |H48 h7 | 3.5 GiB| 0.63| 4.84| 23.31| | | | 21 | |H48 h7 | 3.5 GiB| 0.63| 4.87| 23.39| | | |
| 22 | |vcube 112 | 2.4 GiB| 0.96| 9.29| 40.52| | | | 22 | |vcube 112 | 2.4 GiB| 0.96| 9.29| 40.52| | | |
| 23 | |egg h6 | 1.8 GiB| 0.21| 1.60| 8.62| | | | 23 | |egg h6 | 1.8 GiB| 0.18| 1.40| 7.69| | | |
| 24 | |H48 h6 | 1.8 GiB| 1.26| 9.51| 47.14| | | | 24 | |H48 h6 | 1.8 GiB| 1.26| 9.47| 46.81| | | |
| 25 | 25 | ||
| 26 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). | 26 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |
| 27 | 27 | ||
| 28 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 28 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 29 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 29 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 30 | |vcube 212 |58.2 GiB| 6.43| 43.80| 199.38| 1587.43| 1122.73| | 30 | |vcube 212 |58.2 GiB| 6.43| 43.80| 199.38| 1587.43| 1122.73| |
| 31 | |egg h11 |58.0 GiB| 0.55| 3.32| 13.97| 124.06| 7.93| | 31 | |egg h11 |58.0 GiB| 0.55| 3.30| 14.11| 123.79| 7.94| |
| 32 | |H48 h11 |56.5 GiB| 4.56| 24.55| 104.96| 689.22| 869.37| | 32 | |H48 h11 |56.5 GiB| 4.31| 23.34| 101.61| 675.65| 863.48| |
| 33 | |vcube 404 |31.8 GiB| 7.40| 39.47| 194.01| 1887.94| 8535.87| | 33 | |vcube 404 |31.8 GiB| 7.40| 39.47| 194.01| 1887.94| 8535.87| |
| 34 | |egg h10 |29.0 GiB| 0.48| 2.85| 13.48| 114.83| 7.08| | 34 | |egg h10 |29.0 GiB| 0.49| 2.84| 12.91| 114.83| 6.92| |
| 35 | |H48 h10 |28.3 GiB| 3.62| 19.45| 95.15| 654.05| 1073.69| | 35 | |H48 h10 |28.3 GiB| 3.50| 19.36| 93.65| 702.04| 1078.64| |
| 36 | |vcube 308 |21.2 GiB| 3.51| 21.71| 131.50| 1245.26| 12819.94| | 36 | |vcube 308 |21.2 GiB| 3.51| 21.71| 131.50| 1245.26| 12819.94| |
| 37 | |egg h9 |14.5 GiB| 0.50| 3.00| 14.22| | | | 37 | |egg h9 |14.5 GiB| 0.46| 2.64| 12.61| | | |
| 38 | |H48 h9 |14.1 GiB| 3.11| 20.18| 92.68| | | | 38 | |H48 h9 |14.1 GiB| 3.10| 20.21| 92.31| | | |
| 39 | |vcube 208 | 7.3 GiB| 4.08| 31.74| 149.68| | | | 39 | |vcube 208 | 7.3 GiB| 4.08| 31.74| 149.68| | | |
| 40 | |egg h8 | 7.2 GiB| 0.45| 2.63| 12.27| | | | 40 | |egg h8 | 7.2 GiB| 0.44| 2.62| 11.88| | | |
| 41 | |H48 h8 | 7.1 GiB| 3.23| 24.26| 100.15| | | | 41 | |H48 h8 | 7.1 GiB| 3.22| 24.11| 100.55| | | |
| 42 | |egg h7 | 3.6 GiB| 0.36| 2.69| 14.05| | | | 42 | |egg h7 | 3.6 GiB| 0.36| 2.69| 14.48| | | |
| 43 | |H48 h7 | 3.5 GiB| 2.22| 17.12| 82.35| | | | 43 | |H48 h7 | 3.5 GiB| 2.23| 17.22| 82.63| | | |
| 44 | |vcube 112 | 2.4 GiB| 2.33| 22.53| 98.23| | | | 44 | |vcube 112 | 2.4 GiB| 2.33| 22.53| 98.23| | | |
| 45 | |egg h6 | 1.8 GiB| 0.37| 2.89| 15.62| | | | 45 | |egg h6 | 1.8 GiB| 0.33| 2.54| 13.94| | | |
| 46 | |H48 h6 | 1.8 GiB| 2.24| 16.80| 83.33| | | | 46 | |H48 h6 | 1.8 GiB| 2.23| 16.75| 82.75| | | |
| 47 | 47 | ||
| 48 | <img src="img/17moves1thread.png"> | 48 | <img src="img/17moves1thread.png"> |
| 49 | <img src="img/18moves1thread.png"> | 49 | <img src="img/18moves1thread.png"> |
diff --git a/benchmarks/tables_4_threads.md b/benchmarks/tables_4_threads.md index 2ca4a39..fe78f4b 100644 --- a/benchmarks/tables_4_threads.md +++ b/benchmarks/tables_4_threads.md | |||
| @@ -5,35 +5,35 @@ Time per cube (in seconds, lower is better). | |||
| 5 | 5 | ||
| 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 8 | |egg h11 |58.0 GiB| 0.00| 0.01| 0.06| 0.55| 0.03| | 8 | |egg h11 |58.0 GiB| 0.00| 0.02| 0.06| 0.55| 0.03| |
| 9 | |H48 h11 |56.5 GiB| 0.03| 0.13| 0.50| 3.24| 4.17| | 9 | |H48 h11 |56.5 GiB| 0.03| 0.12| 0.48| 3.15| 4.15| |
| 10 | |egg h10 |29.0 GiB| 0.00| 0.02| 0.12| 1.02| 0.09| | 10 | |egg h10 |29.0 GiB| 0.00| 0.02| 0.12| 1.02| 0.09| |
| 11 | |H48 h10 |28.3 GiB| 0.05| 0.18| 0.90| 6.21| 9.85| | 11 | |H48 h10 |28.3 GiB| 0.04| 0.17| 0.89| 6.14| 9.81| |
| 12 | |egg h9 |14.5 GiB| 0.01| 0.05| 0.25| | | | 12 | |egg h9 |14.5 GiB| 0.01| 0.05| 0.23| | | |
| 13 | |H48 h9 |14.1 GiB| 0.07| 0.39| 1.73| 12.50| 18.97| | 13 | |H48 h9 |14.1 GiB| 0.07| 0.39| 1.71| 12.55| 18.81| |
| 14 | |egg h8 | 7.2 GiB| 0.02| 0.09| 0.43| | | | 14 | |egg h8 | 7.2 GiB| 0.02| 0.09| 0.43| | | |
| 15 | |H48 h8 | 7.1 GiB| 0.13| 0.91| 3.71| | | | 15 | |H48 h8 | 7.1 GiB| 0.13| 0.90| 3.72| | | |
| 16 | |egg h7 | 3.6 GiB| 0.03| 0.19| 1.08| | | | 16 | |egg h7 | 3.6 GiB| 0.03| 0.19| 1.09| | | |
| 17 | |H48 h7 | 3.5 GiB| 0.18| 1.29| 6.19| | | | 17 | |H48 h7 | 3.5 GiB| 0.17| 1.28| 6.13| | | |
| 18 | |egg h6 | 1.8 GiB| 0.05| 0.39| 2.23| | | | 18 | |egg h6 | 1.8 GiB| 0.05| 0.36| 2.01| | | |
| 19 | |H48 h6 | 1.8 GiB| 0.34| 2.48| 12.33| | | | 19 | |H48 h6 | 1.8 GiB| 0.34| 2.48| 12.25| | | |
| 20 | 20 | ||
| 21 | Speed-up factor (higher is better). | 21 | Speed-up factor (higher is better). |
| 22 | 22 | ||
| 23 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 23 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 24 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 24 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 25 | |egg h11 |58.0 GiB| 3.57| 3.85| 3.72| 3.90| 5.41| | 25 | |egg h11 |58.0 GiB| 3.47| 3.78| 3.90| 3.88| 5.40| |
| 26 | |H48 h11 |56.5 GiB| 2.51| 3.44| 3.75| 3.77| 3.69| | 26 | |H48 h11 |56.5 GiB| 2.44| 3.40| 3.72| 3.79| 3.69| |
| 27 | |egg h10 |29.0 GiB| 3.68| 4.03| 3.92| 3.89| 2.78| | 27 | |egg h10 |29.0 GiB| 3.68| 4.04| 3.78| 3.90| 2.72| |
| 28 | |H48 h10 |28.3 GiB| 2.79| 3.91| 3.75| 3.73| 3.86| | 28 | |H48 h10 |28.3 GiB| 2.80| 4.00| 3.72| 4.05| 3.89| |
| 29 | |egg h9 |14.5 GiB| 3.80| 4.20| 3.91| | | | 29 | |egg h9 |14.5 GiB| 3.78| 3.95| 3.75| | | |
| 30 | |H48 h9 |14.1 GiB| 3.18| 3.66| 3.79| | | | 30 | |H48 h9 |14.1 GiB| 3.17| 3.70| 3.82| | | |
| 31 | |egg h8 | 7.2 GiB| 3.81| 4.01| 3.91| | | | 31 | |egg h8 | 7.2 GiB| 3.66| 3.97| 3.78| | | |
| 32 | |H48 h8 | 7.1 GiB| 3.48| 3.78| 3.82| | | | 32 | |H48 h8 | 7.1 GiB| 3.52| 3.80| 3.83| | | |
| 33 | |egg h7 | 3.6 GiB| 3.81| 3.88| 3.59| | | | 33 | |egg h7 | 3.6 GiB| 3.78| 3.86| 3.68| | | |
| 34 | |H48 h7 | 3.5 GiB| 3.43| 3.75| 3.77| | | | 34 | |H48 h7 | 3.5 GiB| 3.61| 3.82| 3.82| | | |
| 35 | |egg h6 | 1.8 GiB| 3.93| 4.09| 3.87| | | | 35 | |egg h6 | 1.8 GiB| 3.83| 3.92| 3.82| | | |
| 36 | |H48 h6 | 1.8 GiB| 3.73| 3.84| 3.82| | | | 36 | |H48 h6 | 1.8 GiB| 3.74| 3.82| 3.82| | | |
| 37 | 37 | ||
| 38 | <img src="img/H48_4_threads_speedup_factor.png"> | 38 | <img src="img/H48_4_threads_speedup_factor.png"> |
| 39 | <img src="img/egg_4_threads_speedup_factor.png"> | 39 | <img src="img/egg_4_threads_speedup_factor.png"> |
diff --git a/benchmarks/tables_all_solutions.md b/benchmarks/tables_all_solutions.md index e9923e7..b174850 100644 --- a/benchmarks/tables_all_solutions.md +++ b/benchmarks/tables_all_solutions.md | |||
| @@ -5,35 +5,35 @@ Time per cube (in seconds, lower is better). | |||
| 5 | 5 | ||
| 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 6 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 7 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 8 | |egg h11 |58.0 GiB| 0.00| 0.05| 0.54| 5.08| 15.38| | 8 | |egg h11 |58.0 GiB| 0.00| 0.04| 0.41| 3.91| 0.30| |
| 9 | |H48 h11 |56.5 GiB| 0.04| 0.24| 1.88| 3.88| 1.86| | 9 | |H48 h11 |56.5 GiB| 0.03| 0.22| 1.89| 16.01| 17.02| |
| 10 | |egg h10 |29.0 GiB| 0.01| 0.09| 1.00| 9.42| 31.05| | 10 | |egg h10 |29.0 GiB| 0.01| 0.07| 0.74| 7.08| 0.60| |
| 11 | |H48 h10 |28.3 GiB| 0.05| 0.39| 3.51| 7.54| 4.29| | 11 | |H48 h10 |28.3 GiB| 0.05| 0.38| 3.60| 30.97| 36.41| |
| 12 | |egg h9 |14.5 GiB| 0.01| 0.17| 1.97| | | | 12 | |egg h9 |14.5 GiB| 0.01| 0.13| 1.43| | | |
| 13 | |H48 h9 |14.1 GiB| 0.08| 0.73| 6.92| | | | 13 | |H48 h9 |14.1 GiB| 0.07| 0.71| 7.14| | | |
| 14 | |egg h8 | 7.2 GiB| 0.03| 0.31| 3.49| | | | 14 | |egg h8 | 7.2 GiB| 0.02| 0.25| 2.78| | | |
| 15 | |H48 h8 | 7.1 GiB| 0.16| 1.54| 14.78| | | | 15 | |H48 h8 | 7.1 GiB| 0.14| 1.52| 15.20| | | |
| 16 | |egg h7 | 3.6 GiB| 0.04| 0.57| 6.38| | | | 16 | |egg h7 | 3.6 GiB| 0.04| 0.49| 5.83| | | |
| 17 | |H48 h7 | 3.5 GiB| 0.22| 2.37| 25.35| | | | 17 | |H48 h7 | 3.5 GiB| 0.21| 2.33| 26.16| | | |
| 18 | |egg h6 | 1.8 GiB| 0.10| 1.27| 14.93| | | | 18 | |egg h6 | 1.8 GiB| 0.07| 0.91| 10.96| | | |
| 19 | |H48 h6 | 1.8 GiB| 0.40| 4.58| 50.17| | | | 19 | |H48 h6 | 1.8 GiB| 0.39| 4.60| 52.07| | | |
| 20 | 20 | ||
| 21 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). | 21 | Time per cube adjusted for table size (in seconds \* GiB, lower is better). |
| 22 | 22 | ||
| 23 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| | 23 | |Solver|Size|17 moves|18 moves|19 moves|20 moves|Superflip| |
| 24 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| | 24 | |:-----|:---|-------:|-------:|-------:|-------:|--------:| |
| 25 | |egg h11 |58.0 GiB| 0.25| 2.88| 31.12| 294.67| 892.07| | 25 | |egg h11 |58.0 GiB| 0.20| 2.21| 23.79| 226.71| 17.30| |
| 26 | |H48 h11 |56.5 GiB| 2.00| 13.40| 106.21| 219.43| 105.10| | 26 | |H48 h11 |56.5 GiB| 1.81| 12.50| 107.05| 904.39| 961.58| |
| 27 | |egg h10 |29.0 GiB| 0.22| 2.58| 28.89| 273.08| 900.34| | 27 | |egg h10 |29.0 GiB| 0.17| 1.94| 21.32| 205.40| 17.50| |
| 28 | |H48 h10 |28.3 GiB| 1.45| 11.13| 99.17| 212.94| 121.20| | 28 | |H48 h10 |28.3 GiB| 1.29| 10.85| 101.62| 874.93| 1028.73| |
| 29 | |egg h9 |14.5 GiB| 0.21| 2.51| 28.49| | | | 29 | |egg h9 |14.5 GiB| 0.15| 1.83| 20.75| | | |
| 30 | |H48 h9 |14.1 GiB| 1.13| 10.25| 97.80| | | | 30 | |H48 h9 |14.1 GiB| 1.04| 10.03| 100.84| | | |
| 31 | |egg h8 | 7.2 GiB| 0.18| 2.25| 25.30| | | | 31 | |egg h8 | 7.2 GiB| 0.15| 1.78| 20.16| | | |
| 32 | |H48 h8 | 7.1 GiB| 1.10| 10.85| 104.41| | | | 32 | |H48 h8 | 7.1 GiB| 1.01| 10.77| 107.38| | | |
| 33 | |egg h7 | 3.6 GiB| 0.16| 2.05| 23.11| | | | 33 | |egg h7 | 3.6 GiB| 0.14| 1.78| 21.14| | | |
| 34 | |H48 h7 | 3.5 GiB| 0.79| 8.38| 89.57| | | | 34 | |H48 h7 | 3.5 GiB| 0.73| 8.25| 92.42| | | |
| 35 | |egg h6 | 1.8 GiB| 0.18| 2.29| 27.06| | | | 35 | |egg h6 | 1.8 GiB| 0.13| 1.66| 19.86| | | |
| 36 | |H48 h6 | 1.8 GiB| 0.71| 8.10| 88.68| | | | 36 | |H48 h6 | 1.8 GiB| 0.69| 8.13| 92.04| | | |
| 37 | 37 | ||
| 38 | <img src="img/17movesallsolutions16threads.png"> | 38 | <img src="img/17movesallsolutions16threads.png"> |
| 39 | <img src="img/18movesallsolutions16threads.png"> | 39 | <img src="img/18movesallsolutions16threads.png"> |
