I have currently an issue with my BSD server (Release 10.2) in combination with my Internet Fiber (XS4ALL, Dutch ISP) connection. My Internet Fiber connection is 500Mbit and my server is directly connected to the modem.
The problem isdat that I don't get the full speed of upload, download is no issue as you can see in the speedtest http://www.freshports.org/net/py-speedtest-cli (done with the command, speedtest --simple --share)
When I connect my Surface Pro 2 (with a usb ethernet) to the modem I get the full speed, both upload as download:
So my conclusion is that is an issue in my BSD config. I also checked with the helpdesk of my ISP and we did an download and upload test with an FTP they could monitor.
The saw that the download on my BSD is no problem, but the upload with FTP is max 170Mbit/s.
When I did the same test with my Surface Pro 2, they saw that my download and upload was around 490Mbit/s. Also the helpdesk of my ISP came to the conclusion that it should be something within BSD.
I have changed the MTU for em0 according the following website (http://www.bestyoucanget.com/optimizemtu.htm) to 1492.
Also FreeBSD tuning tips (https://calomel.org/freebsd_network_tuning.html) has not the correct result.
I have changed the following options with sysctl(8):
I have the firewall (IPFW) disabled by default.
I hope that you know some other tips to solve "luxury" problem.
The problem is
When I connect my Surface Pro 2 (with a usb ethernet) to the modem I get the full speed, both upload as download:
So my conclusion is that is an issue in my BSD config. I also checked with the helpdesk of my ISP and we did an download and upload test with an FTP they could monitor.
The saw that the download on my BSD is no problem, but the upload with FTP is max 170Mbit/s.
When I did the same test with my Surface Pro 2, they saw that my download and upload was around 490Mbit/s. Also the helpdesk of my ISP came to the conclusion that it should be something within BSD.
I have changed the MTU for em0 according the following website (http://www.bestyoucanget.com/optimizemtu.htm) to 1492.
Also FreeBSD tuning tips (https://calomel.org/freebsd_network_tuning.html) has not the correct result.
I have changed the following options with sysctl(8):
- net.inet.tcp.sendbuf_inc: 16384 (default: 8192)
- net.inet.tcp.sendspace: 65536 (default: 32768)
- kern.ipc.maxsockbuf: 4194304 (default: 2097152)
- hw.igb.max_interrupt_rate=32000 (default: 8000) <- in /boot/loader.conf
I have the firewall (IPFW) disabled by default.
I hope that you know some other tips to solve "luxury" problem.