!coeAONBrWyDJnYMbMi:nixos.org

NixOS System Operations

585 Members
About system administration for running NixOS systems in production. Declaratively manage your operations. | Room recommendations: #networking:nixos.org156 Servers

Load older messages


SenderMessageTime
3 Nov 2024
@kyaru:ptt.moeKiruya Momochi 百地希留耶 changed their display name from 百地希留耶 to Kiruya Momochi 百地希留耶.19:57:42
4 Nov 2024
@optimusgray:technogeek.ninja@optimusgray:technogeek.ninja joined the room.01:18:36
@ryan_housand:matrix.orgrhousand joined the room.17:23:43
5 Nov 2024
@kubeliv:matrix.orgliv [she/her] joined the room.20:31:27
6 Nov 2024
@seapat:matrix.org@seapat:matrix.org joined the room.13:45:46
@scrumplex:duckhub.ioScrumplexIs there a way I can instruct Nix to prefer building locally over using remote builders? I am on a x86_64-linux machine and I have a x86_64-linux remote builder. Currently Nix seems to prefer the remote builder, even though I have more cores (and performance per core) locally. The speed factor of the builder is 114:56:44
@scrumplex:duckhub.ioScrumplex According to the documentation of nix.conf, the speed factor must be a positive integer, so I can't really do something like 0.5 14:57:09
@scrumplex:duckhub.ioScrumplex * According to the documentation of nix.conf, the speed factor must be a positive integer, so I can't set it to something like 0.5 14:57:15
@flare:matrix.darkc0de.oneflarebeen using nixos for 2 years now and have only now heard of nix.conf. if anyone has experience on this it would be interesting to see that response15:00:44
@k900:0upti.meK900
In reply to@flare:matrix.darkc0de.one
been using nixos for 2 years now and have only now heard of nix.conf. if anyone has experience on this it would be interesting to see that response
Uhh, what
15:00:58
@scrumplex:duckhub.ioScrumplex * According to the documentation of nix.conf, the speed factor must be a positive integer, so I can't set it to something like 0.5 15:01:18
@scrumplex:duckhub.ioScrumplex
In reply to @flare:matrix.darkc0de.one
been using nixos for 2 years now and have only now heard of nix.conf. if anyone has experience on this it would be interesting to see that response
I assume you have configured nix.conf just never directly. The options nix.settings.* will be used to generate /etc/nix/nix.conf on NixOS
15:02:32
@k900:0upti.meK900
In reply to@scrumplex:duckhub.io
Is there a way I can instruct Nix to prefer building locally over using remote builders? I am on a x86_64-linux machine and I have a x86_64-linux remote builder. Currently Nix seems to prefer the remote builder, even though I have more cores (and performance per core) locally. The speed factor of the builder is 1
speedFactor isn't even considered for local builds
15:02:39
@scrumplex:duckhub.ioScrumplex
In reply to @flare:matrix.darkc0de.one
been using nixos for 2 years now and have only now heard of nix.conf. if anyone has experience on this it would be interesting to see that response
* I assume you have configured nix.conf, just never directly. The options nix.settings.* will be used to generate /etc/nix/nix.conf on NixOS
15:02:42
@k900:0upti.meK900There's some weird heuristics15:02:53
@scrumplex:duckhub.ioScrumplex
In reply to @k900:0upti.me
speedFactor isn't even considered for local builds
I feared this would be the case
15:02:58
@scrumplex:duckhub.ioScrumplexI think my biggest wish for Nix would be more dynamic allocation of resources. It would be great if Nix could somehow "look-ahead" and dynamically allocate more cores to build jobs. Like let's say you are building a large closure and Nix will soon need to spend time building a single derivation that every remaining derivation depends on. It could just allocate all available cores to that derivation, while when building many derivations in parallel it could allocate a small amount of cores to not overwhelm the system15:06:57
@flare:matrix.darkc0de.oneflare
In reply to @scrumplex:duckhub.io
I assume you have configured nix.conf, just never directly. The options `nix.settings.*` will be used to generate `/etc/nix/nix.conf` on NixOS
i tend to just use the /etc/nixos/configuration.nix for my server deployments. I probably have a few settings in there though
15:08:22
@flare:matrix.darkc0de.oneflare
In reply to @scrumplex:duckhub.io

I think my biggest wish for Nix would be more dynamic allocation of resources. It would be great if Nix could somehow "look-ahead" and dynamically allocate more cores to build jobs.

Like let's say you are building a large closure and Nix will soon need to spend time building a single derivation that every remaining derivation depends on. It could just allocate all available cores to that derivation, while when building many derivations in parallel it could allocate a small amount of cores to not overwhelm the system

i agree. especially after updating channels
15:09:02
7 Nov 2024
@frumon:matrix.org@frumon:matrix.org left the room.12:27:57
8 Nov 2024
@jschvz:matrix.orgjschvz joined the room.02:56:26
@kubeliv:matrix.orgliv [she/her] changed their display name from olivia to liv [she/her].04:17:38
@k900:0upti.meK900OK so what the fuck do people use for postgres monitoring now21:39:07
@k900:0upti.meK900pg_exporter is dead as hell21:39:14
@k900:0upti.meK900coroot-pg-agent looks to also be dead onw21:39:20
@k900:0upti.meK900* coroot-pg-agent looks to also be dead now21:39:26
9 Nov 2024
@signaleleven:signal-eleven.com@signaleleven:signal-eleven.com joined the room.14:22:29
@birhaman:pub.solarBirhamanRedacted or Malformed Event15:42:34
@steveej0:matrix.orgsteveej K900: FWIW grafanna-alloy does use postgres_exporter so i'd expect it not to be fully dead :-D https://grafana.com/docs/alloy/latest/reference/components/prometheus/prometheus.exporter.postgres/ 18:47:11
@magic_rb:matrix.redalder.orgmagic_rb
In reply to @k900:0upti.me
OK so what the fuck do people use for postgres monitoring now
telegraf maybe? they probably have a postgres module
17:58:10

Show newer messages


Back to Room ListRoom Version: 10