!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

541 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30122 Servers

Load older messages


SenderMessageTime
25 May 2021
@baloo_:matrix.orgbaloo(I stopped using venv since nix)23:21:35
@andi:kack.itandi-Anyway, determinism > speed for now :-)23:22:10
@baloo_:matrix.orgbalooyeah that's nice. I'd like to debug for the gcc build23:30:54
@baloo_:matrix.orgbaloobut I need to step through the different phases and compare the intermediate results23:31:15
@baloo_:matrix.orgbaloothe non-reproducibility there does not make much sense to me23:31:52
@andi:kack.itandi-oh, GCC is still not reproducible? I thought we got that one covered.23:32:32
@baloo_:matrix.orgbalooit is now23:32:41
@baloo_:matrix.orgbaloobut it's 8-12% slower23:32:49
@andi:kack.itandi-would be worse if the build results were slower now23:33:08
@baloo_:matrix.orgbaloothe build results are the same23:33:38
@baloo_:matrix.orgbaloobut getting there is slower23:33:46
@baloo_:matrix.orgbaloothe gcc build measures the compilation of gcc itself to determine hotpaths23:34:27
@baloo_:matrix.orgbalooand feeds that to the compilation to reorder the output assembly23:34:43
@andi:kack.itandi-is that different from their PGO?23:46:19
@baloo_:matrix.orgbaloothat's the pgo23:47:45
@baloo_:matrix.orgbalooand I can't understand why it's not reproducible23:47:58
@andi:kack.itandi-For the python PGO stuff I spotted a few time.time() calls which might make the profile output depend on the current time. Sometimes you might have more odd seconds or whatever which might slightly affect the formatting code or what not23:48:54
@baloo_:matrix.orgbaloohuum23:49:33
@baloo_:matrix.orgbaloothing is23:49:35
@baloo_:matrix.orgbalooit's reproducible on the same machine23:49:43
@grahamc:nixos.org@grahamc:nixos.orglet's patch the kernel to only ever say it is 1 second past the epoch. always.23:49:51
@baloo_:matrix.orgbaloobut going from amd zen1 to zen3 breaks it23:49:56
@andi:kack.itandi-Are they counting how long an instruction takes?23:50:27
@andi:kack.itandi-And then try different versions of the same code?23:50:41
@baloo_:matrix.orgbaloowell ... looks like it, but the thing is: the documentation and the developers says no23:51:00
@baloo_:matrix.orgbaloothere is a specific build profile to get machine-optimized code23:51:25
@baloo_:matrix.orgbalooand this is not the one we had23:51:33
@baloo_:matrix.orgbaloo(machine-optimized is based off perf)23:51:53
@andi:kack.itandi-What profiles are there and can we maybe just specify one that is empty/trivial to reason about?23:52:11
@andi:kack.itandi-Something like a no-op profile to figure out if that is reproducible23:52:43

Show newer messages


Back to Room ListRoom Version: 6