Skip to content

Commit 9d0a3b0

Browse files
committed
Set the SF15 reference Nps using SF11 as base
Fishtest with Stockfish 11 had 1.6MNps as reference Nps and 0.7MNps as threshold for the slow worker. Set the new reference Nps according to the average 17% slowdown. Set the new threshold for slow worker according to the 21% slowdown. - arch=bmi2 (Dual Xeon workstation) ``` sf_base = 1517458 +/- 9427 sf_test = 1259909 +/- 10794 diff = -257549 +/- 9477 speedup = -0.169724 ``` - arch=modern (core i7 3770k) ``` sf_base = 1864275 +/- 20969 sf_test = 1466315 +/- 7262 diff = -397959 +/- 14643 speedup = -0.213466 ``` The speedups are nearly the same measured after the switch to the new net arch official-stockfish/Stockfish#3927 - arch=bmi2 (Dual Xeon workstation) ``` sf_base = 1566536 +/- 6407 sf_test = 1308257 +/- 5827 diff = -258279 +/- 4440 speedup = -0.164873 ``` - arch=modern (core i7 3770k) ``` sf_base = 1946273 +/- 22064 sf_test = 1518906 +/- 11325 diff = -427366 +/- 11006 speedup = -0.219582 ```
1 parent 0938089 commit 9d0a3b0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

server/fishtest/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ def homepage_results(request):
12381238
machine["last_updated"] = delta_date(diff)
12391239
if machine["nps"] != 0:
12401240
games_per_minute += (
1241-
(machine["nps"] / 1280000.0)
1241+
(machine["nps"] / 1328000.0)
12421242
* (60.0 / estimate_game_duration(machine["run"]["args"]["tc"]))
12431243
* (
12441244
int(machine["concurrency"])

server/utils/delta_update_users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def process_run(run, info, deltas=None):
6969
def build_users(machines, info):
7070
for machine in machines:
7171
games_per_hour = (
72-
(machine["nps"] / 1280000.0)
72+
(machine["nps"] / 1328000.0)
7373
* (3600.0 / estimate_game_duration(machine["run"]["args"]["tc"]))
7474
* (int(machine["concurrency"]) // machine["run"]["args"].get("threads", 1))
7575
)

worker/games.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,16 +1300,16 @@ def parse_options(s):
13001300
games_concurrency * threads,
13011301
)
13021302

1303-
if base_nps < 500000 / (1 + math.tanh((worker_concurrency - 1) / 8)):
1303+
if base_nps < 540000 / (1 + math.tanh((worker_concurrency - 1) / 8)):
13041304
raise FatalException(
13051305
"This machine is too slow ({} nps / thread) to run fishtest effectively - sorry!".format(
13061306
base_nps
13071307
)
13081308
)
13091309

13101310
factor = (
1311-
1280000 / base_nps
1312-
) # 1280000 nps is the reference core, also used in fishtest views.
1311+
1328000 / base_nps
1312+
) # 1328000 nps is the reference core, also used in fishtest views.
13131313

13141314
# Adjust CPU scaling.
13151315
scaled_tc, tc_limit = adjust_tc(run["args"]["tc"], factor)

0 commit comments

Comments
 (0)