dgilmore changed the topic of #fedora-riscv to: Fedora on RISC-V https://fedoraproject.org/wiki/Architectures/RISC-V || Logs: https://libera.irclog.whitequark.org/fedora-riscv || Alt Arch discussions are welcome in #fedora-alt-arches
<thefossguy> Gotcha :)
<thefossguy> The sun doesn't seem too bright today (metaphorically speaking)
<davidlt[m]> rwmjones: want more work? :)
rwmjones_ has joined #fedora-riscv
rwmjones has quit [Ping timeout: 260 seconds]
jcajka has joined #fedora-riscv
<rwmjones_> davidlt[m]: morning, yes, but not right now
<rwmjones_> I want to try to concentrate on making my build system a bit faster first
<rwmjones_> I was going to try to install a qemu VM and benchmark it against the real hardware
rwmjones_ is now known as rwmjones
<davidlt[m]> rwmjones_: Note, you need to benchmarks. One that is exclusive single-thread bound and another one that can go very parallel.
<davidlt[m]> For example, compiling kernel most likely is faster on QEMU if you can go -j32.
<davidlt[m]> Well, okay, things might stop scaling well after -j8 :)
<davidlt[m]> If it's a stupidly long configure script that executing tests one by one, the board is faster.
<davidlt[m]> Of course this might not apply if you have something like 13900KS running at extremely high freq or something :)
<davidlt[m]> I tried to find some benchmarks for QEMU (freq. vs cache size), but nothing interesting on the Internet.
<davidlt[m]> Anything even if QEMU wins today, probably it already looses to TH1520 and others.
tibbs has quit [Ping timeout: 246 seconds]
tibbs has joined #fedora-riscv
<davidlt[m]> Oh, another patch for TH1520 showed up on the mailing list.
sharkcz has quit [Quit: ZNC 1.8.2 - https://znc.in]
<rwmjones> davidlt[m]: we're still limited to 8 vCPUs on qemu I guess?
<rwmjones> IIRC it was some problem with the interrupt mechanism
<davidlt[m]> No, it's up to 32 vCPUs.
<davidlt[m]> Well, the scaling might not be that great. I am running 32-core VM, but never spend too much time testings 8 vs 16 vs 32 vCPUs.
<davidlt[m]> My biggest VM is 32 vCPU 80GB RAM.
<davidlt[m]> Note, you need the latest QEMU and must restrict it to Sv39.
<davidlt[m]> Well, I need to update instructions for the latest QEMU :)
sharkcz has joined #fedora-riscv
<davidlt[m]> From: https://wiki.haskell.org/GHC/FAQ#When_I_try_to_start_ghci_.28probably_one_I_compiled_myself.29_it_says_ghc-5.02:_not_built_for_interactive_use
<davidlt[m]> But yeah, it was built with the same version.
<davidlt[m]> It also used to work in the past. Looking at ghcid build logs.
<thefossguy> <davidlt[m]> "Note, you need the latest QEMU..." <- *restrict* it to sv39? OoO
<davidlt[m]> Yes
<thefossguy> How do I check if the hw booted with what amount of addr space support?
<thefossguy> I saw this in the firmware log but can't see it in dmesg
<davidlt[m]> Check DT?
<thefossguy> good idea :D
<thefossguy> Just realized that sv39 is what current hardware supports :sweat_smile:
<thefossguy> I thought sv48 was the "current" one
<thefossguy> My bad
<davidlt[m]> I think TH1520 might support Sv48.
<davidlt[m]> Ah, their DT has it at Sv39.
<davidlt[m]> The same is with C920 cores.
<davidlt[m]> It's Ventana Veyron 1 that has Sv48.
<rwmjones> cool, I will build a 32 core VM in that case :-/
<thefossguy> > As per the specification, sv64 must support sv57, which in turn must support sv48...etc. So we can restrict machine support by simply setting the "highest" supported mode and the bare mode is always supported.
<thefossguy> TIL :)
zsun has joined #fedora-riscv
zsun has quit [Quit: Leaving.]
jcajka has quit [Quit: Leaving]
<davidlt[m]> Oh, golang 1.20 has a fix for this already: https://github.com/golang/go/commit/1e3c19f3fee12e5e2b7802a54908a4d4d03960da
<davidlt[m]> Not sure about others.
tibbs has quit [Quit: ZNC 1.8.2 - https://znc.in]
tibbs has joined #fedora-riscv
hiredman[m] has quit [Remote host closed the connection]
AutiBoyRobotics[ has left #fedora-riscv [#fedora-riscv]
troglodito has quit [Ping timeout: 256 seconds]
troglodito has joined #fedora-riscv
_whitelogger has joined #fedora-riscv
tibbs has quit [Quit: ZNC 1.8.2 - https://znc.in]
tibbs has joined #fedora-riscv
tibbs has quit [Quit: ZNC 1.8.2 - https://znc.in]
tibbs has joined #fedora-riscv