Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610366 - sys-block/zram-init-3.8: Add option for block size to /usr/sbin/zram-init
Summary: sys-block/zram-init-3.8: Add option for block size to /usr/sbin/zram-init
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 13:11 UTC by segmentation fault
Modified: 2024-03-02 14:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.