!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

353 Members
112 Servers

Load older messages


SenderMessageTime
10 Mar 2026
@amaan:amaanq.comamaan yeah true;

let
  pageSizeMap = {
    "4" = 12;
    "16" = 14;
    "64" = 16;
  };
in
assert lib.asserts.assertMsg (builtins.hasAttr (toString pageSizeKiB) pageSizeMap)
  "jemalloc: pageSizeKiB must be one of ${lib.concatStringsSep ", " (builtins.attrNames pageSizeMap)}, but is: ${toString pageSizeKiB}";

is a bit better then
06:38:14
@opna2608:matrix.orgPuna i think at that point you're just reinventing assertOneOf, but without the multi-line printing 😅 06:39:14
@amaan:amaanq.comamaantrue...then that's fine06:39:24
@amaan:amaanq.comamaan(i do like the presentation a little bit more but it's nbd)06:40:02
@amaan:amaanq.comamaanok, just pushed that06:41:54
@opna2608:matrix.orgPuna seems fine to me, but it's not my package. maybe someone else here who has an opinion on exposing jemalloc's page size setting like this?
https://github.com/NixOS/nixpkgs/pull/498442
07:54:27
@qyliss:fairydust.spaceAlyssa RossIMO we should always use the highest possible page size for jemalloc11:08:36
@qyliss:fairydust.spaceAlyssa Rossso this is a good change11:08:41
@opna2608:matrix.orgPuna kernel apparently also has a setting for 256k page size, CONFIG_PPC_256K_PAGES for POWER. says it needs patched binutils though. 11:27:53
@opna2608:matrix.orgPunanot something i wanna test 😅11:28:07
@aelin:postmarketos.orgAelin joined the room.16:11:19
@aelin:postmarketos.orgAelinI've never seen a 256k page size POWER system, 64k is the standard nowadays so that change is very reasonable16:12:34
@aelin:postmarketos.orgAelinso, ppc64 VMs are special because they basically scan all disks (which should use MBR, but SLOF can also handle GPT) for a ppc prep boot partition, which is the partition that GRUB is installed to16:14:24
@aelin:postmarketos.orgAelinthe prep boot partition needs to be marked as bootable16:14:34
@aelin:postmarketos.orgAelinthis is entirely unlike any physical ppc64 hardware which in OPAL just all use petitboot to my knowledge16:15:05
11 Mar 2026
@somasis:matrix.org@somasis:matrix.org left the room.03:49:38
@stas:mainframe.lvStas1000005234.jpg
Download 1000005234.jpg
19:31:35
@stas:mainframe.lvStasBurn in test in progress19:31:54
@stas:mainframe.lvStasOnce complete, I will finally get to build some nixos19:32:10
@stas:mainframe.lvStasOne of the ram sticks was slotted in badly19:33:27
@stas:mainframe.lvStasReseating got my 16g back19:33:42
@opna2608:matrix.orgPuna4x as much real RAM as i have, so building everything might be alot faster for you 😅19:35:44
@opna2608:matrix.orgPunaimage.png
Download image.png
19:36:02
@stas:mainframe.lvStas:D19:36:41
@opna2608:matrix.orgPuna(add ~ 1d or so to that elapsed build time, hit an openssl regression p early that required a PR)19:37:13
@stas:mainframe.lvStasI have 2 chinese sticks left and original ones. Can ship them to you19:37:42
@aelin:postmarketos.orgAelinif it helps any of you for development I can spin up some more ppc64 VMs on POWER8 hw like I did for amaan19:38:20
@stas:mainframe.lvStas https://a.aliexpress.com/_EQNbDhE19:38:21
@stas:mainframe.lvStasGot 10 of these from ali19:38:31
@opna2608:matrix.orgPuna might come back to you on that when i have less other things that i need to do. the slow pace of these builds helps me w/ not putting too many hours at a time into this ^^" 19:46:18

Show newer messages


Back to Room ListRoom Version: 6