Based on @Klee's advice using gcc 6.3 with a docker image for Monero testing on Dwarfpool.
How to get the image
Environment variables
Validation
You can see here that hugepages are enabled in the container. For that to work you need to set them in the underlying OS. You do not need to run the container in --privileged mode.
Next Steps
How to get the image
Code:
docker pull servethehome/monero_dwarfpool:xmrig
- -e username=<wallet address> for your monero mining address
- -e email=<email address> for your email address on dwarfpool
- Optional: -e numthreads=N where N is the number of threads you want to use
- Optional: -e startport=<8005,8050,8100> Default is 8050 but you can now edit this.
Validation
Code:
[100%] Built target xmrig
* VERSIONS: XMRig/2.3.1 libuv/1.9.1 gcc/6.3.0
* HUGE PAGES: available, enabled
* CPU: Intel(R) Atom(TM) CPU C3955 @ 2.10GHz (1) x64 AES-NI
* CPU L2/L3: 32.0 MB/0.0 MB
* THREADS: 8, cryptonight, av=1, donate=0%
* POOL #1: xmr-usa.dwarfpool.com:8050
* COMMANDS: hashrate, pause, resume
[2017-10-02 17:30:56] use pool xmr-usa.dwarfpool.com:8050 144.217.61.241
[2017-10-02 17:30:56] new job from xmr-usa.dwarfpool.com:8050 diff 50000
[2017-10-02 17:31:09] accepted (1/0) diff 50000 (106 ms)
[2017-10-02 17:31:54] new job from xmr-usa.dwarfpool.com:8050 diff 50000
[2017-10-02 17:32:00] speed 2.5s/60s/15m 430.5 428.3 n/a H/s max: 431.0 H/s
[2017-10-02 17:32:25] accepted (2/0) diff 50000 (105 ms)
[2017-10-02 17:32:48] accepted (3/0) diff 50000 (105 ms)
[2017-10-02 17:32:54] new job from xmr-usa.dwarfpool.com:8050 diff 50000
[2017-10-02 17:33:00] speed 2.5s/60s/15m 430.1 428.4 n/a H/s max: 431.0 H/s
[2017-10-02 17:33:06] accepted (4/0) diff 50000 (108 ms)
Next Steps
- The next step is that donation level will be added via command line variable. This would have been easier but xmrig default donation level causes an error.
- The current threads default is simply nproc / 2 but it will likely default back to xmrig default logic in the next iteration.
- EPYC numbers for xmrig seem terrible.
Last edited: