[LEDE-DEV] [PATCH] [base-files] dont change defaults for vm.min_free_kbytes on devices with <64mb RAM

Felix Fietkau nbd at nbd.name
Fri Sep 16 06:04:33 PDT 2016


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.

> We dont suppress output of sysctl-command, so the use has a chance to spot it.
I'd like to keep the -q. I don't see the point in adding some permanent
logspam that is completely irrelevant for most people.

- Felix



More information about the Lede-dev mailing list