!PbtOpdWBSRFbEZRLIf:numtide.com

Nix Community Projects

594 Members
Meta discussions related to https://nix-community.org. (For project specific discussions use github issues or projects own matrix channel). Need help from an admin? Open an issue on https://github.com/nix-community/infra/issues155 Servers

Load older messages


SenderMessageTime
2 Apr 2025
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)will slow on the aarch64 though20:54:50
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)Sorry!20:55:08
@glepage:matrix.orgGaétan Lepageclipboard.png
Download clipboard.png
20:55:09
@emilazy:matrix.orgemilyyou want cores × jobs < nproc always although when multiple people are using them that pretty much has to be divided by that20:55:31
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)when i started this work it was completely idle20:55:33
@emilazy:matrix.orgemilythankfully the AArch64 one has so many cores that you can probably just pick something conservative and still have it finish faster than anything else would :P20:55:45
@emilazy:matrix.orgemilyno worries. it's hard to load balance20:55:56
@ihar.hrachyshka:matrix.orgIhar HrachyshkaI do 1 job and 20 cores on aarch64 but it's pytorch...20:55:56
@emilazy:matrix.orgemily and sorry again to Gaétan Lepage for the dodgy grep :) 20:56:04
@glepage:matrix.orgGaétan LepageIdeally we would need a scheduler like SLURM for those shared systems20:56:07
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)thats exactly why i am building all those packages on aarch64-linux, it just is the fastest builder20:56:13
@glepage:matrix.orgGaétan Lepage
In reply to @emilazy:matrix.org
and sorry again to Gaétan Lepage for the dodgy grep :)
Fair enough, I have been the culprit quite a few times in the past !
20:56:30
@ihar.hrachyshka:matrix.orgIhar Hrachyshkayeah I was thinking it's weird that we have to pick numbers for whole nixpkgs-review run when it really depends on whether others need the machine...20:56:49
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)(i also hjonstly didn't expect to be able to overload the darwin machine just feeding single build jobs by hand...)20:56:57
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)* (i also honstly didn't expect to be able to overload the darwin machine just feeding single build jobs by hand...)20:57:02
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)* (i also honstly didn't expect to be able to overload the aarch64-linux machine just feeding single build jobs by hand...)20:57:10
@emilazy:matrix.orgemilythe default is jobs = cores = nproc20:57:20
@emilazy:matrix.orgemilyso as soon as two builds with >80 parallelizable C compiles happen it blows up20:57:40
@emilazy:matrix.orgemily(and it'll try to do 80 builds if it can, so very easy to go over)20:57:51
@glepage:matrix.orgGaétan LepageThe current SotA for this kind of use is ver sub-optimal20:57:59
@emilazy:matrix.orgemilyhttps://github.com/NixOS/nix/pull/11143 would make this a lot less painful20:58:05
@emilazy:matrix.orgemilysince it would stop more build jobs spawning with some common build systems when the load is already too high20:58:23
@emilazy:matrix.orgemilybut there's been like 3 PRs adding this to Nix and crickets so far20:58:32
@emilazy:matrix.orgemily (it used to be in stdenv but it got removed because it slowed throughput for Hydra) 20:58:40
@grimmauld:grapevine.grimmauld.deGrimmauld (any/all)wouldncouldn't we just put that in lix and have the community builders run lix if nix team doesn't hurry up?21:01:05
@emilazy:matrix.orgemilythat's not a battle I'm interested in having :P but I have considered posting the patch on the Lix side to get some design feedback21:01:53
@emilazy:matrix.orgemilyFWIW, it is not a panacea. e.g., Rust builds don't support it, so those will still chew up endless amounts of CPU. it would help for Make and Ninja and there's probably other build systems that could make use of it too.21:02:29
@emilazy:matrix.orgemilybut it would make large builds on workstations or shared machines meaningfully less painful21:02:46
@ihar.hrachyshka:matrix.orgIhar Hrachyshkanix-daemon could also perhaps be smarter (e.g. throttle new jobs spawns when load is too high)21:03:24
@emilazy:matrix.orgemilyyeah, that would be nice21:03:42

Show newer messages


Back to Room ListRoom Version: 6