[PATCH 2/8] mdev: increase netlink buffer sizes

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Dec 18 20:34:39 UTC 2019


On 17 December 2019 17:06:46 CET, "Jan Klötzke" <jan at kloetzke.net> wrote:
>On Tue, Dec 17, 2019 at 12:01:09AM +0000, Laurent Bercot wrote:
>> 
>> > The socket receive buffer turned out to be too small for real world
>> > systems. Use the same size as udevd to be on the safe side. As this
>is
>> > just a limit and the memory is not allocated by the kernel until
>really
>> > needed there is actually no memory wasted.
>> 
>> Is it also the case when overcommit is disabled?
>> busybox is used in a lot of embedded systems, and some of them
>disable
>> overcommit. Committing 128 MiB would make mdev completely unusable.
>
>AFAICT it is not accounted to the process memory until the data is
>actually queued on the socket.

So can you check if booting with mem=6M or the like works when receiving lots of messages and overcommit disabled please?

TIA,


More information about the busybox mailing list