SChernykh
7b52a41459
Fix: protectRX flushed CPU cache only on MacOS/iOS
2022-09-21 15:18:06 +02:00
SChernykh
21abbe4e84
Fix compile error in Termux
2021-02-03 19:05:05 +01:00
XMRig
2c8d8ee2ab
Fixed macOS build and compile warning.
2021-02-02 13:53:45 +07:00
XMRig
09624c4f9b
Added support for flexible huge page sizes on Linux.
2021-01-31 23:38:57 +07:00
XMRig
6b21a51a2f
Huge pages not supported by macOS ARM.
2020-12-16 01:59:20 +07:00
XMRig
87fafcf91b
Fixed JIT on macOS.
2020-12-12 22:40:48 +07:00
XMRig
2966b80ba1
Fixed macOS build.
2020-12-12 22:15:15 +07:00
XMRig
179f09081f
Alternative secure JIT for macOS.
2020-12-12 21:32:36 +07:00
XMRig
497863441a
Remove duplicated code.
2020-12-12 12:39:11 +07:00
XMRig
ec62ded279
Added generic secure JIT support for RandomX.
2020-12-11 23:17:54 +07:00
SChernykh
c2bdae70fe
Fix FreeBSD compilation
2020-10-07 18:00:36 +02: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
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
SChernykh
838cc08680
Force 2 MB pages size in allocateLargePagesMemory() on Linux
2020-07-31 09:55:49 +02:00
XMRig
d32df84ca5
Memory allocation refactoring.
2019-12-08 23:17:39 +07:00
XMRig
86e25a13e3
New summary information about 1GB pages.
2019-12-08 14:21:28 +07:00
SChernykh
e3422979d1
Fixed compilation on systems without 1GB pages support
2019-12-06 13:55:33 +01:00
SChernykh
1fbbae1e4a
Added 1GB hugepages support for Linux
2019-12-05 19:39:47 +01:00
SChernykh
450b9ec19a
Update VirtualMemory_unix.cpp
2019-12-03 20:25:51 +01:00
XMRig
52281906c6
Fixed "huge-pages" option.
2019-10-21 23:01:30 +07:00
XMRig
0e0a26f644
Fixed Linux build.
2019-10-07 13:37:12 +07:00
XMRig
68d77b02d7
Added initial memory pool support.
2019-10-07 12:36:40 +07:00
XMRig
c13c83b902
VirtualMemory class refactoring.
2019-10-06 17:49:15 +07:00
XMRig
2bf5ffb2df
Class Mem replaced to VirtualMemory.
2019-07-17 04:57:58 +07:00
XMRig
20313cbc56
Implemented unified cryptonight and RandomX scratchpad memory.
2019-07-17 04:33:11 +07:00
XMRig
ac43cd4f9c
Added unprotectExecutableMemory for future use.
2019-06-04 15:48:32 +07:00
XMRig
f620ffe899
#1026 Probably fixed iOS build.
2019-06-03 18:40:12 +07:00
XMRig
8dc586283f
Fixed Linux build.
2019-06-02 19:58:16 +07:00
XMRig
fc655d1b8d
Moved common memory primitives to new VirtualMemory class.
2019-06-02 19:43:56 +07:00