| 7 Jan 2025 |
| ruro joined the room. | 03:42:19 |
| @siraben:matrix.org left the room. | 03:42:31 |
| Renato Trevisan set a profile picture. | 21:58:29 |
hexa | Gaétan Lepage: load1 at 390 | 23:55:12 |
hexa | cmon | 23:55:13 |
hexa | and oom as well | 23:55:26 |
hexa |
23:56:08 up 1 day 11:47, 2 users, load average: 351.43, 344.19, 207.12
| 23:56:13 |
| 8 Jan 2025 |
Gaétan Lepage | On ARM ? | 06:53:53 |
Gaétan Lepage | I'm fighting against a single package (pytensor) which is building perfectly fine on x86 but for some reason filling RAM + swap on the aarch box | 06:55:07 |
Gaétan Lepage | That's why I was asking for overwritting pytest's num jobs. | 06:55:54 |
Gaétan Lepage | I have been able to cache it for now by manually ssh-ing on the box and building it with --cores 16 but it sometimes gets rebuilt by nixpkgs-review. | 06:59:31 |
Gaétan Lepage | Or are you talking about darwin ? | 07:01:56 |
hexa | aarch64-linux | 13:46:11 |
hexa | needed to get a firefox out and twice my build job was killed for no good reason | 13:46:39 |
Gaétan Lepage | Ok, I think it's numpyro then | 13:47:52 |
Gaétan Lepage | I open a PR to prevent it from bothering us again: https://github.com/NixOS/nixpkgs/pull/372111 | 13:48:11 |
emily | that looks like it will use 8 cores even if --cores 1? | 13:53:24 |
Gaétan Lepage | I was wondering if we could do something like min(1, NIX_BUILD_CORES) but I fear it's not possible.
Do you have a better solution emily ? | 13:57:29 |
Gaétan Lepage | * I was wondering if we could do something like max(8, NIX_BUILD_CORES) but I fear it's not possible.
Do you have a better solution emily ? | 13:57:42 |
emily | if (( NIX_BUILD_CORES > 8 )); then NIX_BUILD_CORES=8; fi? | 13:58:17 |
Gaétan Lepage | Indeed it works fine ! | 14:03:45 |
Gaétan Lepage | Thanks emily :) | 14:03:50 |
hexa | $((NIX_BUILD_CORES > 8 ? 8 : NIX_BUILD_CORES)) | 16:22:03 |
hexa | 😛 | 16:22:10 |
Gaétan Lepage | Applied ;) | 16:23:20 |
hexa | you could also just set --maxprocesses=8 | 16:24:05 |
Gaétan Lepage | 🙃 | 16:24:22 |
nim65s | this flag is for which command ? I can't find anything on https://github.com/search?q=repo%3ANixOS%2Fnix+maxprocesses | 16:30:40 |
nim65s | ah, pytets | 16:31:22 |
nim65s | * ah, pytest | 16:31:28 |