Fixing slow home ne...
 

[Closed] Fixing slow home network speeds

24 Posts
9 Users
0 Reactions
132 Views
Posts: 4306
Full Member
Topic starter
 

I'm copying some large (500 to 1GB) files from laptop to NAS drive. The drive was plugged directly into the router, the laptop into a switch, then to router.

According to the windows dialogue it was copying at 5MB/s. I moved the NAS over to the switch and it's reached a dizzying 15 - 20 MB/s.

Theoretically I think I should be getting close to 100MB/s? Everything is Gigabit.

Where do I start looking to improve?

At the moment I have a router connected directly to a second wireless AP.

And an 8 port switch which has NAS, Laptop and 5 Sonos speakers plugged in to it.

I'd like to use the NAS more but at the moment it's only really useful for backing up at that speed.

It used to work perfectly streaming to the Sonos players but does struggle at times if a few are playing together, I never got to the bottom of the issue with that.

I guess it's not much to go on but would appreciate any ideas of what I should try to speed it up.

Thanks

 
Posted : 09/06/2019 3:07 am
Posts: 299
Free Member
 

I miswired a single pair on a cat5 once. Still worked, but rather slowly.

 
Posted : 09/06/2019 4:40 am
Posts: 3109
Free Member
 

There was a similar thread last week: https://singletrackmag.com/forum/topic/help-me-diagnose-my-weird-wifi-issue/

Splitting the frequencies really speeded up my home network and made it a lot more stable.

 
Posted : 09/06/2019 8:14 am
Posts: 10255
Free Member
 

Are you sure your NAS itself can do 100MBs? Older ones often can't. Plugging both into the switch is as good as you can do really.  At the moment it shouldn't be wireless related as you aren't using the wireless with this connection

 
Posted : 09/06/2019 8:32 am
Posts: 0
Free Member
 

More information required about the NAS. Make/model. Model of HDD in it.

 
Posted : 09/06/2019 11:59 am
Posts: 4306
Full Member
Topic starter
 

I miswired a single pair on a cat5 once. Still worked, but rather slowly.

This is a possibility I guess, I should probably get something to test it with. They are mostly home made cables....

There was a similar thread last week:

Cheers but I'm trying to fix the wired bit, not wireless.

Are you sure your NAS itself can do 100MBs? Older ones often can’t. Plugging both into the switch is as good as you can do really. At the moment it shouldn’t be wireless related as you aren’t using the wireless with this connection

I've seen reviews/claims etc that it will do very close it. I'm not expecting 100MB/s but even half of that would be nice.

My WiFi is another issue, although seemingly running OK at the moment..

More information required about the NAS. Make/model. Model of HDD in it.

The NAS is an (original?) WD MyCloud. Should do Gigabit and the light on the ethernet is green (which I think shows it's connected at gigabit). The drive I *think* is a WD Red 2TB, although I can't find anything to confirm that at the moment.

 
Posted : 09/06/2019 12:44 pm
Posts: 0
Full Member
 

A bit more info is needed.

Make/model of switch
Make/model of router

is it layer 2 between the laptop and nas? or is the router doing some layer 3 routing? (in simple terms are both devices in the same IP range?)

can you check the interface stats on the router/switch to check for errors, and potential duplex mismatches (this will depend on the devices you have)

you've said that everything is gigabit and by that I'm assuming you mean that everything is gigabit capable but have you checked that the interfaces have all come up and 1g and haven't for some reason come up at 10mb or 100mb.

 
Posted : 09/06/2019 12:55 pm
Posts: 4306
Full Member
Topic starter
 

Switch is TP-Link TL-SG1008D

Router is TP-Link Archer C2 AC750

So a slight breakthrough....

NAS to PC
[url= https://i.ibb.co/RChQF6h/NAS-to-PC.jp g" target="_blank">https://i.ibb.co/RChQF6h/NAS-to-PC.jp g"/> [/img][/url]

PC to NAS
[url= https://i.ibb.co/sJ2BM3p/PC-to-NAS.jp g" target="_blank">https://i.ibb.co/sJ2BM3p/PC-to-NAS.jp g"/> [/img][/url]

I know have the second wireless AP plugged direct to the router, the switch plugged in to the router and everything else (including the NAS) in to the switch. Still not 100MB/s but a lot closer.

 
Posted : 09/06/2019 1:02 pm
Posts: 4306
Full Member
Topic starter
 

is it layer 2 between the laptop and nas? or is the router doing some layer 3 routing? (in simple terms are both devices in the same IP range?)

Hmm not sure about this...

Router range is set 192.168.0.100 to 199
Default gateway is 192.168.0.1 (and is the router IP)

I've got various static IPs reserved for all the Sonos, Laptop and Printer in the range below 192.168.0.100 The laptop is .21

I think I followed a guide that said to set all the static outside the range that DHCP will allocate?

can you check the interface stats on the router/switch to check for errors, and potential duplex mismatches (this will depend on the devices you have)

Maybe, I'll have to take a look later.

you’ve said that everything is gigabit and by that I’m assuming you mean that everything is gigabit capable but have you checked that the interfaces have all come up and 1g and haven’t for some reason come up at 10mb or 100mb.

So my quick copy test suggests that now the laptop and the NAS, via the switch, are gigabit. Is there a chance that the router isn't for some reason? I'm not sure how to check that.

 
Posted : 09/06/2019 1:09 pm
Posts: 4306
Full Member
Topic starter
 

Also the Sonos is playing FLAC files to all players seamlessly *at the moment*

Don't want to jinx it but I haven't been able to do this for some time.

 
Posted : 09/06/2019 1:16 pm
Posts: 0
Full Member
 

that switch looks unmanaged, which means getting any stats or checks on it will be impossible. so it will be predominatly trial and error to trouble shoot it.but looks like you've made good progress,

 
Posted : 09/06/2019 1:18 pm
Posts: 4306
Full Member
Topic starter
 

that switch looks unmanaged

Yes it's unmanaged. I think Sonos plays nicer with unmanaged switches (and they were cheap!)

Have to go to work now, will check back later.

Thanks for the help so far, at least at this speed it's now useable. I can now watch a video on the laptop streamed straight off the NAS, this wouldn't work at all yesterday.

Could plugging in the wireless AP slow all the connections plugged directly to the router? It might be the only thing that isn't gigabit.

 
Posted : 09/06/2019 1:25 pm
Posts: 0
Full Member
 

Router range is set 192.168.0.100 to 199
Default gateway is 192.168.0.1 (and is the router IP)

I’ve got various static IPs reserved for all the Sonos, Laptop and Printer in the range below 192.168.0.100 The laptop is .21

I think I followed a guide that said to set all the static outside the range that DHCP will allocate?

that all good looks like its on the same Layer2 network

that's good, makes things easier in this instance and reduces the processor load on the router.

Maybe, I’ll have to take a look later.

So my quick copy test suggests that now the laptop and the NAS, via the switch, are gigabit. Is there a chance that the router isn’t for some reason? I’m not sure how to check that.

You can't on the switch as its unmanaged, and looking at the manual for the router there's not much if any wired LAN checks that you can do.

trial and error will probably the only way forward.

if the cables are home crimped then if you can try swapping them to see if that helps just to rule them out

 
Posted : 09/06/2019 1:38 pm
Posts: 76786
Free Member
 

can you check the interface stats on the router/switch to check for errors, and potential duplex mismatches (this will depend on the devices you have)

If you've got a speed / duplex mismatch (which shouldn't happen with Gigabit Ethernet as autonegotiate is part of the protocol) it'll be a damn sight slower than you're seeing.

 
Posted : 09/06/2019 1:59 pm
Posts: 10255
Free Member
 

Also, it there anyone in your house streaming something at the same time?  It shouldn't really be relevant with both devices plugged into the switch but if the switch isn't up to it then you may have a problem

Is the layer routing question relevant if both the NAS and PC are plugged into the same switch which I think they are now

I would change cables and unplug all other devices as my starting point now

 
Posted : 09/06/2019 2:07 pm
Posts: 4306
Full Member
Topic starter
 

Also, it there anyone in your house streaming something at the same time? It shouldn’t really be relevant with both devices plugged into the switch but if the switch isn’t up to it then you may have a problem

There's not, well at least not while I was testing.

Is the layer routing question relevant if both the NAS and PC are plugged into the same switch which I think they are now

Don't know but you're right they were plugged into the same switch when working well.

I would change cables and unplug all other devices as my starting point now

I think I've found the culprit..... I plugged the NAS back in to the router and transfer speeds were down to under 10MB/s. I unplugged the wireless AP and.....

[url= https://i.ibb.co/ZWbBkZH/NAS-to-PC-AP-Unplugged.jp g" target="_blank">https://i.ibb.co/ZWbBkZH/NAS-to-PC-AP-Unplugged.jp g"/> [/img][/url]

So the AP looks to be the issue. It's on a home made lead which could be the problem I suppose. I'll move it next to the router and plug it in with a known good cable and see if it still causes an issue.

 
Posted : 13/06/2019 6:32 pm
Posts: 4306
Full Member
Topic starter
 

Definitely the AP causing issues. With a known good lead it still kills the speed.

Not sure what to do now? Factory reset and then what?

Any tips on how I should set up a TP-Link TL-WA801ND 300Mbps wireless access point to play nicely with TP-Link Archer C2 AC750 router?

I assume I've done something wrong in the settings?

 
Posted : 13/06/2019 6:42 pm
Posts: 5661
Full Member
 

That AP has a 10/100 rj45 port.

That there is your problem. A single 10/100 device on an otherwise gigabit network will pull all devices down to 10/100 speeds. Which just so happens to be under 10 MB/s maximum.

Fix? Leave the AP disconnected, and buy a new one with a gigabit ethernet port.

 
Posted : 13/06/2019 8:51 pm
Posts: 76786
Free Member
 

What happens if you plug the AP into the switch instead of the router?

That there is your problem. A single 10/100 device on an otherwise gigabit network will pull all devices down to 10/100 speeds.

Erm...

 
Posted : 13/06/2019 9:42 pm
Posts: 4306
Full Member
Topic starter
 

But aren't Sonos only 10/100? And they don't slow it all down?

 
Posted : 13/06/2019 9:59 pm
Posts: 5661
Full Member
 

It may not do if he had a proper managed switch with auto negotiation but on a simple unmanaged switch I bet that's what's happening.

Edit: the switch has auto negotiation, so if you were transferring data just between devices attached to the switch, you'll see decent speeds and should be connected at gigabit for the devices that have that ability. The router does not have auto negotiation, so if the NAS is plugged into the router, it will get gigabit speeds UNTIL the 10/100 AP is plugged into the router, which then causes all ports on the router to drop down to 10/100 speeds.

Which from what I can tell, that is exactly what you're seeing?

 
Posted : 13/06/2019 10:41 pm
 5lab
Posts: 5542
Free Member
 

Have you got wireless turned on on your laptop? Try disabling it - I recon there's a chance it's seeing 2 routes (wired and wireless) to your nas and trying to balance the speed between both of them?

 
Posted : 13/06/2019 11:33 pm
Posts: 4306
Full Member
Topic starter
 

Have you got wireless turned on on your laptop?

Nope. It's been switched off for about the last 2 years.

 
Posted : 14/06/2019 12:43 am
Posts: 4306
Full Member
Topic starter
 

@ta11pau1

What you've written makes sense thank you. And thanks for taking the time to presumably look up the specs of my kit.

I guess that would also explain why it used to work OK until we redecorated the lounge. I think I used to have another switch between the router and AP (in the lounge).

I've got a 5 port version of the same switch, so if I plug that in between the router and AP then the router ports would work at gigabit for anything else that's plugged directly in to it?

I hope I've understood that right.

 
Posted : 14/06/2019 1:07 am
Posts: 4306
Full Member
Topic starter
 

Final update now I'm back from hols.

Wireless AP now plugged in to a switch which is in turn plugged in to router and reading from NAS to PC is up to 95MB/s. Writing to the NAS is a bit slower but still between about 40 to 60 MB/s.

Music on Sonos plays happily and I can use the NAS successfully again.

Cheers for the help.

 
Posted : 27/06/2019 12:35 am