!VRULIdgoKmKPzJZzjj:nixos.org

Nix Package Manager development

836 Members
For people hacking on Nix: https://github.com/NixOS/nix Nix maintainers can be reached here.180 Servers

Load older messages


SenderMessageTime
29 Jul 2025
@Ericson2314:matrix.orgJohn EricsonSQLite should be fast enough21:40:29
@Ericson2314:matrix.orgJohn Ericson (slow based on your said your sysadmining experience, Mic92) 21:40:42
@Ericson2314:matrix.orgJohn Ericson Eelco: you inadvertently trolled us quite well, because you in 2010 https://github.com/NixOS/nix/commit/c4d388add4942f6f99a8df12f4e49149005047e2 fixed the perf issue you brought up in my PR :) 21:47:11
@joerg:thalheim.ioMic92
In reply to @Ericson2314:matrix.org
(slow based on your said your sysadmining experience, Mic92)
It's parsing all the derivation files during GC by default. You have to turn of keep-derivations to disable it
21:52:45
@joerg:thalheim.ioMic92If it's turned off it's really just sqlite and fast21:54:10
@Ericson2314:matrix.orgJohn Ericson Mic92: hmm? because of what? 21:55:20
@joerg:thalheim.ioMic92
In reply to @Ericson2314:matrix.org
Mic92: hmm? because of what?
Can't point you to the concrete code but it's very obvious if you strace
21:56:48
@joerg:thalheim.ioMic92Something else we should consider is doing VACUUM after GC to restore sqlite size. But I have to experiment a bit with that. Can be tricky if the disk is almost full.21:57:48
@Ericson2314:matrix.orgJohn Ericsonhmmm OK21:58:06
@Ericson2314:matrix.orgJohn Ericsonsounds like a bug21:58:10
@joerg:thalheim.ioMic92Something else we should consider is doing VACUUM after GC to restore sqlite size. But I have to experiment a bit with that. Can be tricky if the disk is almost full.21:58:16
@Ericson2314:matrix.orgJohn Ericsondid you have ca-derivations around?21:58:27
@joerg:thalheim.ioMic92I might do actually 21:58:48
@Ericson2314:matrix.orgJohn Ericsonit looks like it regresses badly in that case21:58:48
@Ericson2314:matrix.orgJohn Ericsonfor silly reasons21:58:55
@joerg:thalheim.ioMic92Great 😃21:59:16
@joerg:thalheim.ioMic92It did turn it on for nix-eval-jobs when I was testing 21:59:56
@Ericson2314:matrix.orgJohn Ericsonah gotcha22:00:07
@Ericson2314:matrix.orgJohn Ericsononce we stop using the silly drv hashes in realisation keys22:00:29
@Ericson2314:matrix.orgJohn Ericsonyou just look up other table with drv path22:00:36
@Ericson2314:matrix.orgJohn Ericsonthere is no reason to read in derivation to compute "static output paths" or anything like that22:01:14
@joerg:thalheim.ioMic92https://github.com/nix-community/srvos/blob/cc76247e77c04cf2ad0bf04be10a5d47bc3da594/nixos/mixins/nix-experimental.nix#L2922:03:03
@Ericson2314:matrix.orgJohn Ericsonah, OK22:12:25
30 Jul 2025
@Ericson2314:matrix.orgJohn EricsonOK based on today's saga, would like to discuss https://github.com/NixOS/nix/pull/13263#issuecomment-3134777234 tomorrow and hopefully merge it03:59:06
@mkuritsu:matrix.orgKuritsu joined the room.04:33:42
@fzakaria:one.ems.hostfzakariaso no new meeting for Monday ?14:54:45
@fzakaria:one.ems.hostfzakariaI hope to come today a bit late.14:54:48
@fzakaria:one.ems.hostfzakariaalthough I didn't hack much this week.14:54:53
@fzakaria:one.ems.hostfzakariamostly working with Yannick on some fetchGit cache bug14:55:10
@Ericson2314:matrix.orgJohn Ericsonthere was one later in the day14:57:36

Show newer messages


Back to Room ListRoom Version: 6