OPNsense Forum

Archive => 17.7 Legacy Series => Topic started by: lello1231 on August 04, 2017, 05:57:42 pm

Title: [SOLVED] Low download speed
Post by: lello1231 on August 04, 2017, 05:57:42 pm
Hello,

Opnsense firewall is installed on physical machine(dell e6400) , i am  connected to WAN  thru a modem (bridge mode).My ISP download speed is 10Mb/s , upload 1Mb/s (this can be verified on the modem , also i tested it with using different router ). But when i use Opnsense, i can see that the download speed is roughly 3mb/s , and upload speed is 1mb/s .
I saw other users having the same issue, and recommended disabling hardware checksum offload , but this didnt help. Also i tried to use UE0 and UE1 for LAN and WAN interfaces, but the speed remains the same. The problem seems to be in Opnsense ,i am using version 17.7
It seems Strange that most users reporting problem on download speed , have the same Download limit problem 2-3Mb/s.Could it be a bug?
Please advice,

Br
Elie
Title: Re: Low download speed
Post by: bartjsmit on August 04, 2017, 10:20:45 pm
Do you mean the Dell e6400 laptop? What are you using for a second network interface?

The hardware is a bit long in the tooth and certainly won't perform well with things like Suricata IDS/IPS, VPN server or client, netflow, squid, etc. Pare your firewall right down to just pf and NAT to measure the raw speed.

Can you test throughput from the OPNsense console shell, with the ethernet adapter connected to the modem? You'll have to time an upload and download through FTP, using something like https://dlptest.com/ftp-test/ and compare that with your other router.

Bart...

Title: Re: Low download speed
Post by: lello1231 on August 05, 2017, 09:38:20 am
Yes , Dell Latitude E6400.  For  second interface i am using usb to LAN adapter.
i am not using IDS/IPS, VPN server or client, netflow, squid. Firewall is configured with basic setting .
I did the ftp test with ethernet adapter connected to the modem as suggested, i could reach the below, this is far away from 10mbit/s. 5 times slower, approx.

150 Opening BINARY mode data connection for illusion.mp4 (13368395 bytes)
100% |**********************************************| 13055 KiB  376.27 KiB/s    00:00 ETA
226 Transfer complete
13368395 bytes received in 00:34 (374.49 KiB/s).

I tried with different modem, and even used USB to ethernet adapter as WAN interface, but couldnt reach higher speed .
CPU load is Low , peaking at 7%.

How can we troubleshoot more what is going on inside the firewall?

Br
Elie   
Title: Re: Low download speed
Post by: fabian on August 05, 2017, 10:30:42 am
you may try to change your offloading settings.
Title: Re: Low download speed
Post by: lello1231 on August 05, 2017, 11:52:17 am
i tried these with no success
Title: Re: Low download speed
Post by: lello1231 on August 07, 2017, 10:00:10 am
Anyone know how to change the offloading settings on driver level and not from Opnsense GUI  for network card and usb to lan adapter?

Elie
Title: Re: Low download speed
Post by: lello1231 on August 07, 2017, 11:50:12 pm
Solved, by changing the Usb to Lan Adapter . With ifconfig , the speed of the interface was not available and this caused the low speed .