OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • 18.1 Network Performance (17.7.11-12 was fine)?
« previous next »
  • Print
Pages: 1 2 [3]

Author Topic: 18.1 Network Performance (17.7.11-12 was fine)?  (Read 24698 times)

funar

  • Newbie
  • *
  • Posts: 13
  • Karma: 1
    • View Profile
Re: 18.1 Network Performance (17.7.11-12 was fine)?
« Reply #30 on: February 01, 2018, 11:56:48 pm »
Quote from: franco on February 01, 2018, 11:46:47 pm
Did you use /boot/loader.conf for these? Or were they really gone from /boot/loader.conf.local ? It shouldn't touch .local ever...


Cheers,
Franco
I added them to loader.conf.local manually so they would be safe from being overwritten by future updates.

When I installed v18.1 originally, I did a clean install... Mainly because the v17 install used 100gb of my storage for swap by default. So, loader.conf.local was empty.

Sent from my Pixel 2 XL using Tapatalk

Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: 18.1 Network Performance (17.7.11-12 was fine)?
« Reply #31 on: February 02, 2018, 12:01:19 am »
Ah, makes sense....

dcol suggested this a bit ago and I will implement it soon so all the loader.conf stuff can reside in config.xml backup and restore as well:

https://github.com/opnsense/core/issues/2083


Cheers,
Franco
Logged

funar

  • Newbie
  • *
  • Posts: 13
  • Karma: 1
    • View Profile
Re: 18.1 Network Performance (17.7.11-12 was fine)?
« Reply #32 on: February 02, 2018, 12:04:25 am »
Quote from: franco on February 02, 2018, 12:01:19 am
Ah, makes sense....

dcol suggested this a bit ago and I will implement it soon so all the loader.conf stuff can reside in config.xml backup and restore as well:

https://github.com/opnsense/core/issues/2083


Cheers,
Franco
That would be awesome. I appreciate all you guys do. Opnsense is great.

Dell R610, 48gb RAM, 2x146gb SAS (RAID 1)

Logged

jorgegmayorgas

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: 18.1 Network Performance (17.7.11-12 was fine)?
« Reply #33 on: February 02, 2018, 06:20:46 pm »
Hi
Just in case it helps Intel NIC owners, following what funar explained
Quote
I have a solution for my Broadcom-NIC'ed Dell R610. It was definitely a driver issue more than a NAT or anything else.  The hw.bce.* settings only apply to Broadcom, but there's probably similar options for the others who have also replied to this thread.

In /boot/loader.conf.local:

hw.bce.verbose=0
hw.bce.tso_enable=0
hw.bce.rx_pages=8
hw.bce.tx_pages=8
hw.pci.enable_msix=1
hw.pci.enable_msi=1
net.inet.tcp.tso=0
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendbuf_inc=16384
net.inet.tcp.recvbuf_inc=524288

I'm now getting full bandwidth in both directions via opnsense. After getting that sorted out, I enabled dual-stack IPv4/IPv6, IDS and upstream traffic shaping. No more issues.

I found that these values for an HP NC360T based on Intel 82571EB (em driver) makes network performance OK , unless for me

Here's my actual /boot/loader.conf.local :
hw.pci.enable_msix=1
hw.pci.enable_msi=1
hw.em.rxd=4096
hw.em.txd=4096
net.inet.tcp.tso=0
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendbuf_inc=16384
net.inet.tcp.recvbuf_inc=524288

Regards,
Jorge
« Last Edit: February 03, 2018, 08:19:24 am by jorgegmayorgas »
Logged

cnaslund

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
    • View Profile
Re: 18.1 Network Performance (17.7.11-12 was fine)?
« Reply #34 on: February 05, 2018, 11:40:56 am »
Quote from: jorgegmayorgas on February 02, 2018, 06:20:46 pm
Hi
Just in case it helps Intel NIC owners, following what funar explained
Quote
I have a solution for my Broadcom-NIC'ed Dell R610. It was definitely a driver issue more than a NAT or anything else.  The hw.bce.* settings only apply to Broadcom, but there's probably similar options for the others who have also replied to this thread.

In /boot/loader.conf.local:

hw.bce.verbose=0
hw.bce.tso_enable=0
hw.bce.rx_pages=8
hw.bce.tx_pages=8
hw.pci.enable_msix=1
hw.pci.enable_msi=1
net.inet.tcp.tso=0
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendbuf_inc=16384
net.inet.tcp.recvbuf_inc=524288

I'm now getting full bandwidth in both directions via opnsense. After getting that sorted out, I enabled dual-stack IPv4/IPv6, IDS and upstream traffic shaping. No more issues.

I found that these values for an HP NC360T based on Intel 82571EB (em driver) makes network performance OK , unless for me

Here's my actual /boot/loader.conf.local :
hw.pci.enable_msix=1
hw.pci.enable_msi=1
hw.em.rxd=4096
hw.em.txd=4096
net.inet.tcp.tso=0
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendbuf_inc=16384
net.inet.tcp.recvbuf_inc=524288

Regards,
Jorge


I have a SuperMicro A1SAi C2758 MB with 4 x Intel i354 Gigabit Ethernet NIC's.  Can I use the above settings in the driver config or should I use something else?
Logged

dcol

  • Hero Member
  • *****
  • Posts: 635
  • Karma: 51
    • View Profile
Re: 18.1 Network Performance (17.7.11-12 was fine)?
« Reply #35 on: February 05, 2018, 04:24:21 pm »
the i354 uses igb drivers, not em or bce. So the em and bce references would have to change to igb.
Use the guide found here https://forum.opnsense.org/index.php?topic=6590.0 for igb
« Last Edit: February 05, 2018, 04:26:26 pm by dcol »
Logged

  • Print
Pages: 1 2 [3]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • 18.1 Network Performance (17.7.11-12 was fine)?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2