1
German - Deutsch / Re: Schlechter Datendurchsatz bei OpenVPN Verbindung
« on: September 11, 2024, 06:33:21 pm »
P.S: Hatte ich vorhin vergessen, das ist noch dank eines anderen Mitglieds im Boot folder:
Code: [Select]
# File starts below this line, use Copy/Paste #####################
# Check for interface specific settings and add accordingly.
# These ae tunables to improve network performance on Intel igb driver NICs
# Flow Control (FC) 0=Disabled 1=Rx Pause 2=Tx Pause 3=Full FC
# This tunable must be set according to your configuration. VERY IMPORTANT!
# Set FC to 0 (<x>) on all interfaces
dev.igb.0.fc=0 #Also put this in System Tunables dev.igb.<x>.fc: value=0
dev.igb.1.fc=0 #Also put this in System Tunables dev.igb.<x>.fc: value=0
dev.igb.2.fc=0 #Also put this in System Tunables dev.igb.<x>.fc: value=0
dev.igb.3.fc=0 #Also put this in System Tunables dev.igb.<x>.fc: value=0
dev.igb.4.fc=0 #Also put this in System Tunables dev.igb.<x>.fc: value=0
dev.igb.4.fc=0 #Also put this in System Tunables dev.igb.<x>.fc: value=0
# Set number of queues to number of cores divided by number of ports. 0 lets FreeBSD decide
dev.igb.num_queues=0
# Increase packet descriptors (set as 1024,2048, or 4096) ONLY!
# Allows a larger number of packets to be processed.
# Use "netstat -ihw 1" in the shell and make sure the idrops are zero
# If the NIC has constant disconnects, lower this value
# if not zero then lower this value.
dev.igb.rxd="4096" # For i340/i350 use 2048
dev.igb.txd="4096" # For i340/i350 use 2048
net.link.ifqmaxlen="8192" # value here equal sum of above values. For i340/i350 use 4096
# Increase Network efficiency
dev.igb.enable_aim=1
# Increase interuppt rate
dev.igb.max_interrupt_rate="64000"
# Network memory buffers
# run "netstat -m" in the shell and if the 'mbufs denied' and 'mbufs delayed' are 0/0/0 then this is not needed
# if not zero then keep adding 400000 until mbufs are zero
#kern.ipc.nmbclusters="1000000"
# Fast interrupt handling
# Normally set by default. Use these settings to insure it is on.
# Allows NIC to process packets as fast as they are received
dev.igb.enable_msix=1
dev.pci.enable_msix=1
# Unlimited packet processing
# Use this only if you are sure that the NICs have dedicated IRQs
# View the IRQ assignments by executing this in the shell "vmstat -i"
# A value of "-1" means unlimited packet processing
dev.igb.rx_process_limit="-1"
dev.igb.tx_process_limit="-1"
###################################################
# File ends above this line ##################################