!oNSIfazDqEcwhcOjSL:matrix.org

disko

387 Members
disko - declarative disk partitioning - https://github.com/nix-community/disko101 Servers

Load older messages


SenderMessageTime
14 Mar 2026
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/nix-community/disko/pull/123419:26:04
@matthewcroughan:defenestrate.itmatthewcroughan this nocache utility doesn't exist in nixpkgs 19:26:11
@matthewcroughan:defenestrate.itmatthewcroughanBut it does exist on Github19:26:21
@matthewcroughan:defenestrate.itmatthewcroughanSo I can only assume a clanker was asked about this issue, and the PR above is the result19:26:32
@amadaluzia:4d2.orgamadaluzia joined the room.19:28:41
@joerg:thalheim.ioMic92That was 12 months ago. Don't think lassulus was using any such tools at this time and llms would have been properly doing a better job at actually testing the code19:29:18
@matthewcroughan:defenestrate.itmatthewcroughan12 months ago?19:29:44
@matthewcroughan:defenestrate.itmatthewcroughanthe PR is from 15 mins ago19:29:48
@matthewcroughan:defenestrate.itmatthewcroughan
commit d2fd33640c8207f9bb50da1d6b88ba7ee64c6153 (HEAD -> master)
Author: lassulus <git@lassul.us>
Date:   Sat Mar 14 20:13:40 2026 +0100

    make-disk-image: use nocache for smaller memory footprint

diff --git a/lib/make-disk-image.nix b/lib/make-disk-image.nix
index a9c732c..80dc561 100644
--- a/lib/make-disk-image.nix
+++ b/lib/make-disk-image.nix
@@ -95,6 +95,7 @@ let
       util-linux
       findutils
       kmod
+      nocache
     ]
     ++ cfg.extraDependencies;
   preVM = ''
@@ -165,7 +166,7 @@ let
           P=${toString cfg.copyNixStoreThreads}
         ''
     }
-    xargs -P "$P" -I {} cp --recursive {} "$rootMountPoint"/nix/store < ${closureInfo}/store-paths
+    xargs -P "$P" -I {} nocache cp --recursive {} "$rootMountPoint"/nix/store < ${closureInfo}/store-paths
 
     ${systemToInstall.config.system.build.nixos-install}/bin/nixos-install --root "$rootMountPoint" --system ${systemToInstall.config.system.build.toplevel} --keep-going --no-channel-copy -v --no-root-password --option binary-caches ""
     umount -Rv "$rootMountPoint"
19:31:44
@matthewcroughan:defenestrate.itmatthewcroughan The PR now says rsync instead of nocache, will try that 19:31:57
@matthewcroughan:defenestrate.itmatthewcroughanWhat is from 12 months ago though, are we talking about two different things?19:32:10
@joerg:thalheim.ioMic92 @matthewcroughan:defenestrate.it: if this the attitude you bring up against us, I might just as well block as well so I don't have to read your slop anymore 19:32:22
@matthewcroughan:defenestrate.itmatthewcroughanI'm sorry but what is the offense for?19:32:33
@matthewcroughan:defenestrate.itmatthewcroughanI asked if something was clankered, why get upset?19:32:40
@bandithedoge:zimward.moebandithedogeare you always so damn confrontational?19:32:56
@matthewcroughan:defenestrate.itmatthewcroughanWhere is the confrontation above?19:33:13
@matthewcroughan:defenestrate.itmatthewcroughanI asked if the PR was made by an LLM, because it seemed like it was19:33:26
@matthewcroughan:defenestrate.itmatthewcroughanIs that in and of itself, offensive?19:33:41
@matthewcroughan:defenestrate.itmatthewcroughanIf not, then where did I mis-step?19:34:33
@lassulus:lassul.uslassulusno, It was the clanker19:35:09
@lassulus:lassul.uslassulusstop arguing :D19:35:12
@lassulus:lassul.uslassulusI'm on my phone and didn't check19:35:18
@joerg:thalheim.ioMic92You criticized a work in progress pr that tries to solve one of your problems. 19:35:43
@matthewcroughan:defenestrate.itmatthewcroughanNo, I've been debugging for 4 hours, the cause of an issue, successfully.19:36:00
@matthewcroughan:defenestrate.itmatthewcroughanI'll just leave the reproducer on a PR, you can solve it yourself. Thanks.19:36:35
@joerg:thalheim.ioMic92I did debug this issue before and back than with zfs but arc back than looked normal while something consumed memory 19:38:42
@matthewcroughan:defenestrate.itmatthewcroughanIt is not arc, it's kernel changes19:38:55
@matthewcroughan:defenestrate.itmatthewcroughanit only happens with 6.12+19:39:02
@lassulus:lassul.uslassulusnot sure it's changes, because we had this happen in the past as well19:39:09
@matthewcroughan:defenestrate.itmatthewcroughanwell it's some part of the kernel that gets poked often enough to cause the issue to occur across time19:39:27

Show newer messages


Back to Room ListRoom Version: 10