cohcho
65fa1d9bf3
uv: fix performance issue
...
unix implementation of uv_async_t has been wasting cpu cycles for nothing since 1.29.0 release
implement efficient callback scheduling for linux
2020-10-12 04:09:09 +00:00
xmrig
f85efd163c
Merge pull request #1887 from SChernykh/dev
...
Fixed total hashrate update
2020-10-10 22:07:37 +07:00
SChernykh
793a2454ad
Fixed total hashrate update
...
Don't add data points where one of the threads doesn't have hashrate data yet.
2020-10-10 17:00:30 +02:00
cohcho
4a74ce3242
CPU: use raw counter
2020-10-10 13:28:14 +00:00
SChernykh
22a69f70da
Fix HashrateInterpolator::addDataPoint
2020-10-10 11:22:19 +02:00
SChernykh
3fbf2ac3d4
More precise hashrate calculation
...
- Use only steady timestamp counters to guarantee correctness
- CPU backend: directly measure total hashrate using raw hash counters from each thread; update data more often on ARM CPUs because they're slower
- GPU backends: directly measure total hashrate too, but use interpolator with 4 second lag to fix variance from batches of hashes
Total hashrate is now measured directly (realtime for CPU, 4 seconds lag for GPU), so it might differ a bit from the sum of all thread hashrates because data points are taken at different moments in time.
Overhead is reduced a lot since it doesn't have to go through all threads to calculate max total hashrate on every timer tick (2 times a second).
2020-10-10 11:18:01 +02:00
cohcho
17795e3d7b
Worker: specify default value
2020-10-09 14:28:36 +00:00
SChernykh
858463ceba
Change to fetch_xor to make code simpler
2020-10-09 11:50:11 +02:00
SChernykh
a4550f55ea
Fix possible race condition in hashrate counting code
...
Use single atomic operation to switch between data points.
2020-10-09 10:29:18 +02:00
SChernykh
4bac3e7695
Fix 32-bit compilation
2020-10-07 18:19:35 +02:00
xmrig
59bd6d4187
Merge pull request #1878 from SChernykh/dev
...
Fixed ARM compilation
2020-10-07 23:11:39 +07:00
SChernykh
166c011d37
Fixed ARM compilation
2020-10-07 18:09:42 +02:00
xmrig
1f55c6eb02
Merge pull request #1877 from SChernykh/dev
...
Fix FreeBSD compilation
2020-10-07 23:03:07 +07:00
SChernykh
c2bdae70fe
Fix FreeBSD compilation
2020-10-07 18:00:36 +02:00
xmrig
1289942567
Merge pull request #1876 from SChernykh/dev
...
RandomX: added `huge-pages-jit` config parameter
2020-10-07 22:48:57 +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
a705ab775b
RandomX: align args
...
tempHash/output must be 16-byte aligned for randomx_calculate_hash{,_first,_next}
2020-10-07 14:47:18 +00:00
cohcho
c710ee5fb5
RxVM: fix compilation error
2020-10-07 09:27:25 +00:00
SChernykh
a8466a139c
RandomX: allocate 2 MB pages for generated code, if possible
...
+0.2% boost on Ryzen 7 3700X
2020-10-07 10:35:10 +02:00
xmrig
ba47219185
Merge pull request #1870 from cohcho/fix_miner_state_machine
...
Miner: fix state machine
2020-10-07 12:25:17 +07:00
cohcho
fa5b872782
RxVm: fix randomx_create_vm call
...
randomx_create_vm requires either cache or dataset, but not both
2020-10-06 19:45:43 +00:00
cohcho
3ee0cd8c51
Miner: fix state machine
...
Remove unexpected resume due to disconnect during dataset init
2020-10-06 13:34:19 +00:00
cohcho
7bdeba4d08
Nonce: refactor static init
2020-10-06 13:34:19 +00:00
xmrig
116fb3d3f9
Merge pull request #1864 from cohcho/soft_aes_optimization2
...
soft_aes: fix previous optimization
2020-10-05 12:20:41 +07:00
xmrig
54a17a75ab
Merge pull request #1862 from SChernykh/dev
...
RandomX: removed rx/loki
2020-10-05 12:19:43 +07: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
XMRig
31e896feef
v6.4.0-dev
2020-10-03 13:49:40 +07:00
XMRig
ec13337228
v6.3.5
2020-10-03 11:48:34 +07:00
SChernykh
ebf259fa7c
RandomX: removed rx/loki
...
Loki forks to PoS on October 9th.
2020-10-02 17:02:52 +02:00
XMRig
d45bb24a32
Renamed WITH_SSE to WITH_SSE4_1 and make it work on all platforms.
2020-10-01 11:00:08 +07:00
SChernykh
7b4f768114
RandomX: optimized soft AES code
...
Unrolled loop was 5-10% slower depending on CPU.
2020-09-29 21:22:11 +02:00
xmrig
dfab81e9fa
Merge pull request #1858 from SChernykh/dev
...
RandomX: removed duplicate constants in Blake2b
2020-09-27 16:51:03 +07:00
SChernykh
3025c265e8
RandomX: removed duplicate constatns in Blake2b
2020-09-27 11:50:08 +02:00
xmrig
ee603ab9e2
Merge pull request #1857 from SChernykh/dev
...
RandomX: isolate SSE4.1 code to fix crashes on old CPUs
2020-09-27 16:47:56 +07:00
SChernykh
84f8a0dc54
RandomX: isolate SSE4.1 code to fix crashes on old CPUs
2020-09-27 11:46:32 +02:00
xmrig
8952f6892d
Merge pull request #1852 from cohcho/fix_string
...
String: distinguish nullptr/empty str
2020-09-27 07:56:33 +07:00
xmrig
d51fe01273
Merge pull request #1849 from cohcho/soft_aes_optimization1
...
soft_aes: fix previous optimization
2020-09-27 07:56:03 +07:00
cohcho
f7d6348948
String: distinguish nullptr/empty str
2020-09-26 16:41:15 +00:00
cohcho
189cc78d44
Miner: filter invalid algos
2020-09-25 17:52:13 +00:00
cohcho
9be3b69109
soft_aes: fix previous optimization
...
the best order of hash/fill/prefetch depends on hw/soft AES
only hw AES is faster after previous optimization
2020-09-25 15:26:19 +00:00
SChernykh
bef9031b03
KawPow: fixed OpenCL memory leak
2020-09-25 10:53:24 +02:00
xmrig
e4929d7c06
Merge pull request #1845 from SChernykh/dev
...
Fix for ARM compilation
2020-09-23 16:48:08 +07:00
SChernykh
1e26e58660
Fix for ARM compilation
2020-09-23 11:44:08 +02:00
XMRig
8fe0577d60
v6.3.5-dev
2020-09-23 08:06:28 +07:00
XMRig
36ed0b4309
v6.3.4
2020-09-23 06:00:07 +07:00
SChernykh
9768bf65d1
RandomX improved performance of GCC compiled binaries
...
JIT compilator was slower compared to MSVC compiled binary. Up to +0.1% speedup on rx/wow in Linux.
2020-09-22 13:48:11 +02:00
SChernykh
891a46382e
RandomX: AES improvements
...
- A bit faster hardware AES code when compiled with MSVC
- More reliable software AES benchmark
2020-09-21 17:51:08 +02:00
SChernykh
768a4581e0
Fixed Cryptonight OpenCL for AMD 20.7.2 drivers
...
Vega 64 + Windows 10 + AMD 20.7.2 drivers were broken on Cryptonight algorithms.
2020-09-19 23:12:05 +02:00
SChernykh
c7476e076b
RandomX refactoring, moved more stuff to compile time
...
Small x86 JIT compiler speedup.
2020-09-18 20:51:25 +02:00
SChernykh
8d1168385a
RandomX: returned old soft AES impl and auto-select between the two
2020-09-15 20:48:27 +02:00
cohcho
30be1cd102
reserve at most 1 bit for wrapping detection
2020-09-13 18:42:16 +00:00
SChernykh
a05393727c
RandomX: added performance profiler (for developers)
...
Also optimized Blake2b SSE4.1 code size to avoid code cache pollution.
2020-09-12 23:07:52 +02:00
xmrig
adf833b60a
Merge pull request #1827 from cohcho/nonce_iteration_without_tests
...
nonce iteration optimization
2020-09-10 19:33:23 +07:00
SChernykh
4a9db89527
RandomX: added SSE4.1-optimized Blake2b
...
+0.15% on `rx/0`
+0.3% on `rx/wow`
2020-09-10 14:28:40 +02:00
cohcho
060c1af4c4
fix nonce mask
2020-09-09 19:39:52 +00:00
cohcho
b826985d05
nonce iteration optimization
...
efficient and correct nonce iteration without duplicates
2020-09-09 10:03:37 +00: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
a5b6383f7b
v6.3.4
2020-08-28 23:50:16 +07:00
XMRig
ba336122c0
v6.3.3
2020-08-28 21:39:26 +07:00
XMRig
f552577e71
Merge branch 'dev' of github.com:xmrig/xmrig into dev
2020-08-26 16:11:48 +07:00
XMRig
a06ec06e8b
Fix colors on macOS.
2020-08-26 16:11:29 +07:00
SChernykh
5611ae9a30
Fixed self-select login sequence
...
In self-select mode, we only have pool wallet right after login.
2020-08-25 16:17:48 +02:00
XMRig
72c8404d18
Fix compile warnings.
2020-08-24 10:04:46 +07:00
XMRig
ff13675d31
Improved CUDA loader error reporting and fixed plugin load on Linux.
2020-08-23 21:30:12 +07:00
XMRig
4b682b6633
Better scripts/build.*.sh compatibility.
2020-08-23 15:46:56 +07:00
XMRig
879e160ba3
Fix compile warning.
2020-08-23 14:22:08 +07:00
XMRig
a354e9d217
Fixed tag in OclLib.
2020-08-21 08:21:51 +07:00
XMRig
950b5fa75e
Disable GPU backends with static build on Linux.
2020-08-20 15:02:31 +07:00
XMRig
9d99fef52e
v6.3.3-dev
2020-08-20 13:54:52 +07:00
XMRig
847d08cdbc
v6.3.2
2020-08-20 12:54:22 +07:00
XMRig
f06e30e343
Merge branch 'battery-macos' of https://github.com/jtgrassie/xmrig into dev
2020-08-20 12:46:09 +07:00
XMRig
3e4bf8cd6c
Fix compile warning
2020-08-17 06:08:14 +07:00
XMRig
206b675892
Always use all available threads on ARM.
2020-08-16 17:36:38 +07:00
XMRig
00b4ae9c36
Fixed compile warning and updated build.uv.sh.
2020-08-16 16:03:27 +07:00
XMRig
8d5ea745bb
Merge branch 'dev' of github.com:xmrig/xmrig into dev
2020-08-16 15:47:57 +07:00
XMRig
cac48cdd27
Added ARM CPU name detection based on lscpu code.
2020-08-16 15:47:29 +07:00
SChernykh
5926dee354
RandomX JIT: optimized address mask calculation
2020-08-12 16:45:16 +02:00
Jethro Grassie
b78b0b5c6b
fix macos battery detection
2020-08-11 18:04:56 -04:00
XMRig
050568a4ab
Fixed rare protocol error in HTTP client.
2020-08-07 21:54:22 +07:00
XMRig
ae3ff0f570
Fixed RandomX cache initialization if 1GB pages fails to allocate on a first NUMA node.
2020-08-01 12:30:02 +07:00
xmrig
0addf91a70
Merge pull request #1794 from SChernykh/dev
...
More robust 1 GB pages handling
2020-07-31 20:45:27 +07:00
SChernykh
abb78302b8
Try to allocate scratchpad from dataset's 1 GB huge pages, if normal huge pages are not available
2020-07-31 13:37:22 +02:00
XMRig
e5579d8635
v6.3.2-dev
2020-07-31 16:50:23 +07:00
SChernykh
838cc08680
Force 2 MB pages size in allocateLargePagesMemory() on Linux
2020-07-31 09:55:49 +02:00
XMRig
a0fe49f946
v6.3.1
2020-07-31 13:20:56 +07:00
XMRig
32e9b7e34a
Added command line option --pause-on-battery and renamed config option.
2020-07-23 15:45:01 +07:00
XMRig
6484bbb716
Add tags
2020-07-23 10:26:56 +07:00
xmrig
e59806d6ae
Merge pull request #1786 from SChernykh/dev
...
Added mining on battery setting
2020-07-23 09:20:06 +07:00
SChernykh
299b180b28
Added mining on battery setting
2020-07-22 20:21:42 +02:00
XMRig
1acd88ed39
Cleanup
2020-07-22 21:27:40 +07:00
XMRig
109c088e8a
Cleanup usage output.
2020-07-22 19:58:08 +07:00
SChernykh
5bc89fdc8b
Fixed RandomX initialization for VS debug builds
2020-07-21 10:10:07 +02:00
XMRig
70c7f33a20
Added command line options --cache-qos (--randomx-cache-qos) and --argon2-impl (--cpu-argon2-impl).
2020-07-20 09:17:59 +07:00
XMRig
1ec185a3a0
v6.3.1-dev
2020-07-17 03:13:02 +07:00
XMRig
10ea567084
v6.3.0
2020-07-17 00:17:55 +07:00
XMRig
51346c2b2b
v6.3.0-dev
2020-07-17 00:04:31 +07:00
XMRig
ca535c7813
Sync changes with the proxy.
2020-07-16 23:29:21 +07:00
SChernykh
bd8cf54a0b
Cryptonight OpenCL: fix for long input data
2020-07-16 10:39:32 +02:00
XMRig
e0eed7d5d6
Fixed build without MSR support.
2020-07-16 05:15:35 +07:00
XMRig
47d68b068b
Merge branch 'master' of https://github.com/haven-protocol-org/xmrig into haven-protocol-org-master
2020-07-15 23:33:17 +07:00
Neil Coggins
a648a8b9be
Increased max blob size to support Haven offshore capability
2020-07-14 11:52:43 +01:00
SChernykh
1bf159d1e8
Removed cache QoS warning at exit on unsupported CPUs
2020-07-13 20:43:49 +02:00
SChernykh
72c385c870
Cache QoS: fix for seting MSR
2020-07-13 20:30:44 +02: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
Jim Huang
b665d2d865
Adopt new SSE2NEON and reduce ARM-specific changes
...
This patch updated SSE2NEON [1], which contains more functions
provided by Intel intrinsics, only implemented with NEON-based
counterparts to produce the exact semantics of the intrinsics.
Consequently, ARM-specific changes against CryptoNight_arm can
be reduced as well.
[1] https://github.com/DLTcollab/sse2neon/
2020-07-11 01:55:11 +08:00
XMRig
e06a76ef1c
v6.2.4-dev
2020-07-10 03:12:00 +07:00
XMRig
30165ce4be
v6.2.3
2020-07-09 22:24:35 +07:00
SChernykh
3d740e81a2
RandomX: tweaked Ryzen code
...
Very small speedup
2020-07-05 16:06:59 +02:00
xmrig
5e92acab34
Merge pull request #1763 from SChernykh/dev
...
KawPow: fixed more duplicate share errors
2020-07-04 02:37:03 +07:00
SChernykh
935b8a1106
KawPow: fixed more duplicate share errors
2020-07-03 21:33:44 +02:00
XMRig
4fe011b469
Fix tab/space inconsistency.
2020-07-03 21:36:06 +07:00
XMRig
bf32802a82
#1754 Fixed GPU health readings for pre Vega GPUs.
2020-07-03 21:14:21 +07:00
SChernykh
70d7fe9b59
Fix typo
2020-07-02 14:29:52 +02:00
SChernykh
39ed25cf7b
KawPow: fixed rare duplicate share errors
2020-07-02 11:36:31 +02:00
XMRig
26c2200af3
#1756 Added results and connection reports.
2020-07-01 23:10:37 +07:00
SChernykh
08ca51ec4c
Fixed DAG initialization on slower AMD GPUs
...
Display driver could reset on GPUs with screen connected.
2020-06-30 16:53:56 +02:00
SChernykh
59313d9cc3
Print error message when MSR mod fails
...
Make sure user knows that hashrate is worse than it could be.
2020-06-26 19:54:06 +02:00
SChernykh
5724d8beb6
KawPow: optimized CPU share verification
...
- 2 times faster CPU share verification (11 -> 5 ms)
- 1.5 times faster light cache initialization
2020-06-26 12:31:26 +02:00
XMRig
03e9797b92
Merge branch 'dev' of https://github.com/SChernykh/xmrig into dev
2020-06-23 19:12:34 +07:00
XMRig
74bd9460d7
v6.2.3-dev
2020-06-23 19:05:54 +07:00
SChernykh
38cf5b6324
Fixed AstroBWT OpenCL compilation on some systems
2020-06-23 13:55:43 +02:00
XMRig
16863763d3
#1742 Fixed crash when use HTTP API.
2020-06-23 16:17:06 +07:00
XMRig
4bfe7c7090
v6.2.1
2020-06-23 11:26:38 +07:00
XMRig
a83f2c809c
Merge branch 'dev' into evo
2020-06-18 11:18:30 +07:00
XMRig
416c9eff69
Fixed AMD GPU health readings on Linux.
2020-06-18 11:16:26 +07:00
SChernykh
28c81f2c53
Fixed NiceHash disconnects for KawPow
2020-06-12 14:08:00 +02:00
SChernykh
5324761e06
Show GPU # when compute error happens
2020-06-11 19:48:53 +02:00
SChernykh
dc0aee1432
KawPow: fixed crash on old CPUs
...
- Use `popcnt` instruction only when it's supported
2020-06-10 21:49:43 +02:00
XMRig
b974f1dc73
Merge branch 'dev' into evo
2020-06-10 23:15:27 +07:00
XMRig
1b928e8bf1
#1728 Fixed x86 crash on Windows.
2020-06-10 23:09:11 +07:00
XMRig
69a6111a4f
Merge branch 'dev' into evo
2020-06-10 00:58:29 +07:00
XMRig
e4779ab6ca
v5.11.4-dev
2020-06-10 00:55:15 +07:00
XMRig
1c63a8e7c3
Merge branch 'master' into dev
2020-06-10 00:49:58 +07:00
SChernykh
2d2f3d4eb2
Fixed detection of AVX2/AVX512
2020-06-09 17:47:23 +02:00
SChernykh
8c979d3bc7
Disabled AVX-512F for Argon2
...
See #1722
2020-06-09 13:53:14 +02:00
XMRig
11ed37ea63
v6.2.0-beta
2020-06-09 00:18:22 +07:00
XMRig
12728649ff
v5.11.3
2020-06-09 00:16:33 +07:00
XMRig
dbc8e20e53
Merge branch 'dev' into evo
2020-06-07 21:25:31 +07:00
SChernykh
75c57f7563
Fixed GCC 10.1 issues
...
- Fixed uninitialized `state->x` warning
- Fixed broken code with `-O3` or `-Ofast`
2020-06-07 16:23:17 +02:00
XMRig
5e1199ea48
Merge branch 'dev' into evo
2020-06-07 20:15:12 +07:00
XMRig
5c5d841776
Merge branch 'noexecstack' of https://github.com/gentoo-monero/xmrig into dev
2020-06-07 20:11:37 +07:00
Matt Smith
a28bddcbdf
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
XMRig
0bfe501dac
Add "cn/conceal" alias for hashvault.pro pool.
2020-06-07 15:22:05 +07:00
XMRig
3f237ae348
v6.2.0-evo
2020-06-07 15:13:46 +07:00
XMRig
f4f88ea1f7
Merge branch 'beta' into evo
2020-06-07 15:10:13 +07:00
SChernykh
7f00cb59d2
Conceal (CCX) support
2020-06-07 01:01:45 +02:00
XMRig
2198beff59
v6.0.1-beta
2020-06-06 15:09:41 +07:00
XMRig
ea72052f50
#1708 Added "title" option.
2020-06-06 00:24:58 +07:00
XMRig
f18bfeb77d
Merge branch 'evo' of https://github.com/SChernykh/xmrig into pr1713
2020-06-05 19:17:01 +07:00
XMRig
ba017708bb
Add tag to error message.
2020-06-05 19:02:32 +07:00