The top is my pc, the bottom the Rock 5. I would expect such poor performance only if there was absolutely no acceleration and the algo was run on software mode. Has anyone gotten it to work?
I’m not sure if the terrible performance so far is only due to software implementations, or the datasheet is complete rubbish and it just lists everything the cpu CAN do rather than actual instructions (ala AVX, etc).
mine appears to work fine running armbian and just running “apt install cryptsetup”
root@rock-5b:~# cryptsetup benchmark
Tests are approximate using memory only (no storage IO).
PBKDF2-sha1 1175533 iterations per second for 256-bit key
PBKDF2-sha256 2155346 iterations per second for 256-bit key
PBKDF2-sha512 923042 iterations per second for 256-bit key
PBKDF2-ripemd160 603323 iterations per second for 256-bit key
PBKDF2-whirlpool 293883 iterations per second for 256-bit key
argon2i 4 iterations, 901917 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
argon2id 4 iterations, 916515 memory, 4 parallel threads (CPUs) for 256-bit key (requested 2000 ms time)
Why would they differ here? AFAIK the only differences between RK3588 and RK3588s is the latter being severly castrated wrt I/O and in the wild I noticed RK3588S boards often being equipped with ‘lower quality’ silicon resulting in lower real clockspeeds for a reason called PVTM.
Nope, that’s always just sysfs. In the early Rock 5B days Radxa had Rockchip’s original implementation also adjusting the cpufreq OPP on ‘weak’ silicon where the A76 cores are not able to reach the 2.4 GHz. That’s why your board shows 2304 MHz and 2352 MHz for the two A76 clusters.
In the meantime Radxa decided to cheat a little and now on each and every board 2400 MHz will be reported even if the A76 run only at 2250 MHz or lower.
You need Willy’s mhz tool to measure or simply run sbc-bench (I implemented a new -r mode for reviews recently which collects all this info automagically since not only silicon quality matters but also thermals in contrast what we/I thought in the beginning. As such this mode measures clockspeeds, then runs 5 minutes cpuminer to heat the board up and then measures again).
Yes, thermals matter. And with some RK3588(S) we have even the phenomenon that PVTM downclocks the A76 cores to slightly above 400 MHz when they should run fully loaded at max cpufreq OPP: ROCK 5B Debug Party Invitation - #496 by tkaiser
Yes, that’s it actually. I made a mistake as to which SBC I was connected to, indeed it’s the JH7110 board.
Reran and the benchmark on the Rock 5 are similar to what others reported. Not sure why it can’t do serpent.