!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

207 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v63 Servers

Load older messages


SenderMessageTime
17 May 2025
@dramforever:matrix.orgdramforeverboth are 1.5GHz17:08:00
@dramforever:matrix.orgdramforeveri went to check the kickstarter page and it claims to be a chunk slower than the pi417:08:18
@alex:tunstall.xyzAlexExactly. Comparable performance. /s17:08:24
@dramforever:matrix.orgdramforeverwhich may be true17:08:25
@lotte:chir.rs@lotte:chir.rs

the first test was 128 bit ID generation (nanosecond system clock, 128 bit multiply, and an atomic memory raccess), the cm4 did it in 140ns average, the vf2 in 1.114μs average (~8x slower)

1MB of base64 encoding? 4.383ms on the cm4, 12.122ms on the vf2 (~3x slower)

17:08:38
@dramforever:matrix.orgdramforeverit also just does not have vector instructions17:09:00
@lotte:chir.rs@lotte:chir.rslemme try openssl speed17:09:02
@dramforever:matrix.orgdramforeverso base64 checks out depending on implementation17:09:15
@lotte:chir.rs@lotte:chir.rs the rust base64 raccrate 17:09:23
@dramforever:matrix.orgdramforeveri have no idea what this compiles down to17:14:29
@dramforever:matrix.orgdramforeverbut anyway don't expect to be able to replicate the speed ration on random benchmarks17:15:29
@dramforever:matrix.orgdramforever* but anyway don't expect to be able to replicate the speed ratio on random benchmarks17:15:40
@dramforever:matrix.orgdramforevernot happening17:16:16
@dramforever:matrix.orgdramforeveras of uuid generation i wonder if it's going through vdso on arm and a syscall on riscv17:17:57
@lotte:chir.rs@lotte:chir.rs

Doing 4096 bits private rsa sign ops for 10s: 142 4096 bits private RSA sign ops in 9.93s

17:22:52
@lotte:chir.rs@lotte:chir.rsso fast17:22:53
@dramforever:matrix.orgdramforeveryeah not having vector instructions really helps17:23:48
@lotte:chir.rs@lotte:chir.rsresults are in ✨17:30:16
@lotte:chir.rs@lotte:chir.rs https://docs.google.com/spreadsheets/d/1xvuzBbQaWIGIrmKiYEHSkABQkhmKc8WNKTZWFyVgvqA/edit?usp=sharing 17:30:17
@lotte:chir.rs@lotte:chir.rsin general it seems that the single raccore performance of the vf2 is about half that of the cm417:30:45
@lotte:chir.rs@lotte:chir.rspresumably both have working hardware aes, but the sha256 implementation seems to be 3x slower than on the cm417:31:40
@alex:tunstall.xyzAlexAssuming the system is properly configured to use the hardware crypto (on either system).17:32:24
@lotte:chir.rs@lotte:chir.rsdefault settings17:33:03
@lotte:chir.rs@lotte:chir.rsthe cm4 is running kde wayland and yes it is not that fast ™️17:33:33
@dramforever:matrix.orgdramforever
In reply to @lotte:chir.rs
presumably both have working hardware aes, but the sha256 implementation seems to be 3x slower than on the cm4
NOPE
17:42:31
@dramforever:matrix.orgdramforeverno hardware AES on vf217:42:36
@lotte:chir.rs@lotte:chir.rshow the hell is the cm4 slower then17:42:55
@dramforever:matrix.orgdramforeveri alsp doubt the crypto engine on vf2 is even supposed to be fast17:43:00
@dramforever:matrix.orgdramforevermagic17:43:17
@dramforever:matrix.orgdramforever
In reply to @dramforever:matrix.org
no hardware AES on vf2
okay tbc i mean aes instructions
17:44:21

Show newer messages


Back to Room ListRoom Version: 10