!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

392 Members
Next Infra call: 2024-07-11, 18:00 CEST (UTC+2) | Infra operational issues backlog: https://github.com/orgs/NixOS/projects/52 | See #infra-alerts:nixos.org for real time alerts from Prometheus.120 Servers

Load older messages


SenderMessageTime
28 Jan 2025
@sliedes:hacklab.fiSami LiedesAh, so tests.15:38:44
@sliedes:hacklab.fiSami LiedesWell, I guess there's no reason why that same couldn't be used for test-runners? Unless I still misunderstand gravely where the bottleneck is.15:39:04
@k900:0upti.meK900No, tests are just particularly expensive to evaluate because they contain nested nixpkgs instantiations15:39:15
@k900:0upti.meK900Evaluation needs to happen on a single machine 15:39:24
@k900:0upti.meK900Which is the coordinator 15:39:27
@k900:0upti.meK900And it has to be the coordinator unless Hydra is majorly rewritten 15:39:40
@sliedes:hacklab.fiSami LiedesAh, I see. And it runs those in a single thread? Or, one evaluation at a time?15:40:22
@sliedes:hacklab.fiSami LiedesBecause it wants to guarantee that whatever gets out there passes.15:41:00
@vcunat:matrix.orgVladimír ČunátI think it might do more, but it's very expensive in RAM even without that.15:41:05
@sliedes:hacklab.fiSami LiedesOk.15:41:17
@vcunat:matrix.orgVladimír ČunátAnd afterwards adding the quarter-million of jobs into the DB in a single transaction - that's also noticeable.15:42:15
@sliedes:hacklab.fiSami Liedes Yet... correct me if I'm wrong, but isn't evaluation something where one could almost write a silly bash (ugh) wrapper for nix that spawns it to a remote machine? And then you could run 5000 of those on one coordinator. 15:42:50
@sliedes:hacklab.fiSami LiedesWhat I know you cannot do easily is split an evaluation.15:43:40
@k900:0upti.meK900No15:43:47
@vcunat:matrix.orgVladimír ČunátProbably. No idea about the amount of work involved.15:43:47
@k900:0upti.meK900Well kinda15:43:52
@k900:0upti.meK900But Hydra currently does not do that15:43:58
@vcunat:matrix.orgVladimír Čunát* Probably. No idea about the amount of human work involved.15:44:05
@k900:0upti.meK900And it's not trivial to actually do that15:44:08
@k900:0upti.meK900Because it's not calling Nix commands15:44:12
@sliedes:hacklab.fiSami LiedesYeah, the devil is always in the details.15:44:17
@k900:0upti.meK900It's calling libstore and friends directly15:44:30
@k900:0upti.meK900And if you're going to rewrite half of Hydra, eval time isn't even the most valuable thing to fix15:45:08
@sliedes:hacklab.fiSami Liedes And I hope nobody writes a bash wrapper for libstore. Actually I already hope nobody writes a bash wrapper for nix CLI. 15:45:10
@sliedes:hacklab.fiSami LiedesWhat is?15:45:16
@sliedes:hacklab.fiSami Liedes(Subjective opinions welcome :)15:45:25
@vcunat:matrix.orgVladimír ČunátThe queue runner, probably.15:45:41
@k900:0upti.meK900Detached signatures would be the biggest effect to complexity ratio probably15:45:54
@k900:0upti.meK900But I can't even explain what that is without explaining the other half of Hydra15:46:17
@sliedes:hacklab.fiSami LiedesRight.15:46:24

Show newer messages


Back to Room ListRoom Version: 6