Commit Graph

45 Commits

Author SHA1 Message Date
tevador 30969c0e25 Benchmark version 2019-12-01 21:07:13 +01:00
tevador 3910d49b49 Hide tempHash from the public API 2019-12-01 18:19:09 +01:00
SChernykh 219c02e1e5 Combined hash and fill AES loop (#166)
Adds more parallelizm into AES loop so modern CPUs can take advantage of it. Also, scratchpad data moves between L1 and L3 caches only one time which saves time and energy per hash.
2019-12-01 16:58:38 +01:00
tevador 88268ae325 Improved benchmark instructions 2019-11-22 18:16:58 +01:00
tevador 53af68c34a Benchmark v1.1.5 2019-10-23 17:02:22 +02:00
ston1th 5c0486bd33 Fixed tests on OpenBSD
Since OpenBSD 6.0 W^X is enforced.
Added `RANDOMX_FLAG_SECURE` in tests and benchmarks.
Updated comment.

Excluded `cpu_set_t` since it is not defined on OpenBSD.
2019-10-20 14:23:33 +02:00
tevador b53f0ed145 Benchmark v1.1.4 2019-10-11 12:37:17 +02:00
tevador fc892fc5c0 Select AVX2 if both AVX2 and SSSE3 flags are set 2019-10-09 21:37:14 +02:00
tevador e0484dfb99 Automatic detection of CPU capabilities 2019-10-08 23:09:35 +02:00
tevador cce53cb582 use SSSE3 consistently as opposed to SSE3 2019-10-06 23:46:49 +02:00
tevador 900a936816 Optimized Argon2 (SSSE3/AVX2) 2019-10-06 18:07:23 +02:00
tevador 298cc77095 Benchmark v1.1.3 2019-10-04 08:47:57 +02:00
tevador 519b9cf705 Benchmark v1.1.2 2019-09-25 22:24:08 +02:00
tevador 2441730203 Update --jit flag description 2019-09-22 22:29:48 +02:00
tevador eef87a0f63 Documentation updates 2019-09-22 22:18:28 +02:00
tevador bd8ef0375a Update benchmark 2019-08-30 09:53:22 +02:00
tevador 67010ab554
Optional W^X policy for JIT pages (#112) 2019-08-25 13:47:40 +02:00
tevador 91f3edb5eb Fix use-after-free in benchmark (debug build) 2019-08-05 09:10:10 +02:00
tevador 4a4b06e44b More helpful error messages in the benchmark
Move reciprocal tests before Dataset initialization
Fix randomx.dll project
2019-06-28 10:37:41 +02:00
tevador 77f809e8db Merge branch 'jtgrassie-affinity' 2019-06-22 23:28:05 +02:00
tevador e8cf27eab5 Fixed Visual Studio build
Moved affinity to tests
Fixed strange output from mask_to_string
2019-06-22 23:11:24 +02:00
tevador 8282413154 Updated documentation and test vectors
Added AesGenerator1R test
Added benchmark hints if large pages fail
2019-06-22 17:42:26 +02:00
tevador 83498cddf2
Different round keys for columns 0,1 and 2,3 in AesGenerator4R (#76)
* this fixes identical sequences of columns 0/2 and 1/3 if their states are the same
* added TestU01 results for AesGenerator1R and AesGenerator4R
* added a note about the reversibility of AesHash1R
2019-06-22 15:56:01 +02:00
Jethro Grassie 81d3a9d4a1
benchmark: add thread affinity setting 2019-06-13 23:33:41 -04:00
tevador f7c99c5b58
Use 4 AES rounds for program generation (#46) 2019-06-01 11:13:30 +02:00
tevador 8a5ead5ce3 Use 'dst' as the CBRANCH condition register
See issue #43
2019-05-21 08:37:36 +02:00
tevador 2706a8b753 Relicensed under the 3-clause BSD license 2019-05-18 14:21:47 +02:00
tevador 1029098719 Updated documentation 2019-05-15 23:13:22 +02:00
tevador 2b3a03a9dc Fixed FSCAL instruction causing group F registers to exceed their intended maximum value 2019-05-15 22:07:26 +02:00
tevador 40a08bb0c8 Fixed incorrect latency of mul_r in SuperscalarHash 2019-05-05 14:49:00 +02:00
tevador 9e5eac8645 Fixed a chance of CBRANCH looping
Fixed CBRANCH jump probability being lower than expected
2019-05-03 14:02:40 +02:00
tevador 01db567e9d Fixed an inconsistency in IADD_RS in SuperscalarHash 2019-05-01 14:46:51 +02:00
tevador c87dcc8ae5 Cache seed renamed to key 2019-05-01 14:40:13 +02:00
tevador ca96270509 Group E exponent changed from a static value (-240) to dynamic 2019-04-30 21:14:50 +02:00
tevador be21ba767c Doubled the frequency of CBRANCH, halved the jumping probability 2019-04-30 14:09:46 +02:00
tevador 3cf6a30076 Fixed biased condition register selection 2019-04-30 10:20:28 +02:00
tevador ffebc37381 COND_R instruction reworked as CBRANCH
instruction mod field bits reallocated
2019-04-29 23:38:23 +02:00
tevador 22a3aa8d79 randomx_cache and randomx_dataset changed to standard-layout structs 2019-04-28 12:44:28 +02:00
tevador fd7186f873 Changed IADD_RS to use mod.mem 2019-04-27 23:52:26 +02:00
tevador 270a4f97fe Dataset size increased to 2080 MiB
Implemented dataset base offset
Tweaked SuperscalarHash constants to prevent register collisions
2019-04-26 16:05:30 +02:00
tevador 018c1a5222 Big endian bug fixes 2019-04-24 18:37:58 +02:00
tevador 1c3666aa98 Fixed benchmark code 2019-04-23 22:27:23 +02:00
tevador 87b8253374 API documentation
'dataset block' -> 'dataset item'
customizable benchmark seed
2019-04-22 15:13:41 +02:00
tevador bc78b628ea Flags ordered by their impact on performance
Additional error handling
2019-04-21 23:23:13 +02:00
tevador 41557ce010 randomx project changed to a static library
separate benchmark project
API usage examples
2019-04-21 00:20:21 +02:00
Renamed from src/main.cpp (Browse further)