You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being able to set /sys/block/zramX/mem_limit through the configuration file may be useful in situations where one wants to set a hard limit on the (compressed) size a given zram disk is going to take in memory.
As an example, I wanted to set up a large zram swap and limit it to use at most 25% of my total memory once compressed, but it seems like it isn't possible with just the configuration file currently.
As a side question, is it acceptable to set this manually by echoing my limit into /sys/block/zramX/mem_limit in the meantime, or could this cause some conflicts with zram-generator ?
The text was updated successfully, but these errors were encountered:
Being able to set
/sys/block/zramX/mem_limit
through the configuration file may be useful in situations where one wants to set a hard limit on the (compressed) size a given zram disk is going to take in memory.As an example, I wanted to set up a large zram swap and limit it to use at most 25% of my total memory once compressed, but it seems like it isn't possible with just the configuration file currently.
As a side question, is it acceptable to set this manually by echoing my limit into
/sys/block/zramX/mem_limit
in the meantime, or could this cause some conflicts with zram-generator ?The text was updated successfully, but these errors were encountered: