pfSense Gold Subscription

Author Topic: Strange problem with slow download speed on WAN  (Read 24392 times)

0 Members and 1 Guest are viewing this topic.

Offline /CS

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #30 on: December 15, 2012, 04:02:07 am »
Is your wireless connection a separate access point, or is it integrated in either the modem or the 6501?  What was different from this PC transfer test that netted 15+ Mbps than the earlier one you conducted that only resulted in 7-10 Mbps?

Wireless integrated on 6501 board.
The difference is that before there were problems with the interfaces causing errors and collisions. These problems were resolved by themselves by rebooting the board and setting the interfaces to specific speed and then back to auto. Right now they are all to "auto" without errors.

Offline trunix

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +1/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #31 on: December 15, 2012, 02:02:02 pm »
Got it.  Previously you had a PC connected to the LAN port of your DSL modem, so I guess that was a small config difference as well.  Hmmm, having to fiddle with the interface settings to get things stabilized isn't good.  Hardware checksum offload is back to enabled (checkbox cleared), correct?  Technically your nics are capable of hardware TCP segmentation offload, but I'd leave that off for now and it may be something to optimize later when everything is back to working okay.

Hardware large receive offload and device polling are disabled are well, correct?  Disabled for LRO means the checkbox is marked and disabled for device polling means the checkbox is cleared.  I mention that only because I get turned around and flip-flop the setting from time to time when I'm making adjustments.

Any improvement running booting off usb?

Offline /CS

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #32 on: December 17, 2012, 03:56:13 pm »
Unfortunately I didn't succeed to boot it from USB. I tried several supported distributions and USB sticks without success. Do you recommend any distro which I may haven't tried yet?

My BIOS version supports booting from USB: "comBIOS ver. 1.41a  20111203"
I got the same error for all my attempts:
Quote
comBIOS Monitor.   Press ? for help.
> boot 80
No Boot device available, enter monitor.

comBIOS Monitor.   Press ? for help.
>

For the settings you mentioned above I will check even I think these are correct.
Just for information, Soekris suggested to send them the board for inspection.

Offline trunix

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +1/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #33 on: December 17, 2012, 05:35:12 pm »
I'm sure you've already tried the i386 memstick distro, and that's always worked for me.  More often than not, I just keep the latest LiveCD handy and use a usb cd/dvd drive.

Sorry, I'm not gonna be any help with the Soekris error messages, perhaps Steve or someone else familiar with the hardware can chime in?  If I were you, I'd want to try this last bit of troubleshooting before mailing the firewall back to Soekris, but be mindful your warranty doesn't expire in the meantime.

Offline /CS

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #34 on: December 19, 2012, 02:23:31 pm »
After several unsuccessful tests, I upgraded my comBIOS to the latest version:
Quote
comBIOS ver. 1.41c  20121115

Then I tried with FreeBSD (FreeBSD-9.0-RELEASE) following these two guides without success:
http://www.macfreek.nl/memory/FreeBSD_9_on_Soekris_net6501
http://wiki.soekris.info/Net6501_freebsd

Actually for these tests with USB sticks I have unplugged the SATA disk and each time the command "boot 80" takes some seconds and then always gives the "No boot device available" error.

I think I may try to reinstall pfsense on the same SATA disk.
The board has 3 years warranty and it's 10 months old, so the expiration is not a problem. I want to try everything before sending it back.
« Last Edit: December 19, 2012, 02:30:32 pm by /CS »

Offline /CS

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #35 on: January 16, 2013, 03:00:24 pm »
Happy New Year guys!

It's time for an update on this topic.
So...I finally found a USB stick that was recognized by the comBios so I installed the full version of the latest pfSense version (2.0.2) on a different HDD, Transcend mSATA SSD. Actually I used the "pfSense-memstick-serial-2.0.2-RELEASE-i386-20121207-1630.img" image and the "Win32DiskImager" software to write it to the USB stick.

After the installation I assigned only the WAN and LAN interfaces and did my speed tests using two specific cables and reassigning the LAN/WAN interfaces.
To keep it short I get slow speeds ONLY when a specific interface (em3) is assigned to WAN/LAN. This iface was always assigned to WAN or LAN when I was doing my tests in the past and it was the reason I was getting the slow speeds. So it seems to be a hardware related issue.

I had a closer look to this interface and I cannot see any difference comparing with the other. I mean all 8 pins are clean and without any signs of strain.

What do you recommend? Should I send it to Soekris service? Is there anything else I could do?
The board is quite new and considering its price I am not willing to use only 3 of the interfaces...
« Last Edit: January 17, 2013, 01:55:24 pm by /CS »

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11959
  • Karma: +469/-15
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #36 on: January 16, 2013, 03:52:04 pm »
Hmm, seems odd.
Before any of your trouble started were your using em3 and getting full speed?
If so then it pretty much can only be a hardware problem of some kind.
The only other thing to consider is how the NICs are connected internally. For instance my home box has 3 Intel Gigabit NICs but they are actually provided by one Gigabit chip and one Dual Gigabit chip. These are connected on separate PCI bus connections. I can achieve a greater throughput by arranging the highest traffic to use both chips. It's pretty marginal though!  ;)

Steve

Offline /CS

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Strange problem with slow download speed on WAN [SOLVED]
« Reply #37 on: January 17, 2013, 02:59:17 pm »
FINALLY SOLVED!!! :o

Hi guys,
let me explain the root cause and how I found it out.

I noticed that the speed is slow only when that interface is assigned to WAN and NOT to LAN. It means when em3 was LAN the speed was high and when WAN, slow! That pointed me to the right direction. I remembered that in the past I also had slow speeds with other interfaces as WAN...
So the same interface is slow as WAN and fast as LAN...but what's the difference?
WAN had always a specific IP (DHCP reservation on the DSL router). So, I logged in to the router and changed the reservation to a different IP and suddenly I got high speed again for WAN! The only setting on the router which is related to the specific IP is the DMZ, since I had it enabled for this specific IP to be able to use pfSense for VPN etc. That was necessary since the DSL modem was not on bridge mode.

So finally when I disable the DMZ setting for the WAN IP then the speed is high and when enable again is slow!!! It's clear that it's a malfunction of the DSL-Easybox!

Actually, it explains why I had this problem even if I was reassigning the WAN in the past. Back then I was updating that DHCP reservation to point to the same IP (to be able to use my VPN) and I always had the same problem. Yesterday I built the system from scratch again (new HDD) and I did my tests without caring to get this specific IP (without updating the reservation) and that's why I got the different results for one of the interfaces...

Thank you all guys for the feedback and the ideas you provided. I enjoyed the troubleshooting and for me it was indeed an interesting case!  ;D

***UPDATE: Using port forward (NAT settings) instead of the DMZ setting works fine for VPN without affecting the speed! :)
« Last Edit: January 19, 2013, 11:44:13 am by /CS »

Offline stephenw10

  • Administrator
  • Hero Member
  • *****
  • Posts: 11959
  • Karma: +469/-15
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #38 on: January 17, 2013, 03:07:50 pm »
Ah! Well deduced.  :)
There is no QoS / traffic shaping on the Easybox?

Steve

Offline /CS

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #39 on: January 17, 2013, 03:51:13 pm »
There is no QoS / traffic shaping on the Easybox?

The QoS menu is locked/disabled by default and sooner or later I need to reset and rebuild it from scratch too.
I'm afraid there are some default settings which are currently not visible to the user.

Offline trunix

  • Jr. Member
  • **
  • Posts: 30
  • Karma: +1/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #40 on: January 17, 2013, 03:57:31 pm »
Glad you got it solved and didn't have to mail the firewall back to Soekris! I agree, a very interesting case. You may want to prefix this thread with the words "SOLVED" in the title.

Offline /CS

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #41 on: January 17, 2013, 04:02:49 pm »
You may want to prefix this thread with the words "SOLVED" in the title.

I also wanted to do that but coudn't find an option in the menu to rename it, so I just posted my reply/solution with "[SOLVED]" at the end. It would be better to rename the whole topic so pls let me know if I missed that menu.

Offline wallabybob

  • Hero Member
  • *****
  • Posts: 5240
  • Karma: +11/-1
    • View Profile
Re: Strange problem with slow download speed on WAN
« Reply #42 on: January 17, 2013, 04:15:01 pm »
You may want to prefix this thread with the words "SOLVED" in the title.

I also wanted to do that but coudn't find an option in the menu to rename it,
The ability of the writer of a post to Modify the post seems to expire within a time less than a couple of days.