!UKDpaKNNsBpOPfLWfX:zhaofeng.li

Colmena

299 Members
A simple, stateless NixOS deployment tool - https://github.com/zhaofengli/colmena101 Servers

Load older messages


SenderMessageTime
19 Sep 2023
@aanderse:nixos.devaanderse

question about the experimental streaming evaluator:

is there a specific reason --evaluator streaming can't be used with colmena eval?
i read the basic description of what nix-eval-jobs is and i don't see any reason why it couldn't be used with the colmena eval command
maybe just hasn't been implemented but it could?

i would appreciate any info on this 🙇‍♂️

12:10:29
@raitobezarius:matrix.orgraitobezariusIt can definitely be used as far as I imagine it13:49:01
@raitobezarius:matrix.orgraitobezariusBut what is the size of the deployment you are trying to use it for?13:49:12
@raitobezarius:matrix.orgraitobezariusIt won't work very efficiently, will it?13:49:20
@raitobezarius:matrix.orgraitobezariusExcept if your biggest annoyance is evaluating nixpkgs13:49:31
@aanderse:nixos.devaanderse

raitobezarius: when i evaluate some large things (like config.system.build.toplevel) with colmena eval it is very slow
when i run colmena apply (with streaming evaluator) it is very fast

i'd wager if i could run colmena eval with streaming evaluator it would also be fast

14:19:32
@raitobezarius:matrix.orgraitobezariusinteresting14:19:47
@raitobezarius:matrix.orgraitobezariusoh but yes14:19:50
@raitobezarius:matrix.orgraitobezariusthis is completely the usecase for the streaming evaluator14:19:56
@raitobezarius:matrix.orgraitobezariusBut the streaming evaluator may not know how to parallelize the deployment part14:20:20
@raitobezarius:matrix.orgraitobezariusBecause it's intertwined14:20:26
@raitobezarius:matrix.orgraitobezariusBut if you see this type of perf, this makes sense14:20:31
@aanderse:nixos.devaandersethis runs on ci machines which have plenty of resources... so i think it should all just work magically :)14:21:10
@aanderse:nixos.devaanderseanyways, i'll take your answer as a confirmation that this simply hasn't been added to colmena for whatever reason14:21:59
@raitobezarius:matrix.orgraitobezariushttps://github.com/zhaofengli/colmena/blob/main/src/nix/hive/mod.rs#L368-L38314:23:28
@raitobezarius:matrix.orgraitobezariususe the streaming evaluator here14:23:31
@raitobezarius:matrix.orgraitobezariusinstead of a simple nix-instantiate14:23:36
@aanderse:nixos.devaandersei think i'll open an issue to track this thanks 😄14:28:49
20 Sep 2023
@mutantmell:helveticastandard.com@mutantmell:helveticastandard.com joined the room.01:27:15
@dustee:matrix.orgdustee joined the room.16:15:00
@dustee:matrix.orgdusteeguys what causes this error [ERROR] stderr) error: attribute 'inputs' missing 16:15:47
@dustee:matrix.orgdusteethe nix flake builds normally, but not with colmena16:16:03
@dustee:matrix.orgdusteefixed it but adding meta.specialArgs = {inherit inputs outputs;};16:44:26
@dustee:matrix.orgdustee * fixed it by adding meta.specialArgs = {inherit inputs outputs;};16:44:37
21 Sep 2023
@dedmunwalk:matrix.orgdedmunwalk joined the room.23:07:54
22 Sep 2023
@bl1nk:matrix.orgbl1nk changed their profile picture.11:21:25
@bl1nk:matrix.orgbl1nk changed their profile picture.11:23:10
24 Sep 2023
@mib:kanp.aimib 🥐 joined the room.12:23:07
25 Sep 2023
@cafkafk:gitter.imcafkafk joined the room.13:52:43
@cafkafk:gitter.imcafkafkAre there other people on Colmena that have write access?14:11:42

Show newer messages


Back to Room ListRoom Version: 6