Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 610366

Summary: sys-block/zram-init-3.8: Add option for block size to /usr/sbin/zram-init
Product: Gentoo Linux Reporter: segmentation fault <segmentation-fault>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: UNCONFIRMED ---    
Severity: enhancement CC: beatussum, martin
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description segmentation fault 2017-02-21 13:11:43 UTC
The /usr/sbin/zram-init currently lacks an option to control the block size for the ext2/ext4/... filesystem on a zram device. This results in RAM filesystems with the default block size of 4096 bytes. This may or may not be optimal, depending on usage.

For example, if you use a zram device to store the browser cache on it, 4096 may be too large a block size. Lots of files in the browser cache are much smaller than 4K (even smaller thgan 1K).

Please add an option to /usr/sbin/zram-init to control block size.
Comment 1 Michael 'veremitz' Everitt 2020-07-10 05:39:40 UTC
Adding mvaeth to CC for upstream verification, and potential resolutions. Tia Martin! :)
Comment 2 Martin Väth 2020-07-10 18:21:18 UTC
I would mark this a dupe of 610370.
In future, please add feature requests directly upstream on github.

Thanks for the reports, anyway.
Comment 3 Mattéo Rossillol‑‑Laruelle 2024-03-02 14:27:58 UTC
This bug is probably outdated as `=sys-block/zram-init-3.8` was dropped a long time ago and, therefore, should be marked as resolved ?
Comment 4 Martin Väth 2024-03-02 14:35:15 UTC
See comment#2. I do not have permissions to change the status.