Optimize default SPSA to avoid CPU downtime
Left Column indicates the number of threads of a match N= represents the number of games ( not game pairs ) The values in the table are the % of CPU time wasted. This is based on LTC data from Torch. The Single Modeling area can be used to understand SPRT tests as well. We find that sufficiently large N is needed to avoid massive waste. Multiple distribution is significanly more prone to waste CPU time Results for Single Modeling: +----+----------+----------+-----------+----------+-----------+-----------+-----------+ | | N=1 | N=2 | N=3 | N=4 | N=8 | N=16 | N=32 | +====+==========+==========+===========+==========+===========+===========+===========+ | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | +----+----------+----------+-----------+----------+-----------+-----------+-----------+ | 16 | 0.187964 | 0.154541 | 0.0953438 | 0.111055 | 0.0682209 | 0.0419675 | 0.0234031 | +----+----------+----------+-----------+----------+-----------+-----------+-----------+ | 30 | 0.233956 | 0.250168 | 0.247093 | 0.160325 | 0.17584 | 0.0490092 | 0.0233125 | +----+----------+----------+-----------+----------+-----------+-----------+-----------+ | 60 | 0.3319 | 0.283755 | 0.310635 | 0.315316 | 0.0914697 | 0.0474954 | 0.0229517 | +----+----------+----------+-----------+----------+-----------+-----------+-----------+ Results for Multiple Modeling: +----+----------+----------+----------+----------+----------+----------+-----------+ | | N=1 | N=2 | N=3 | N=4 | N=8 | N=16 | N=32 | +====+==========+==========+==========+==========+==========+==========+===========+ | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | +----+----------+----------+----------+----------+----------+----------+-----------+ | 16 | 0.187964 | 0.108087 | 0.112321 | 0.18708 | 0.178225 | 0.109092 | 0.0847329 | +----+----------+----------+----------+----------+----------+----------+-----------+ | 30 | 0.233956 | 0.228522 | 0.26862 | 0.263978 | 0.167372 | 0.182215 | 0.0831574 | +----+----------+----------+----------+----------+----------+----------+-----------+ | 60 | 0.3319 | 0.352034 | 0.270229 | 0.291731 | 0.219136 | 0.178662 | 0.0936702 | +----+----------+----------+----------+----------+----------+----------+-----------+
This commit is contained in:
1 parent
0fd7742ed3
commit
1ac76bdcc1
3 files changed
+7
-12
No files matched your search
@@ -36,7 +36,6 @@
|
||||
"Seer",
|
||||
"Stash",
|
||||
"Stockfish",
|
||||
"Torch",
|
||||
"Weiss",
|
||||
"Winter",
|
||||
"Zahak"
|
||||
|
||||
@@ -49,13 +49,9 @@
|
||||
"tune_presets" : {
|
||||
|
||||
"default" : {
|
||||
"book_name" : "UHO_4060_v2.epd",
|
||||
"win_adj" : "movecount=3 score=400",
|
||||
"draw_adj" : "movenumber=40 movecount=8 score=10",
|
||||
"spsa_reporting_type" : "BULK",
|
||||
"spsa_distribution_type" : "MULTIPLE",
|
||||
"spsa_iterations" : 25000,
|
||||
"spsa_pairs_per" : 8
|
||||
"book_name" : "UHO_4060_v2.epd",
|
||||
"win_adj" : "movecount=3 score=400",
|
||||
"draw_adj" : "movenumber=40 movecount=8 score=10"
|
||||
},
|
||||
|
||||
"STC" : {
|
||||
|
||||
@@ -105,8 +105,8 @@
|
||||
<div class="row">
|
||||
<label for="spsa_reporting_type"> Reporting </label>
|
||||
<select id="spsa_reporting_type" name="spsa_reporting_type">
|
||||
<option value="BATCHED"> Batched </option>
|
||||
<option selected value="BULK"> Bulk </option>
|
||||
<option selected value="BATCHED"> Batched </option>
|
||||
<option value="BULK"> Bulk </option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -168,10 +168,10 @@
|
||||
<label for="spsa_A_ratio"> A-Ratio </label> <input value="0.1" id="spsa_A_ratio" name="spsa_A_ratio">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="spsa_iterations"> Iterations </label> <input value="200000" id="spsa_iterations" name="spsa_iterations">
|
||||
<label for="spsa_iterations"> Iterations </label> <input value="25000" id="spsa_iterations" name="spsa_iterations">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label for="spsa_pairs_per"> Pairs-Per </label> <input value="1" id="spsa_pairs_per" name="spsa_pairs_per">
|
||||
<label for="spsa_pairs_per"> Pairs-Per </label> <input value="8" id="spsa_pairs_per" name="spsa_pairs_per">
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user