-
sech1looks like 256-bit vector width is kind of a standard for RISC-V CPUs with vector support: cdn.mos.cms.futurecdn.net/waPNfjysh8LBEhHraZZiTh.png
-
sech1So I'll target 256-bit width in all my RandomX code
-
sech1Btw that CPU is designed by Jim Keller (AMD Zen, Apple M series)
-
sech1wow, even monsters like this exist: p2pool.io/u/37d40fdffe1ab072/image.png
-
sech1512 bit wide vector unit
-
sech1and 4 MB L3 cache per core
-
sech1will be a monster for RandomX
-
hycfun stuff
-
jpk68sech1: Which RISC-V board are you using? Orange Pi?
-
DataHoarderjpk68: 15:23:59 <@sech1> Got a new toy to play with p2pool.io/u/8f4ac95d0af11879/20251120_152219.jpg
-
DataHoarderOrange Pi RV2
-
jpk68Thanks. Missed that photo somehow
-
jpk68Unfortunately it seems pretty hard to find RISC-V boards with reliable hardware AES. IIRC the performance gain from the Raspberry Pi 4 to 5 (which added hardware AES) was fairly substantial.
-
sech1I'm working on writing vectorized software AES for RISC-V, it should be much faster than the regular code.
-
jpk68Oh, cool
-
jpk68Is AES used for anything other than filling/hashing the dataset and scratchpad? I'm not too knowledgeable about what takes the most time per hash
-
jpk68I know this is a terrible comparison, but the Pi 5 is around 5x faster than my RISC-V board, which also has 4 cores.
-
hycfAES is used in multiple parts of the algorithm
-
sech1soft aes is around 30% of RandomX hash time
-
sech1so if I make it 2x faster, hashrate will increase by ~15%