Got to the point of building LLVM 15.0.6 on the VisionFive 2 - it's going like a rocket compared to doing the same in QEMU (even though I emulated many more cores with QEMU!)
CPU Temperature seems to be sat at about 65 deg C, 8GB seems to be plenty of RAM for building with 4 processes. Seems to have got 25% of the way through the build in 30 minutes. Note sure how to check what speed the cores are running at / if they're throttled.
Better than I'd expected, will probably redo this build once I have a heatsink / fan and NVMe to see how much faster it could be.
Spoke too soon, ld was oom-killed linking libLTO.so :-(
Between the various attempts to build (with 4 jobs, then 2) the total times for building LLVM 15 on the VF 2 were:
real: 280 minutes
user: 790 minutes.
(i.e. 4 hours 40 minutes of waiting). Will try again with 3 jobs when I have the NVMe drive and heatsink / fan, to see if that finishes in one go and how fast it goes.
Ran again with NVMe drive and 3 jobs:
real 230m55.985s
user 671m8.705s
sys 20m51.997s
Not bad, LLVM build in under 4 hours, and no OOM!
According to sensors, temp mostly hovered around 70C:
$ sensors
120e0000.tmon-isa-0000
Adapter: ISA adapter
temp1: +69.6 C
Didn't appear to throttle, /sys/devices/system/cpu/cpufreq/policy0/cpuinfo_cur_freq always reported 1500000 - however with 4 cores going I could see it reach 85 and start to throttle... Seems the min freq is 375MHz.
@conor Yeah, I just want to work on JIT so I don't need anything else.
I put together a proof of concept that Numba could JIT Python on RISC-V with Qemu a couple of weeks ago: https://github.com/gmarkall/numba/commit/7c8c5e7201d9679eb9a765f35117a9f669798322
Since I got that far, I felt it was justified to invest in some real hardware to make a serious attempt at RISC-V support in Numba / llvmlite in early 2023, hence getting the VF2.