Commit Graph

52 Commits

Author SHA1 Message Date
SChernykh d557fe7f39 Fix RandomX init when switching to other algo and back 2020-11-29 22:02:48 +01:00
XMRig 4914fefb1f Added "msr" field for CPU backend. 2020-10-25 16:36:37 +07:00
SChernykh 44dcded866 RandomX: added huge-pages-jit config parameter
Set to false by default, gives 0.2% boost on Ryzen 7 3700X with 16 threads, but hashrate might be unstable on Ryzen between launches. Use with caution.
2020-10-07 17:42:55 +02:00
cohcho 5f0f2506e8 soft_aes: fix previous optimization
Previously removed unrolled variant is faster on some CPUs
Some CPUs are faster with added unrolled variant
The best variant depends on number of threads on some CPUs
2020-10-04 14:47:58 +00:00
SChernykh 8d1168385a RandomX: returned old soft AES impl and auto-select between the two 2020-09-15 20:48:27 +02:00
SChernykh a84b45b1bb RandomX: added parameter for scratchpad prefetch mode
`scratchpad_prefetch_mode` can have 4 values:
0: off
1: use `prefetcht0` instruction (default, same as previous XMRig versions)
2: use `prefetchnta` instruction (faster on Coffee Lake and a few other CPUs)
3: use `mov` instruction
2020-09-04 16:16:07 +02:00
XMRig 1acd88ed39 Cleanup 2020-07-22 21:27:40 +07:00
XMRig e0eed7d5d6 Fixed build without MSR support. 2020-07-16 05:15:35 +07:00
SChernykh c83429c55c RandomX: added cache QoS support
False by default. If set to true, all non-mining CPU cores will not have access to L3 cache.
2020-07-13 17:23:18 +02:00
XMRig 7a3233ab4b Use long tags. 2020-05-28 20:32:41 +07:00
SChernykh 9405d8ed92 Activate MSR mod only for RandomX algorithms 2020-03-09 19:10:26 +01:00
XMRig f00769f758 Code style cleanup. 2019-12-28 01:45:54 +07:00
SChernykh 3a2941b719 Fix for 1st-gen Ryzen crashes 2019-12-27 12:40:38 +02:00
XMRig 8bef964f68 Added support for write custom MSR. 2019-12-17 02:27:07 +07:00
SChernykh 2e6523aa10 MSR mod for Windows 2019-12-14 16:04:37 +01:00
XMRig 1c58e28124 Don't build Rx_linux.cpp on ARM. 2019-12-11 21:20:37 +07:00
XMRig 96cfdda9a1 Added RandomX option "wrmsr" with command line equivalent --randomx-wrmsr=N. 2019-12-10 23:57:29 +07:00
XMRig 3edaebb4cf Move "1gb-pages" option to "randomx" object. 2019-12-09 21:42:40 +07:00
XMRig d32df84ca5 Memory allocation refactoring. 2019-12-08 23:17:39 +07:00
XMRig e9e747f0d1 #1385 "max-threads-hint" option now also limit RandomX dataset initialization threads. 2019-12-07 22:18:06 +07:00
XMRig 3a75f39935 #1386 Added priority for RandomX dataset initialization threads. 2019-12-06 22:17:04 +07:00
SChernykh 1fbbae1e4a Added 1GB hugepages support for Linux 2019-12-05 19:39:47 +01:00
XMRig 64fb4f265b Added option "mode" (or --randomx-mode) for RandomX. 2019-11-29 13:00:17 +07:00
XMRig 59b62dcb77 Added class RxQueue, class Rx now thin static wrapper on top of RxQueue. 2019-10-06 07:47:41 +07:00
XMRig d5af5cf8f8 Fixed exit. 2019-10-05 11:24:22 +07:00
XMRig 207dae418d Added RxNUMAStorage stub. 2019-10-04 18:43:03 +07:00
XMRig 7508411faf Extended "numa" option for RandomX. 2019-10-04 10:49:55 +07:00
XMRig f34031a984 Added interface IRxStorage and RxBasicStorage class. 2019-10-04 08:45:13 +07:00
XMRig d1aadc2e3b More cleanup. 2019-10-03 07:45:25 +07:00
XMRig 6d8cf91568 Added class RxSeed. 2019-10-03 04:48:36 +07:00
XMRig 42fd146c2b #1212 Fixed RandomX dataset re-initialization. 2019-10-02 06:35:49 +07:00
XMRig 34468782cd Merge branch 'dev' into evo 2019-10-01 07:26:18 +07:00
XMRig 3badeb56a0 Fixed support for systems where total count of NUMA nodes not equal usable count. 2019-10-01 07:19:13 +07:00
XMRig 95daab4bc0 Implemented VM mode for OpenCL RandomX. 2019-09-12 00:01:03 +07:00
XMRig 4c90f9960e OpenCL RandomX WIP 2019-09-11 15:48:02 +07:00
XMRig 27e862da62 Added OpenCL source. 2019-08-25 23:06:04 +07:00
XMRig 2a5110aa04 Start mining threads only after RandomX dataset initialization. 2019-08-25 20:28:15 +07:00
XMRig b41fd120d2 Uniform signature for hugePages method. 2019-08-10 13:14:20 +07:00
XMRig f7ea4b6dbd Always stop mining threads in RandomX dataset change upcoming. 2019-08-02 16:44:55 +07:00
XMRig 84ff8af4bd Optimized RandomX initialization and switching. 2019-08-01 20:37:05 +07:00
XMRig 962f0cdd8e Use std::thread and std:mutex instead of uv_thread_t and uv_mutex_t. 2019-07-30 21:25:27 +07:00
XMRig 2fb88f10b8 Fix hwloc deprecation warnings. 2019-07-28 10:15:20 +07:00
XMRig 9df9275120 Return correct hugePages count if NUMA mode used. 2019-07-27 21:31:11 +07:00
XMRig 828fc065b0 Added support for allocate RandomX dataset on each NUMA node. 2019-07-27 19:41:59 +07:00
XMRig 35d9c755e0 Special case for Intel CPUs with 1 MB L2 cache per core. 2019-07-26 16:22:44 +07:00
XMRig a5e8b31d55 Fixed crash. 2019-07-25 19:27:12 +07:00
XMRig d4772cbd5d Fixed dataset initialization speed on Linux if thread affinity was used. 2019-07-25 19:11:07 +07:00
XMRig 4a32494060 Added option "init-threads". 2019-07-25 12:20:59 +07:00
XMRig 1d78e7d60d "GET /1/threads" replaced to "GET /2/backends". 2019-07-19 04:22:21 +07:00
XMRig 8ce00adda4 Restored "CPU READY" message. 2019-07-17 14:54:08 +07:00