I have been setting up Zram, Swap, Swappiness and EasyOOM daemon on 16gb ram boxes, or lower. Someone asked me about 32gb of ram, or more, and I’m unsure. Wondering if others have experimented with this!
I have been setting up Zram, Swap, Swappiness and EasyOOM daemon on 16gb ram boxes, or lower. Someone asked me about 32gb of ram, or more, and I’m unsure. Wondering if others have experimented with this!
Swapping will make it slower not faster, reduce jobs?
No. Most of the build jobs are fast and small. A couple take up gigabytes at a time. Swap is on SSD anyway. Its fast enough.
I also use NixOS and GuixSD. There are cases where binary caches haven’t caught up with the package definition. Situations like Librewolf, LibreOffice and kernel all compiling at the same time.
Sure I could mess around with limiting jobs and build runners… Or I could just have swap, and never worry about it again.
Just a BTRFS swapfile. I’m not worried too much about performance. I rarely hit it and most of the time i don’t even need it. Until I do.
Ok, you do you. In my experience that is not how that works, but there is an argument to not worry about it if it works well enough.