[OpenWrt-Devel] procd: Increase zram memory allocated for tmpfs

John Crispin john at phrozen.org
Fri Oct 25 08:18:39 EDT 2019

On 25/10/2019 14:08, alex1452 at gmx.net wrote:
> Dear all, dear John,
> I have an issue with tmpfs on zram: according to this remark:
> https://git.openwrt.org/?p=project/procd.git;a=commitdiff;h=7676df3226da5391c2dfda2ed29a40500e04e15b
> Nathan (incl. in CC of this email) has a hardcoded value for zram0 for tmp.
> With inreasing RAM sizes for routers (mine has 4GB), could this be 
> unnecessarily restrictive? For my use case (media and lan server) 16MB 
> tmp drive is definitively too small. Ansuel  has raised similar concerns 
> about a year ago:
> https://bugs.openwrt.org/index.php?do=details&task_id=1311&string=zram&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto
> For almost a year, there seems to exist a patch in the bug tracker, that 
> has no activities:
> FS#1943 - procd: Increase zram memory allocated for tmpfs
> https://bugs.openwrt.org/index.php?do=details&task_id=1943&string=zram&search_name=&type%5B0%5D=&sev%5B0%5D=&pri%5B0%5D=&due%5B0%5D=&reported%5B0%5D=&cat%5B0%5D=&status%5B0%5D=open&percent%5B0%5D=&opened=&dev=&closed=&duedatefrom=&duedateto=&changedfrom=&changedto=&openedfrom=&openedto=&closedfrom=&closedto
> For your convenience, I have included the patch as attachment. 
> Unfortunately, I am quite new to OpenWRT so I am not sure on the right 
> approach to include this patch in my compile.
> Therefore could I ask the following questions:
> 1. Do you have changes to the RAM size (e.g. with the mentioned path) on 
> your roadmap? If so, do you already have an approximate ETA?
> 2. What are the rough steps to correctly include the mentioned path in 
> the package for testing?
please follow the howto when submitting patches --> 

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list