lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC>
[Discord] <narga_64> If you are using NFS for network storage, but wished it was block storage instead of file based network storage, check out NVMe over TCP 😄 https://github.com/armbian/build/pull/6368
<DC-IRC>
[Discord] <narga_64> I learned about it a while ago, fiddled with it and tried it out. I really like it so far!
<DC-IRC>
[Discord] <narga_64> Especially since most new SBCs have NVMe slots anyway. And 2.5G ethernet.
<DC-IRC>
[Discord] <mecoblock> Such a cool idea for the CM3588 NAS. Do you know if there's MacOS / Windows support? Is it possible for multiple Endpoints to use the block device simultaneously?
<DC-IRC>
[Discord] <mecoblock> Currently I have a RK3568 based 2.5GBe NAS with SMB for Windows/MacOS and NFS to my Rock5B which does hw accel. Jellyfin. It works solid but JF over NFS (while better as if over smb) still struggles with 10-15 sec load times on >50GB movies
<DC-IRC>
[Discord] <narga_64> And yes, NVMe-oF enables simultaneous access from multiple hosts 👍
<DC-IRC>
[Discord] <narga_64> You could still use SMB and NVMe over TCP simultaneously though. When I did some benchmarks, I had an NFS export and an NVMe export at the same time. This may work for your Rock5B, unless the speed of your network/ethernet or your NVMe SSD is the bottleneck
<DC-IRC>
[Discord] <narga_64> @motiejus I benchmarked rk3588 crypto with phoronix test suite, using OpenSSL 3.1 with algorithm SHA256. I got a result of around 3200M, which is 3.2 Gigabytes/s.
<DC-IRC>
[Discord] <narga_64> I believe this used the hardware crypto module.
<DC-IRC>
[Discord] <narga_64> If you like, you can run this test too and compare the numbers.
<DC-IRC>
[Discord] <narga_64> *this was using legacy kernel 5.10
<motiejus>
thanks. vendor kernel I suppose. would you mind running `cryptsetup benchmark` and paste the numbers somewhere?
<DC-IRC>
[Discord] <narga_64> Friendlyelec CM3588 NAS
<DC-IRC>
[Discord] <narga_64> But yeah, your performance seems not good. Maybe crypto is not activated in the device tree (dts file) of OrangePi 5
<DC-IRC>
[Discord] <narga_64> I did a command a few weeks ago where I could see which modules were used for crypto, to check if it was using the hardware acceleration. But I don't remember the command
<DC-IRC>
[Discord] <narga_64> Ah! Fortunately I documented it 🤓
<DC-IRC>
[Discord] <narga_64> Use `cat /proc/crypto` to check.
<DC-IRC>
[Discord] <efectn> There should be some debug infortmations on dmesg output
<DC-IRC>
[Discord] <efectn> There should be some debug infortmations on dmesg output about rk2-crypto drivrr
<DC-IRC>
[Discord] <narga_64> Before I activated crypto in dts, driver for RSA was `rsa-generic`. After, it used `rsa-rk`
<motiejus>
`/proc/crypto` shows a bunch of `-rk2` drivers. Sec.