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
leah2 has quit [*.net *.split]
xen0n has quit [*.net *.split]
somlo has quit [*.net *.split]
guerby has quit [*.net *.split]
somlo has joined #fedora-riscv
leah2 has joined #fedora-riscv
guerby has joined #fedora-riscv
xen0n has joined #fedora-riscv
leah2 has quit [Client Quit]
leah2 has joined #fedora-riscv
zsun has joined #fedora-riscv
jednorozec has quit [Read error: Connection reset by peer]
jednorozec has joined #fedora-riscv
<davidlt[m]> aurel32: there is a bunch of VF2 DT patches blocked right now, that's why they aren't merged.
jednorozec has quit [Read error: Connection reset by peer]
jednorozec_ has joined #fedora-riscv
jednorozec_ is now known as jednorozec
jednorozec has quit [Ping timeout: 246 seconds]
fuwei has joined #fedora-riscv
jednorozec has joined #fedora-riscv
sxa[m] has quit [Server closed connection]
<davidlt[m]> rwmjones: could you time rpmbuild -ba on VF2 for binutils and glibc?
<rwmjones> davidlt[m]: I can ...
<rwmjones> give me a bit
BrandonDunne[m] has joined #fedora-riscv
lorbus has joined #fedora-riscv
<rwmjones> I'll try binutils first since that's smaller (I think)
sxa[m] has joined #fedora-riscv
<rwmjones> ok binutils is building
<rwmjones> seems to be using -j4 and I'm building it on the nvme drive
<davidlt[m]> Yeah, use NVMe as that has an impact.
<davidlt[m]> I would like to know later on how long it takes for dnf to generate chrome.
<davidlt[m]> Chroot
<rwmjones> also the SD card probably wouldn't make it through a build w/o erroring
<davidlt[m]> I could later compare that to TH1520 that dtometzki has
<rwmjones> ah actually I'm using 'fedpkg local', not mock
<rwmjones> it's up to %check already
<davidlt[m]> I would like just rpmbuild ba
<davidlt[m]> Without mock overhead.
<rwmjones> I think fedpkg local is basically just rpmbuild
<rwmjones> 114714 pts/0 S+ 0:00 rpmbuild --define _sourcedir /home/rjones/d/fedora/binutils/main-riscv64 --define _specdir /home/rjones/d/fedora/binutils/main-riscv64 --define _builddir /home/rjones/d/fedora/binutils/main-riscv64 --define _srcrpmdir /home/rjones/d/fedora/binutils/main-riscv64 --define _rpmdir /home/rjones/d/fedora/binutils/main-riscv64 --define _rpmfilename %%{ARCH}/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
<rwmjones> biab, the binutils build is still going
<rwmjones> it's "stuck" (not actually stuck) on the LTO step
<rwmjones> I wonder if disabling LTO would be a good idea for our builds
<rwmjones> I doubt it gets us much benefit, and it tends to serialize the builds, and is very slow on these relatively low memory systems
<davidlt[m]> LTO has a huge impact, but I tried to deviate as little as we can these days.
<rwmjones> I was wondering if we could do a global setting, but you're right it's probably better to stick to what Fedora is doing
<rwmjones> so it's *still* doing LTO stuff ...
<rwmjones> I'll copy and paste the binutils time into here when it finishes, entertaining guests today so I'll not be around too much
<rwmjones> & also glibc afterwards
<davidlt[m]> Yeah, LTO is really expensive for us. There are issues/bugs with some packages, at some point I should report them.
<davidlt[m]> If we disable LTO globally we also go blind here until it's enabled again (e.g. once we become a proper arch).
<davidlt[m]> There are 3 things that typically cause problems: (1) Slow single-thread/core performance (visible with LTO); (2) Slow storage (low 4K random IOPS) and DNF are not friends; (3) memory capacity for debug stuff, running stuff, LTO, etc.
<davidlt[m]> Also compression is affected by slow single-thread/core performance.
<davidlt[m]> So that also goes to (1).
<davidlt[m]> News: new GCC 13 build + annobin landed.
<davidlt[m]> TH1520 final PCB will have 16GB option, and it should be 1.3-1.5X faster than JH7110, and some things might be way more faster with their OoO cores (TBD, I guess).
<davidlt[m]> Storage we could fix with USB-A to NVMe adapter. That's the best available option.
<davidlt[m]> Software support is another thing. VF2 will probably be good enough within a few months (hopefully), while TH1520 god a good start, but lack of vendor involvement is annoying as usual.
<davidlt[m]> It's P1 in the bug tracker.
<davidlt[m]> There is overheating next to ASMedia PCie switch which causes ASMedia to reach too high temperatures.
<davidlt[m]> It will be probably fixed for V1.2
<davidlt[m]> They have a few months to catch all the HW related issues.
<davidlt[m]> The bigger issues is that there will be V1.0, V1.1, V1.2 and who know how much more boards out there.
<davidlt[m]> Currently all the boards are pre-production. As long as that doesn't require changes on DT side it's probably fine.
<rwmjones> binutils is writing RPMs
<davidlt[m]> That seems fast.
<rwmjones> here we go ..
<rwmjones> binutils:
<rwmjones> real106m59.253s
<rwmjones> user301m31.306s
<rwmjones> sys16m42.534s
<davidlt[m]> Task time 3:21:35 // buildArch, binutils-2.40-10.0.riscv64.fc38
<davidlt[m]> In reality it was ~3 hours, 20-30 minutes were for setting up various things.
<rwmjones> ok doing glibc now
iooi has joined #fedora-riscv
<davidlt[m]> and 6.3.11 kernel is cooking
zsun has quit [Quit: Leaving.]
<rwmjones> davidlt[m]: glibc timings:
<rwmjones> real221m23.099s
<rwmjones> sys59m41.049s
<rwmjones> user624m13.675s
<davidlt[m]> Let me check Koji
<davidlt[m]> buildArch for glibc-2.37-4.fc38
<davidlt[m]> Task time 6:40:12
<davidlt[m]> Checking state.log
<davidlt[m]> So yeah, something like ~30 minutes wasted on dnf stuff.
<davidlt[m]> Not a major improvement, but a nice one in build times.
<davidlt[m]> So let's see next week how that compares to TH1520.
<davidlt[m]> rwmjones: I would advice to disable tmp on tmpfs: https://fedoraproject.org/wiki/Features/tmp-on-tmpfs
<davidlt[m]> systemctl mask tmp.mount
<rwmjones> yeah, good idea ..
jednorozec has quit [Ping timeout: 264 seconds]
fuwei has quit [Ping timeout: 264 seconds]
fuwei has joined #fedora-riscv
tg has joined #fedora-riscv
jednorozec has joined #fedora-riscv