On Sun, Feb 22, 2026 at 10:20:54PM +0100, Kirill A. Korinsky wrote:
> On Sun, 22 Feb 2026 21:49:53 +0100,
> Klemens Nanni <[email protected]> wrote:
> > 
> > 
> > Thanks for testing, I certainly did not expect such a massive drop.
> > 
> > I'll test here as well and try to see what this is about before committing 
> > anything.
> > 
> > I wonder, if this is "just" a weak CPU or something else, e.g. specific to
> > octeon, NIC drivers and/or in your setup.
> > 
> > Can you share your iperf commands and a dmesg for completeness, please?
> > 
> > Cc'ing Janne:  You tried a similar diff on your boxes;  care to share
> > which ones and whether you saw any noticable change in performance?
> > 
> 
> I run as simple commands as:
> 
>  iperf3-darwin -t 30 -c 172.31.3.1

This uses only one TCP stream which uses only one CPU.  With multiple
softnet threads there is only locking overhead but no parallelism.

Can you try to run iperf3 with -P5 or -P10 ?

     -P, --parallel n
            number of parallel client streams to run. iperf3 will spawn off a
            separate thread for each test stream. Using multiple streams may
            result in higher throughput than a single stream.

bluhm

> and
> 
>  iperf3-darwin -t 30 -c 172.31.2.93
> 
> 3.1 is octeon, and 2.93 is another mac mini in different vlan where this
> octeon is used as gw.
> 
> dmesg attached.
> 
> -- 
> wbr, Kirill

> [ using 769208 bytes of bsd ELF symbol table ]
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>       The Regents of the University of California.  All rights reserved.
> Copyright (c) 1995-2026 OpenBSD. All rights reserved.  https://www.OpenBSD.org
> 
> OpenBSD 7.8-current (GENERIC.MP) #9: Sun Feb 22 16:15:23 CET 2026
>     [email protected]:/usr/src/sys/arch/octeon/compile/GENERIC.MP
> real mem = 1073741824 (1024MB)
> avail mem = 1035141120 (987MB)
> random: good seed from bootblocks
> mainbus0 at root: board 20300 rev 0.14, model cavium,ubnt_e300
> cpu0 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 
> 0.0
> cpu0: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
> cpu1 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 
> 0.0
> cpu1: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
> cpu2 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 
> 0.0
> cpu2: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
> cpu3 at mainbus0: CN70xx/CN71xx CPU rev 0.2 1000 MHz, CN70xx/CN71xx FPU rev 
> 0.0
> cpu3: cache L1-I 78KB 39 way D 32KB 32 way, L2 1024KB 8 way
> clock0 at mainbus0: int 5
> octcrypto0 at mainbus0
> iobus0 at mainbus0
> simplebus0 at iobus0: "soc"
> octciu0 at simplebus0
> octcib0 at simplebus0: max-bits 23
> octcib1 at simplebus0: max-bits 12
> octcib2 at simplebus0: max-bits 6
> octcib3 at simplebus0: max-bits 15
> octcib4 at simplebus0: max-bits 4
> octcib5 at simplebus0: max-bits 11
> octcib6 at simplebus0: max-bits 11
> octgpio0 at simplebus0: 20 pins, xbit 16
> "bootbus" at simplebus0 not configured
> octsmi0 at simplebus0
> octpip0 at simplebus0
> octgmx0 at octpip0 interface 0
> cnmac0 at octgmx0: port 0 SGMII, address b4:fb:e4:ca:f2:28
> ukphy0 at cnmac0 phy 4: Generic IEEE 802.3u media interface, rev. 2: OUI 
> 0x0001c1, model 0x000c
> cnmac1 at octgmx0: port 1 SGMII, address b4:fb:e4:ca:f2:29
> ukphy1 at cnmac1 phy 5: Generic IEEE 802.3u media interface, rev. 2: OUI 
> 0x0001c1, model 0x000c
> cnmac2 at octgmx0: port 2 SGMII, address b4:fb:e4:ca:f2:2a
> ukphy2 at cnmac2 phy 6: Generic IEEE 802.3u media interface, rev. 2: OUI 
> 0x0001c1, model 0x000c
> cnmac3 at octgmx0: port 3 SGMII, address b4:fb:e4:ca:f2:2b
> ukphy3 at cnmac3 phy 7: Generic IEEE 802.3u media interface, rev. 2: OUI 
> 0x0001c1, model 0x000c
> octsctl0 at simplebus0: disabled
> octxctl0 at simplebus0: DWC3 rev 0x250a
> xhci0 at octxctl0, xHCI 1.0
> usb0 at xhci0: USB revision 3.0
> uhub0 at usb0 configuration 1 interface 0 "Generic xHCI root hub" rev 
> 3.00/1.00 addr 1
> octxctl1 at simplebus0: DWC3 rev 0x250a
> xhci1 at octxctl1, xHCI 1.0
> usb1 at xhci1: USB revision 3.0
> uhub1 at usb1 configuration 1 interface 0 "Generic xHCI root hub" rev 
> 3.00/1.00 addr 1
> "i2c" at simplebus0 not configured
> "i2c" at simplebus0 not configured
> com0 at simplebus0: ns16550a, 64 byte fifo
> com0: console
> com1 at simplebus0: ns16550a, 64 byte fifo
> com1: probed fifo depth: 0 bytes
> octmmc0 at simplebus0
> sdmmc0 at octmmc0: 8-bit, mmc high-speed
> sdmmc1 at octmmc0: 8-bit, mmc high-speed
> "spi" at simplebus0 not configured
> "ocla0" at simplebus0 not configured
> "dma-engine" at simplebus0 not configured
> "dma-engine" at simplebus0 not configured
> octrng0 at iobus0 base 0x1400000000000 irq 0
> octpcie0 at iobus0: 3 ports
> octpcie0 port 0: link timeout
> octpcie0 port 1: link timeout
> octpcie0 port 2: reset timeout
> scsibus0 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <Sandisk, SEM04G, 0000> removable
> sd0: 3776MB, 512 bytes/sector, 7733248 sectors
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on sd0a (d008e854197154dd.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!

Reply via email to