!RROtHmAaQIkiJzJZZE:nixos.org

NixOS Infrastructure

388 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.119 Servers

Load older messages


SenderMessageTime
12 Feb 2025
@hexa:lossy.networkhexahrm 😕 20:37:02
@Ericson2314:matrix.orgJohn Ericsonit does seem to have something to do wit the parallelism and the eval failure?20:37:35
@Ericson2314:matrix.orgJohn Ericson * it does seem to have something to do with the parallelism and the eval failure?20:37:45
@Ericson2314:matrix.orgJohn EricsonShould we have different pipes for different nix eval jobs workers?20:37:57
@emilazy:matrix.orgemilydo you have multiple processes writing JSON to the same pipe?20:43:14
@emilazy:matrix.orgemilythat seems like a recipe for disaster20:43:17
@hexa:lossy.networkhexayeah, could be that with low parallelisation they evade each other by sheer luck20:43:45
@hexa:lossy.networkhexabut we have 16 workers right now20:43:48
@hexa:lossy.networkhexaand I might want to increase that even further 😄 20:43:55
@k900:0upti.meK900Wait is there no sync on the output 20:46:24
13 Feb 2025
@Ericson2314:matrix.orgJohn Ericson Mic92: can we has moar pipe? 01:01:47
@Ericson2314:matrix.orgJohn Ericsonwe could do a unix domain socket01:01:52
@Ericson2314:matrix.orgJohn Ericsonand then every worker connects afresh01:02:01
@joerg:thalheim.ioMic92What does a long line look like?01:10:50
@joerg:thalheim.ioMic92Don't understand yet what the issue is. Is perl reading not full lines?01:13:08
@hexa:lossy.networkhexait looked like multiple workers puking into the same pipe01:13:52
@hexa:lossy.networkhexawhich sometimes lead to json … mixed with other json01:14:11
@hexa:lossy.networkhexa not sure if John Ericson knows anything else by now 01:14:34
@joerg:thalheim.ioMic92Okay will check for today 01:15:01
@joerg:thalheim.ioMic92I have machines with a lot of ram and core count but haven't seen that so far01:16:19
@joerg:thalheim.ioMic92But maybe libc needs to flush if it gets to the pipe buffer limit regardless of a missing newline01:17:32
@emilazy:matrix.orgemilyI wouldn't rely on multiple processes writing into the same stream pipe.01:18:04
@emilazy:matrix.orgemilythat's just the wrong primitive and will never work fully reliably01:18:17
@joerg:thalheim.ioMic92I can just add a lock around it01:18:27
@joerg:thalheim.ioMic92We are not really limited by the speed to write to stdout01:18:48
@joerg:thalheim.ioMic92On nixpkgs it's slow enough that I can almost read it01:19:06
@Ericson2314:matrix.orgJohn Ericson Mic92: yeah everything is in the issue 01:21:22
@Ericson2314:matrix.orgJohn EricsonI know nothing that anyone else doesn't01:21:28
@Ericson2314:matrix.orgJohn Ericson I do agree with emily that multiple pipes/sockets feels better than locking 01:21:52
@Ericson2314:matrix.orgJohn Ericsonor are you sending everything back to the main process anyways, so it is in a good position to mux them?01:22:11

Show newer messages


Back to Room ListRoom Version: 6