[Bug 280386] if_bridge throws output errors under load

[email protected]
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280386

--- Comment #16 from [email protected] ---
(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 during
test run using iperf -P4:

last pid: 25350;  load averages:  0.19,  0.25,  0.28                           
                                                       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{idle:
cpu0}
   11 root        187 ki31     0B    64K CPU1     1 107.8H  93.47% idle{idle:
cpu1}
   11 root        187 ki31     0B    64K CPU3     3 108.0H  91.74% idle{idle:
cpu3}
   11 root        187 ki31     0B    64K RUN      2 107.7H  91.54% idle{idle:
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 with
the r_drop value:

Name      Mtu Network         Address                Ipkts Ierrs Idrop     
Opkts Oerrs  Coll  Drop
igb0     1500 <Link#1>        5c:ed:8c:e9:c2:48   81252823     0     0 
131980027     0     0     0 
igb1*    1500 <Link#2>        5c:ed:8c:e9:c2:49          0     0     0         
0     0     0     0 
igb2*    1500 <Link#3>        5c:ed:8c:e9:c2:4a          0     0     0         
0     0     0     0 
igb3*    1500 <Link#4>        5c:ed:8c:e9:c2:4b          0     0     0         
0     0     0     0 
lo0     16384 <Link#5>        lo0                    62021     0     0     
62021     0     0     0 
lo0         - localhost       localhost                  0     -     -         
0     -     -     - 
lo0         - fe80::%lo0/64   fe80::1%lo0                0     -     -         
0     -     -     - 
lo0         - your-net        localhost              62021     -     -     
62021     -     -     - 
bridge0  1500 <Link#6>        58:9c:fc:00:07:00  122336886     0     0 
199687836 287872     0     0 
bridge0     - 192.168.0.0/24  192.168.0.150       13289878     -     -  
90898935     -     -     -

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.