Commit Graph

11 Commits

Author SHA1 Message Date
SChernykh
d5f84a813d Fixed errors found by static analysis 2020-12-08 12:16:59 +01:00
XMRig
6fde2cc703 Merge branch 'dev' into evo 2020-06-07 20:15:12 +07:00
Matt Smith
6a0f170269 Stop linker from making stack executable
Add .note.GNU-stack section to end of AstroBWT ASM.

Signed-off-by: Matt Smith <matt@offtopica.uk>
2020-06-07 13:57:37 +01:00
SChernykh
f24da62db0 KawPow WIP 2020-05-27 16:19:57 +02:00
XMRig
317dc19ce8 Code cleanup. 2020-05-05 01:55:00 +07:00
SChernykh
f9c84ac456 Fix MacOS compilation 2020-03-11 16:35:52 +01:00
SChernykh
838bd14948 AVX2 optimized code for AstroBWT
Added "astrobwt-avx2" parameter in config.json, it's turned off ("false") by default.

4-5% speedup on CPUs with proper AVX2 support (AMD Ryzen starting with Zen2, Intel Core starting with Haswell).

There will be no speedup on the following CPUs:

- Intel Pentium/Celeron don't support AVX2
- AMD Zen/Zen+ have only half-speed AVX

GCC compiled version is faster without AVX2, MSVC compiled version is faster with AVX2
2020-03-10 22:35:14 +01:00
XMRig
ed44b0c009 Move files. 2020-03-09 01:22:34 +07:00
SChernykh
c565ed93cd Fixed invalid AstroBWT hashes after algo switching 2020-03-07 16:41:33 +01:00
SChernykh
19fc7b6f43 AstroBWT 20-50% speedup
Skips hashes with large stage 2 size. Added configurable `astrobwt-max-size` parameter, default value is 550, min 400, max 1200, optimal value ranges from 500 to 600 depending on CPU.

- Intel CPUs get 20-25% speedup
- 1st- and 2nd-gen Ryzens get 30% speedup
- 3rd-gen Ryzens get up to 50% speedup
2020-03-05 12:20:21 +01:00
SChernykh
1ccf408ba7 AstroBWT algorithm (DERO) support
To test:

- Download https://github.com/deroproject/derosuite/releases/tag/AstroBWT
- Run daemon with `--testnet` in command line

In config.json:
- "coin":"dero"
- "url":"127.0.0.1:30306"
- "daemon:"true"
2020-02-29 22:41:24 +01:00