This commit is contained in:
AndyGrant committed 2018-06-23 18:44:00 -04:00
commit a85b34983b
1 file changed
+6 -20
+6 -20
View File
@@ -3,20 +3,16 @@
## Windows ## Windows
``` ```
1) Obtain a working python3 installation 1) Obtain a working python3 installation
2) pip3 install requests 2) download https://github.com/AndyGrant/OpenBench/blob/master/Client/OpenBench.py
3) git clone https://github.com/AndyGrant/OpenBench.git 3) Move OpenBench.py to its own directory
OR simply download the repo from git (Harder to update!)
``` ```
## Linux ## Linux
``` ```
1) sudo apt-get install python3 1) sudo apt-get install python3
2) pip3 install requests 2) git clone https://github.com/AndyGrant/OpenBench.git
3) git clone https://github.com/AndyGrant/OpenBench.git
``` ```
# Running the Client # Running the Client
``` ```
# Username & Password from creating an account on the server # Username & Password from creating an account on the server
@@ -37,7 +33,7 @@ compatibility issues, and many more are anticipated
``` ```
1) Obtain a working python3 installing 1) Obtain a working python3 installing
2) pip install Django=2.0.6 2) pip3 install Django=2.0.6
3) Run the ./cleanup.sh script 3) Run the ./cleanup.sh script
4) python3 manage.py createsuperuser 4) python3 manage.py createsuperuser
5) Run the ./run.sh script 5) Run the ./run.sh script
@@ -47,18 +43,8 @@ compatibility issues, and many more are anticipated
# Configuing OpenBench to use your Engine # Configuing OpenBench to use your Engine
``` ```
1) In Client/OpenBench.py, adjust the NPS factor in completeWorkload() In OpenBench/config.py, add your Engine to the engines list. Follow the defined
This value should be the NPS for a bench, on the desired scaling machine. template, which explains how to determine the NPS factor for your engine
I suggest that you scale this to match Fishtest's scaling
2) If your repo structure is not similar to Ethereal's, you will have to either
change that, or modify the paths in getEngine() and buildEngine(). Additionally,
if your makefile does not support CC=, you must change or modify this
3) In order to do scaling, your engine must support a bench command. OpenBench
is currently configured to assume bench may be passed as a command line argument.
The engine will run, report the final node count and nps, and then exit. You may
need to update singleCoreBench() to handle the correct parsing of that output
4) Likely more steps to come. I plan to test with other engines once I am up and
running at full capacity for Ethereal
``` ```
## Things to avoid using, doing or modifying ## Things to avoid using, doing or modifying