• October 31, 2024, 09:43:51 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: DGS-1210-10 - Slow speeds from outside network  (Read 5704 times)

mrwinter

  • Level 1 Member
  • *
  • Posts: 2
DGS-1210-10 - Slow speeds from outside network
« on: April 23, 2017, 02:33:25 PM »

Hi all!

Thanks in advance for any advice you can provide. :)

My situation is as follows -- I have a large home server that usually sat behind an ASUS RT-AC68U gigabit router, connected via Cat6 cable. From outside my network, I can connect to an SFTP server (from across the country, Boston -> Seattle) and transfer at a pretty high speed - 64Mbit/sec (Boston is the client and receiver) on a 100Mbit connection on each side. Not bad!

Lately I ran out of ports, so I picked up a D-Link DGS-1210-10 (non-POE version, hardware revision C) for extra ports and some of the advanced features I might use.

After a day and a half of troubleshooting, when my server is plugged in behind the D-Link switch and I try the same file transfer, I can barely get beyond about 8Mbit/s. Also, the transfer speed starts VERY slowly, and eventually ramps up (more on this in a bit).

Plug the server back into the Asus router directly, and back up to 64Mbit/s O_O

I tried different cables to rule out the simple stuff. I tried different ports on the D-Link switch. I disabled all "smart" features of the switch. I set the switch port to force 1000/Full. I ensured Jumbo Frames was enabled on the switch. I updated the firmware on the switch to the latest (it came with the latest already installed, but I re-flashed anyway). I turned OFF jumbo frames everywhere and rebooted everything.

Same deal - on the Asus router connected directly to the building fiber I can get much higher transfer rate to Boston than if I go Server<->D-Link<->Asus<->Internet<->BostonClient.

Internally on my own network, if I'm connected via Wifi, I get consistent speeds whether the server is on the Asus router or behind the D-Link switch - 500Mbit/sec on Wireless AC

I ran tcpdump on the sftp server during both tests with the Boston linux client, and when plugged directly into the Asus router (no D-link switch), throughput is a solid 50-60+ Mbit/sec. Window scaling is a solid 66560 from server->client and client->server it ramps up by about 1.2MB/s until it peaks at 3.2MB just around 3s into the data transfer. It stays there the whole time. I get a consistent ~5000PPS

When the server is behind the D-Link switch, throughput from server->client, once SSH negotiation occurs, starts at about 0 and is a very fine step function every .1s or so from 100Kbit/sec until it hits ~8Mbit/sec and hangs out there for a bit. Window scaling from server->client is still good around 65k the entire time, but client->server is now a fine step function from 30KB up to 210KB, going up about 30KB/sec.

Any advice or tips are appreciated!

Thanks!
MrW
« Last Edit: April 23, 2017, 02:50:31 PM by mrwinter »
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DGS-1210-10 - Slow speeds from outside network
« Reply #1 on: May 06, 2017, 10:07:58 AM »

Any status on this?

I'd review the user manual for any speed or QoS features on the switch or anything that is controlling speed and disable it. I believe the 1210 is a smart switch so may not be fully compatible home a home class router. I believe there are some features with in the switch that can be disabled that should help make it work right.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.

mrwinter

  • Level 1 Member
  • *
  • Posts: 2
Re: DGS-1210-10 - Slow speeds from outside network
« Reply #2 on: May 06, 2017, 10:26:47 AM »

None. I disabled every feature I could think of, tried with jumbo frames everywhere internally and without (my packet captures didn't show anything funny happening with regards to that). No packet loss, unnecessary fragmentation, duplicate packets/acks, etc.

When I use a 'dumb' switch in its place, everything is fine. The window scaling and PPS is nearly identical to just plugging directly into the router. Somehow, introducing the D-Link causes throughput loss due to what I'm assuming is the inability to scale, as that's the only indication of what could be going wrong. I couldn't find any settings that might cause that only for external connections.

For fun, I sent the pcaps to some people at work on my team and even reached out to a principle engineer to see if they wanted to take a crack at it (AWS Networking). My best assumption based on my observations is that the switch is doing something that internally is fine, but once it passes through the router (or upstream devices), something it's changing/shaping on the packet is causing havoc. While QoS isn't enabled (and it doesn't help when it is), there could still be something the switch is doing to the packets that cause upstream trouble. Or maybe it's a combination of the switch and the router (neither have traffic shaping/QoS enabled). At this point I wouldn't even rule out the router's NAT translation - haha

Oh, I also rebooted each device when I swapped network config around to ensure no arp caching/mac table was causing packets to be misrouted for any reason. Just in case.
Logged

FurryNutz

  • Poweruser
  •   ▲
    ▲ ▲
  • *****
  • Posts: 49923
  • D-Link Global Forum Moderator
    • Router Troubleshooting
Re: DGS-1210-10 - Slow speeds from outside network
« Reply #3 on: May 06, 2017, 11:08:29 AM »

I found the similar issue post here:
http://forums.dlink.com/index.php?topic=57641.0

Not sure if this would be of any help.

You might phone contact D-Link support about this. They should know or have more information to help on this.

Let us know how it goes.
Logged
Cable: 1Gb/50Mb>NetGear CM1200>DIR-882>HP 24pt Gb Switch. COVR-1202/2202/3902,DIR-2660/80,3xDGL-4500s,DIR-LX1870,857,835,827,815,890L,880L,868L,836L,810L,685,657,3x655s,645,628,601,DNR-202L,DNS-345,DCS-933L,936L,960L and 8000LH.