[ovs-git] [openvswitch/ovs] b4a9c9: netlink: make Netlink socket receive buffer 4x larger

Ansis Atteka noreply at github.com
Wed Mar 31 15:45:59 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b4a9c9cd848b56d538f17f94cde78d5a139c7d90
      https://github.com/openvswitch/ovs/commit/b4a9c9cd848b56d538f17f94cde78d5a139c7d90
  Author: Ansis Atteka <aatteka at ovn.org>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

  Changed paths:
    M lib/netlink-socket.c

  Log Message:
  -----------
  netlink: make Netlink socket receive buffer 4x larger

Under high load I observed that Netlink socket buffer constantly
fills up for daemons listening for Conntrack Table notifications:

netlink_notifier|WARN|netlink receive buffer overflowed

This patch mitigates the problem by increasing socket
receive buffer size.  Ideally we should try to calculate
buffer size required, but it would be more sophisticated
solution than simply increasing buffer size.

Acked-by: Ben Pfaff <blp at ovn.org>
Signed-off-by: Ansis Atteka <aatteka at ovn.org>
VMware-BZ: #2724821




More information about the git mailing list