-
Notifications
You must be signed in to change notification settings - Fork 5.1k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
CONFIG_ZRAM=m #CONFIG_ZRAM_WRITEBACK is not set #2939
Comments
@pelwell @popcornmix Thoughts? |
Doesn't make sense to exclude a zram function that needs to be explicitly set to use. Never got round to playing with the write_back cache as it was not enabled on rasbian. PS going back to zam the old deb script of zram_config has hung about from its first implementation and multi-streams and many things means that now its actually broken. https://github.com/StuartIanNaylor/zram-swap-config Above use hot_plug and is aware of other zram services and doesn't overwrite drives. I did another as example of https://github.com/StuartIanNaylor/zram-config which uses a multiple of zram options and why zram_config is a narrow name. Pi4 2GB really benefits from zram but also the overlayfs with zram upper and merge to lower emphemeral would be great for SD based Socs like the pi. Write once to SD on shutdown... But just examples as for the Pi Zram is really beneficial especially now it has more oomf and prob could do with some better scripting than my hacks but maybe a base example. |
I was just stumbling about this while testing some various scenarios on the rpi z2w. |
Adding ZRAM_WRITEBACK=y takes the uncompressed ARM64 binary module from 46kB to 59kB. ZRAM_MULTI_COMP=y adds an extra 6kB - which is not extravagant. Both of them seem to do nothing without being enabled explicitly via sysfs attributes. Happy with this, @popcornmix? |
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: raspberrypi#2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
See #6304. |
I'm ok with this. |
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Thanks - merged. |
Thank you! For enabling and the quick response! |
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Add CONFIG_ZRAM_WRITEBACK=y and CONFIG_ZRAM_MULTI_COMP=y. See: #2939 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
Can
CONFIG_ZRAM_WRITEBACK=y
asecho /dev/sdxx > /sys/block/zramX/backing_dev
enables the write back also with further commands.Zram is enabled as a module but for some reason CONFIG_ZRAM_WRITEBACK=n ?
The text was updated successfully, but these errors were encountered: