From nobody Wed Aug 07 01:35:55 2024 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Wdt6j34X4z5SL8l for ; Wed, 07 Aug 2024 01:35:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wdt6h5CpTz4yDZ for ; Wed, 7 Aug 2024 01:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722994556; a=rsa-sha256; cv=none; b=JY6uyEmsWa9L7G0BhZAzULtdXLy9+jcpyhbMesJxZbp5TPxgUoAVi7vHDI17dTwxmJHmE0 fZl94LhzV2S37Kxrj/5As9/gJhBmwoe9T21u1gWtJO1lLXue99iXZQb2Es7qtXmyjx5Wy9 cn6zzoPzjVcxFIy51oDIR0u4s/ZsgRRgpZucldexMgF7cnpBEWCJXYDB9laS8srhj7wNyH 5RE0cvqDtOwmWTAqYB/tswoUYzwNyuYIJJ0w/P2AXuobwgchdaEz6vbIBLOPcXPts3XSUM BXikFgm9MQMFpYQPbe+Lvy0mwUyxZVzNjg+3QxkiCwpxsXilEHKrn0jnjA73EA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722994556; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Um/5l6sfRcgFnu9bBs7Gk689aalGomhmj56DFtgeyYE=; b=U9LWZMGpBb4EYEy3jLHmCP5gQ6GxGh7zBAyCKsyYGGSmE9JoWUA0ppq3FeYLCP74DNrFo5 3gfdn157CPHrm/RJZtX5+ffT6b2ttoKvlcBO2HBq2qW8ap4FppzUBXW7kF4qrJ6geRsHp+ MqSFd9bgu04E/4dBOnitMFV+k3DAWVblpRpwTacWYbj63IIs3X22Ng+7aPfWj4jEmR8oQA 4YxDw5HhP4k+GGuU+DjQ52qSXgmMDfDZaVrD+Gzi9DbTGqgqA23GSyGJ7MgoMZ6YglxFOG zbxPSxGiSuqbBPSyNzIEiuBQ/fAuLScHdngy9YNW93wIJ4v5C92jtkWPrSgdDg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Wdt6h4qpZzW4y for ; Wed, 7 Aug 2024 01:35:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4771ZuoO016426 for ; Wed, 7 Aug 2024 01:35:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4771Zulq016425 for net@FreeBSD.org; Wed, 7 Aug 2024 01:35:56 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 280386] if_bridge throws output errors under load Date: Wed, 07 Aug 2024 01:35:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: pascal.guitierrez@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280386 --- Comment #16 from pascal.guitierrez@gmail.com --- (In reply to Kevin Bowling from comment #15) Thanks Kevin no bridge filtering is enabled (sysctl net.link.bridge): net.link.bridge.ipfw: 0 net.link.bridge.log_mac_flap: 1 net.link.bridge.allow_llz_overlap: 0 net.link.bridge.inherit_mac: 0 net.link.bridge.log_stp: 0 net.link.bridge.pfil_local_phys: 0 net.link.bridge.pfil_member: 0 net.link.bridge.ipfw_arp: 0 net.link.bridge.pfil_bridge: 0 net.link.bridge.pfil_onlyip: 1 and system does not appear to be CPU constrained, here's top -PSH below dur= ing test run using iperf -P4: last pid: 25350; load averages: 0.19, 0.25, 0.28=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 up 4+19:09:14 11:32= :05 321 threads: 5 running, 301 sleeping, 15 waiting CPU 0: 0.0% user, 0.0% nice, 5.9% system, 0.0% interrupt, 94.1% idle CPU 1: 0.0% user, 0.0% nice, 4.3% system, 0.0% interrupt, 95.7% idle CPU 2: 0.4% user, 0.0% nice, 7.5% system, 0.0% interrupt, 92.1% idle CPU 3: 0.0% user, 0.0% nice, 6.7% system, 0.0% interrupt, 93.3% idle Mem: 16M Active, 24M Inact, 1744K Laundry, 6786M Wired, 8656M Free ARC: 5248M Total, 854M MFU, 3834M MRU, 537M Header, 22M Other 4644M Compressed, 6394M Uncompressed, 1.38:1 Ratio PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 11 root 187 ki31 0B 64K CPU0 0 108.9H 93.56% idle{idl= e: cpu0} 11 root 187 ki31 0B 64K CPU1 1 107.8H 93.47% idle{idl= e: cpu1} 11 root 187 ki31 0B 64K CPU3 3 108.0H 91.74% idle{idl= e: cpu3} 11 root 187 ki31 0B 64K RUN 2 107.7H 91.54% idle{idl= e: cpu2} 25350 root 24 0 20M 7800K sbwait 3 0:00 7.80% iperf3{iperf3} 25350 root 23 0 20M 7800K sbwait 0 0:00 7.31% iperf3{iperf3} 0 root -60 - 0B 2096K - 1 1:20 5.95% kernel{if_io_tqg_1} 0 root -60 - 0B 2096K - 0 3:59 5.83% kernel{if_io_tqg_0} 25350 root 21 0 20M 7800K sbwait 3 0:00 1.29% iperf3{iperf3} 25350 root 21 0 20M 7800K sbwait 3 0:00 1.18% iperf3{iperf3} drops are only seen when using if_bridge: dev.igb.0.iflib.txq3.r_drops: 4594 <-- this value is increasing during the above test run dev.igb.0.iflib.txq2.r_drops: 563 dev.igb.0.iflib.txq1.r_drops: 2551 dev.igb.0.iflib.txq0.r_drops: 2625 The value for "Oerrs" on the bridge0 device appears to increase in tandem w= ith the r_drop value: Name Mtu Network Address Ipkts Ierrs Idrop=20= =20=20=20=20 Opkts Oerrs Coll Drop igb0 1500 5c:ed:8c:e9:c2:48 81252823 0 0=20 131980027 0 0 0=20 igb1* 1500 5c:ed:8c:e9:c2:49 0 0 0=20= =20=20=20=20=20=20=20=20 0 0 0 0=20 igb2* 1500 5c:ed:8c:e9:c2:4a 0 0 0=20= =20=20=20=20=20=20=20=20 0 0 0 0=20 igb3* 1500 5c:ed:8c:e9:c2:4b 0 0 0=20= =20=20=20=20=20=20=20=20 0 0 0 0=20 lo0 16384 lo0 62021 0 0=20= =20=20=20=20 62021 0 0 0=20 lo0 - localhost localhost 0 - -=20= =20=20=20=20=20=20=20=20 0 - - -=20 lo0 - fe80::%lo0/64 fe80::1%lo0 0 - -=20= =20=20=20=20=20=20=20=20 0 - - -=20 lo0 - your-net localhost 62021 - -=20= =20=20=20=20 62021 - - -=20 bridge0 1500 58:9c:fc:00:07:00 122336886 0 0=20 199687836 287872 0 0=20 bridge0 - 192.168.0.0/24 192.168.0.150 13289878 - -=20=20 90898935 - - - --=20 You are receiving this mail because: You are the assignee for the bug.=