[LEDE-DEV] [PATCH] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64mb RAM
Martin Tippmann
mt at i3o.de
Fri Sep 16 06:50:22 PDT 2016
On Fri, Sep 16, 2016 at 3:04 PM, Felix Fietkau <nbd at nbd.name> wrote:
> On 2016-09-16 11:31, Bastian Bittorf wrote:
>> with 5c9cc7b7f8920944a413644e1c2ea23bfe655bcb we changed the default
>> value from ~650 to 4096 kilobyte on 32mb-RAM-devices. This makes them
>> hardly useable with a lot of oom-crashes. Fix that and keep the default.
>> For devices with more than 32mb we keep the behaviour and tweak the value.
> How about setting it to 1024 for 32M? That will give drivers a bit more
> room without affecting memory usage that much.
A quick test: opkg works (update, list, install) , luci works mostly
with 1024 (installing packages via luci fails sometimes due to oom,
but that also happens with the lower default value..., everything else
looks good)
More information about the Lede-dev
mailing list