Siduction Forum

Siduction Forum => Ideas & Improvements => Topic started by: n4ai9i522 on 2026/06/17, 12:59:15

Title: Replace tmpfs mounts with zram?
Post by: n4ai9i522 on 2026/06/17, 12:59:15
Considering the performance of current CPUs and the benefit of occupying less RAM to store temporary files, has this been considered at least as an option for a bleeding edge distribution like Siduction?
Title: Re: Replace tmpfs mounts with zram?
Post by: eriefisher on 2026/06/17, 14:28:01
From what I can find out with a quick search tmpfs gets swapped out anyway so if you have zram set up you would get the same effect.
Title: Re: Replace tmpfs mounts with zram?
Post by: n4ai9i522 on 2026/06/17, 18:11:31
I don't know that I agree with you, yes tmpfs can be swapped out, but until it is, it will take up more ram, all other conditions equal, than zram :-)
I went ahead and removed the tmpfs mount for /tmp in fstab, enabling a zram generator, but what annoys me to no end is that I can only obtain a blunt optimization and no more, since debian will only include lzo* in initramfs, skipping zstd and lz4, plus it won't allow me to disable ext4 journaling on /tmp, and I need ext4 because ext2 has no trim feature... so yes, now I have a more efficient /tmp alright, but probably half as much as it would have been with zstd and no journaling.