!UUYziobKGGxpovWyAN:nixos.org

Robotnix

247 Members
Build Android (AOSP) using Nix | https://github.com/danielfullmer/robotnix76 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
12 Feb 2025
@atemu12:matrix.orgatemu12You could try limiting the parallelism07:13:04
@atemu12:matrix.orgatemu12It's probably hard-coded07:13:18
@atemu12:matrix.orgatemu12You could also try using the github mirror07:13:38
@waltmck:matrix.orgwaltmckit looks like the number of jobs defaults to the number of logical cores from reading the code07:13:57
@atemu12:matrix.orgatemu12I've never done it myself but it ought to be possible using ROBOTNIX_MIRRORS07:14:16
@waltmck:matrix.orgwaltmckI capped the number of jobs to 4 and it appears to be chugging along, I'll see if it works. Might be smart to adjust the code so it works on CPUs with many cores07:18:34
@waltmck:matrix.orgwaltmck* I capped the number of jobs to 4 and it appears to be chugging along, I'll see if it works. Might be smart to adjust the default so it works on CPUs with many cores07:18:50
@atemu12:matrix.orgatemu12Sounds like a good idea07:18:56
@waltmck:matrix.orgwaltmck it's line 251 of mk_repo_file.py, just change default=4 or some other small number 07:19:22
@waltmck:matrix.orgwaltmckI can file a PR later for it if that's easier07:19:31
@atemu12:matrix.orgatemu12You probably don't gain anything after a few cores because you become network-bound07:19:46
@atemu12:matrix.orgatemu12Just PR it07:20:00
@waltmck:matrix.orgwaltmckhuh it's still throttling with 4 jobs, just takes longer. I'll try 2.07:33:33

Show newer messages


Back to Room ListRoom Version: 6