Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Performance Tuning
« previous
next »
Print
Pages: [
1
]
Author
Topic: Performance Tuning (Read 1467 times)
pholt
Newbie
Posts: 13
Karma: 1
Performance Tuning
«
on:
March 30, 2024, 07:23:41 pm »
I just installed OPNsense on a Lenovo m920q with a dual interface NIC, 32GB of memory, and an i5-8600T CPU. Network throughput to the 1Gb WAN is about 50% of what it was with the ASUS router it replaced. Since I assume I have lots of power and memory, I also assume there are settings which I may need to adjust.
Does anyone have advice about how to get things back up to close to normal? Thank you!
Logged
Patrick M. Hausen
Hero Member
Posts: 6807
Karma: 572
Re: Performance Tuning
«
Reply #1 on:
March 30, 2024, 08:11:12 pm »
What sort of NIC?
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
pholt
Newbie
Posts: 13
Karma: 1
Re: Performance Tuning
«
Reply #2 on:
March 30, 2024, 10:16:20 pm »
It's a NIC with an Intel X540-BT2 chipset. It'll support 10Gb, but I only need 1Gb out of it at the moment.
Logged
pholt
Newbie
Posts: 13
Karma: 1
Re: Performance Tuning
«
Reply #3 on:
April 03, 2024, 11:16:39 pm »
I've been struggling with this and have been trying all kinds of tuneables to get things back to normal. Nothing was working. I just added the following to disable flow control:
dev.ix.0.fc = 0
dev.ix.1.fc = 0
My interfaces are ix0 and ix1. As soon as I added these, my throughput doubled.
Logged
Seimus
Hero Member
Posts: 607
Karma: 59
Re: Performance Tuning
«
Reply #4 on:
April 05, 2024, 10:31:16 am »
By default BSD doesn't sent Pause Frames if Flow control is enabled. However it will accept Pause control from directly connected device, which can result in lower performance in regards of throughput.
Flow control is a feature that should guarantee a mitigation of packet loss and retransmission due to H/W buffer overflow (saturation). Basically if flow control is enabled device that is not able to keep the pacing will sent Pause frames and ask "please slow down".
Flow control should be never enabled between network devices, this feature is only supposed to be used on towards endpoints/host devices
Regards,
S.
Logged
Networking is love. You may hate it, but in the end, you always come back to it.
OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G -
VM HA(SOON)
N100 - i226-V | Crucial 16G 4800 DDR5 | S 980 500G -
PROD
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Hardware and Performance
»
Performance Tuning