!UNVBThoJtlIiVwiDjU:nixos.org

Staging

391 Members
Staging merges | Running staging cycles: https://github.com/NixOS/nixpkgs/pulls?q=is%3Apr+is%3Aopen+head%3Astaging-next+head%3Astaging-next-25.11 | Review Reports: https://malob.github.io/nix-review-tools-reports/125 Servers

Load older messages


SenderMessageTime
26 Jun 2026
@emilazy:matrix.orgemilyhuh, we don't have that?14:07:31
@emilazy:matrix.orgemilyshould be very harmless to propagate a hook like that unconditionally though14:07:49
@grimmauld:m.grimmauld.deGrimmauld (any/all) Yes, i agre 14:09:00
@rntpts:synapse.rntpts.derntptsgnu nproc respects cgroup limits since 9.8 (https://github.com/coreutils/coreutils/blob/57fe9ecd694459c44fa59b903d5dbb001f22ce66/NEWS#L531-L532)14:17:38
@grimmauld:m.grimmauld.deGrimmauld (any/all)* Yes, i agree14:09:03
@hexa:lossy.networkhexatools could be using all sorts of apis for guessing core count though14:18:02
@emilazy:matrix.orgemily CPU namespaces 14:19:11
@rntpts:synapse.rntpts.derntptsninja does too14:19:28
@vcunat:matrix.orgvcunatEven if they didn't, they wouldn't be allowed by the kernel to use other cores.14:24:16
@vcunat:matrix.orgvcunatBut fixed allocation of cores to builds doesn't seem ideal to me either way.14:24:42
@vcunat:matrix.orgvcunat* But fixed allocation of particular cores to particular builds doesn't seem ideal to me either way.14:24:52
@vcunat:matrix.orgvcunat(even if we tried some clever way of overlapping those sets)14:25:13
@rntpts:synapse.rntpts.derntpts Yes they would. With default kernel config, cpu limits only apply if the system is overloaded. 14:25:37
@rntpts:synapse.rntpts.derntpts(Though that may be enough?)14:26:00
@vcunat:matrix.orgvcunatThat sounds good to me. (I didn't find this in docs when I was looking years ago.)14:26:51
@rntpts:synapse.rntpts.derntptsThat also doesn't fix the overprovisioning of threads and memory that would happen. It would just ensure fair scheduling between jobs/derivations. So any scheduler contention would still exist for the tools that don't check cgroup limits themselves.14:29:41
@dramforever:matrix.orgdramforeveropenmp is for something like multi-processing (i can't immediately find the abbreviation expansion). mpi is "message-passing interface"14:32:16
@dramforever:matrix.orgdramforevernot to be confused with openmpi which is an implementation of mpi14:32:28
@dramforever:matrix.orgdramforever * 14:32:47
@emilazy:matrix.orgemily why does mpiCheckPhaseHook set OMP_NUM_THREADS and say it's for OpenMPI then… 14:32:55
@dramforever:matrix.orgdramforever:shrug:14:33:54
@emilazy:matrix.orgemilyoh it doesn't say it's for MPI14:34:25
@emilazy:matrix.orgemilybut it does still have it. and has since the hook was added14:34:31
@dramforever:matrix.orgdramforeverthey are often used together14:34:45
@grimmauld:m.grimmauld.deGrimmauld (any/all) iirc mpi uses omp for each node? 14:34:53
@grimmauld:m.grimmauld.deGrimmauld (any/all)am a little fuzzy on that though14:35:02
@dramforever:matrix.orgdramforeversince nowadays normally you wouldn't run a cluster of nodes but have/use only one cpu core on each node14:35:29
@dramforever:matrix.orgdramforeveropenmp is shared address space. you can also run multiple mpi processes on one node but that would be, well, multiple processes14:37:16
@dramforever:matrix.orgdramforeveri guess one analogy would be like pthreads and sockets14:39:59
@dramforever:matrix.orgdramforevertcp servers are regularly multi-threaded, but this doesn't really have much to do with tcp14:42:04

Show newer messages


Back to Room ListRoom Version: 6