Reduced Dataset size to 2 GiB with 8 memory accesses per block

Disabled Dataset growth
This commit is contained in:
tevador
2019-03-22 12:53:16 +01:00
parent 233af9f14f
commit 107270d93d
7 changed files with 12 additions and 142 deletions
+1
View File
@@ -349,6 +349,7 @@ namespace RandomX {
executeBytecode(r, f, e, a);
mem.mx ^= r[readReg2] ^ r[readReg3];
mem.mx &= CacheLineAlignMask;
Cache& cache = mem.ds.cache;
uint64_t datasetLine[CacheLineSize / sizeof(uint64_t)];
initBlock(cache, (uint8_t*)datasetLine, datasetBase + mem.ma / CacheLineSize, RANDOMX_CACHE_ACCESSES / 8);