Jump to content

Question about my bandwidth


Pseudomax

Recommended Posts

Hi Luke

 

Yes, you have demonstrated your point with the downloads ... I can achieve only a 1200kb/s download speed (using a chrome browser).

 

So I guess my next question is then around why Emby (set to 'auto') doesn't accommodate that? And how much of that is my ISP or is there something else in my setup that could be the cause?

 

Thanks

 

If it's happening with downloading, then something outside of Emby is limiting it  - probably ISP throttling.

Link to comment
Share on other sites

Pseudomax

Hi, I have downloaded iperf and tried to get it working, but I have discovered the limitations of my knowledge & skills  :rolleyes: ... so this was unsuccessful (I tried to use two windows clients over the VPN as this seemed the easiest way to connect, but they couldn't see each other by iperf even after giving them full network rights through the firewall. I probably could try harder but unless it specifically changes the solution then it will simply be a time exercise that I don't currently have).

 

@@Luke, if the ISP is throttling my connection, but speedtest.net can achieve a regular and consistent 8-13MB/s download to the roaming client ... then is there any port or other that can be used to bypass the throttling? In essence I connect the client to a LAN IP ... so presumably the ISP will only see a normal connection that speedtest.net would use? (I am not familiar with the detail on this)

 

@@ebr, per your suggestion I have moved the quality down to 720p @ 1MB/s and this stops the buffering, but what I don't understand is I have some media that is a higher bitrate that plays without buffering and then some that requires change in the quality?

 

I guess what I am basically saying is that I am obviously disappointed by the poor quality and wonder if there are any other possible solutions (apart from changing ISP which is actually not possible for the client as it is a shared communal connection)?

Edited by Pseudomax
Link to comment
Share on other sites

maegibbons

Iperf can only help you understand the problem not give the solution. It is to prove whether bandwidth is the issue. If you prove that bandwidth ISNT the problem you will get a lot more engagement from the devs that this is an emby issue.

 

So turming to your iperf issue. First can you ping from one machine to another across the vpn?

 

Krs

 

Mark

 

A 'like' is always appreciated!

Edited by maegibbons
Link to comment
Share on other sites

 

 

@Luke, if the ISP is throttling my connection, but speedtest.net can achieve a regular and consistent 8-13MB/s download to the roaming client ... then is there any port or other that can be used to bypass the throttling?

Yes you could try using a different public facing port and see if that makes a difference.

Link to comment
Share on other sites

Pseudomax

Iperf can only help you understand the problem not give the solution. It is to prove whether bandwidth is the issue. If you prove that bandwidth ISNT the problem you will get a lot more engagement from the devs that this is an emby issue.

 

So turming to your iperf issue. First can you ping from one machine to another across the vpn?

 

Krs

 

Mark

 

A 'like' is always appreciated!

 

Hi Mark, Luke ... I have now installed iperf on my QNAP NAS and tested the connection from a client windows laptop on the remote LAN connected over the WireGuard VPN. The bandwidth certainly does appear to be above 10MB/s (see attached screenshot) and yet Emby is only capable of playing at 1MB/s over this route ... Thanks (is there a different port...?)

post-83038-0-16911200-1587807573_thumb.png

Link to comment
Share on other sites

maegibbons

Well done for getting iperf installed!!

 

Did you check in both directions?

 

Which end was the screenshot from?

 

Specify -R flag at end of command to do it in reverse direction.

 

Krs

 

Mark

 

A 'like' is always appreciated!

Link to comment
Share on other sites

maegibbons

Hi

 

Reading and looking at this again this was from the remote laptop and this would have been sending to your qnap.

 

Do put the -R at the end to get the download capability to the remote laptop.

 

Krs

 

Mark

 

A 'like' is always appreciated!

Link to comment
Share on other sites

Pseudomax

Hi Mark

 

Thanks, and yes, that certainly did make a difference (see new screenshot): down from circa 12MB/s to 2.5MB/s ...

 

However, that is still more than emby appears capable of delivering?

 

If as Luke has said this is due to throttling, and it is through an encrypted tunnel, then what can be done to fix this? I use the standard Wireguard Port ... so I could change this, but is this likely to have any benefit? ... is there another way? (it must be the UK ISP that is then doing the throttling but I am able to consistently have 18MB/s upload speeds through speedtest.net whenever I check...

 

Thanks

Graham

post-83038-0-40486200-1587821797_thumb.png

Link to comment
Share on other sites

Pseudomax

Also, what does 'sender' 'receiver' mean? I imagine it is not doing the test in both directions so how can one be higher than the other?

Link to comment
Share on other sites

mastrmind11

Hi Mark

 

Thanks, and yes, that certainly did make a difference (see new screenshot): down from circa 12MB/s to 2.5MB/s ...

 

However, that is still more than emby appears capable of delivering?

 

If as Luke has said this is due to throttling, and it is through an encrypted tunnel, then what can be done to fix this? I use the standard Wireguard Port ... so I could change this, but is this likely to have any benefit? ... is there another way? (it must be the UK ISP that is then doing the throttling but I am able to consistently have 18MB/s upload speeds through speedtest.net whenever I check...

 

Thanks

Graham

Your ISP might be packet snooping or profiling your connection (and throttling if the profile matches torrenting or whatever) which would explain why speed tests don't match the real world.  I apologize if you already covered this but I didn't have a chance to go back and read this thread.  You mentioned wireguard so does that mean you're going through a VPN?  If not, you can try that, or you can try to set up SSL to see if that'll bypass the throttling that appears to be happening.  If you are using a VPN, then that might also explain why your bandwidth is garbage as most VPNs cut bandwidth considerably due to the overhead of the encryption and additional hops.

Link to comment
Share on other sites

Pseudomax

Your ISP might be packet snooping or profiling your connection (and throttling if the profile matches torrenting or whatever) which would explain why speed tests don't match the real world.  I apologize if you already covered this but I didn't have a chance to go back and read this thread.  You mentioned wireguard so does that mean you're going through a VPN?  If not, you can try that, or you can try to set up SSL to see if that'll bypass the throttling that appears to be happening.  If you are using a VPN, then that might also explain why your bandwidth is garbage as most VPNs cut bandwidth considerably due to the overhead of the encryption and additional hops.

 

Hi

 

Thanks for the reply ... I do use a Wireguard VPN ... it is setup between two remote LAN's that I own/manage. Essentially the issue relates to how I maximise the bandwidth between the two subnets connected on this VPN. Both are connected with DD-WRT routers and the server is a dedicated router for the task ...

 

.... as such, is there a port that would be most suitable to try to use instead of the standard Wireguard port?

 

Thanks

Edited by Pseudomax
Link to comment
Share on other sites

mastrmind11

Hi

 

Thanks for the reply ... I do use a Wireguard VPN ... it is setup between two remote LAN's that I own/manage. Essentially the issue relates to how I maximise the bandwidth between the two subnets connected on this VPN. Both are connected with DD-WRT routers and the server is a dedicated router for the task ...

 

.... as such, is there a port that would be most suitable to try to use instead of the standard Wireguard port?

 

Thanks

ISPs sniff around on known ports, so probably anything other than the default ports might work.  Have you tried any of these tests w/ wireguard disabled?

Link to comment
Share on other sites

Pseudomax

ISPs sniff around on known ports, so probably anything other than the default ports might work.  Have you tried any of these tests w/ wireguard disabled?

 

I'll try different ports then ...

 

The tunnel is actually setup for policy based routing, so only certain client LAN devices are routed over the tunnel. The advertised (and speedtest.net) connection speeds are:

Server: 75MB/s down and 18MB/s up (its obviously the up speed that then connects with the client LAN)

Client: 50-100MB/s both up and down (this is a communal connection so it has to be the client and can be variable ... but never below 50MB/s)

Link to comment
Share on other sites

Pseudomax

Well, it looks like there is a lot of throttling ... I have changed the port and now the connection is up to 10MB/s

 

So I guess I will need to see if things get monitored on this port in time ...

post-83038-0-51498600-1587840541_thumb.png

Link to comment
Share on other sites

maegibbons

The sender and receiver are just that.

 

In an ideal world they would be the same but different oss and hardware have subtle differences. Its just to give order of magnitude are they the same and in your case yes. So dont be worried by slight difference.

 

What isps are you using?

 

And which routers?

 

Adding a VPN does add some ovehead.

 

Krs

 

Mark

 

A 'like' is always appreciated!

Link to comment
Share on other sites

Pseudomax

The sender and receiver are just that.

 

In an ideal world they would be the same but different oss and hardware have subtle differences. Its just to give order of magnitude are they the same and in your case yes. So dont be worried by slight difference.

 

What isps are you using?

 

And which routers?

 

Adding a VPN does add some ovehead.

 

Krs

 

Mark

 

A 'like' is always appreciated!

 

Fibre TalkTalk (Gateway: Asus-Merlin RT-87U and Dedicated VPN Server: TP-Link Archer C7 v1) ... seems to be the service doing the throttling

Remote Community connection (Gateway & VPN client: TP-Link Archer C7 v2)

Link to comment
Share on other sites

maegibbons

Well talk talk are not the best!

 

However, 10Mbps should sustain a 4Mbps stream without issue.

 

Krs

 

Mark

 

A 'like' is always appreciated!

Link to comment
Share on other sites

However, 10Mbps should sustain a 4Mbps stream without issue.

 

Assuming all other things are good - like you don't have high latency...

Link to comment
Share on other sites

maegibbons

Assuming all other things are good - like you don't have high latency...

Well to be pedantic, even sustained moderate to high latency (up to say a a few 100 ms) is actually ok. Its jitter that becomes the issue.

 

However, in the modern internet high latency is usually a function of bandwidth saturation anyway.

 

So 4Mbps out 10 is a pretty reasonable expectation in not saturating that link with the expected traffic.

 

Krs

 

Mark

 

A 'like' is always appreciated!

Link to comment
Share on other sites

maegibbons

BUT for completeness and to prove that latency is not outrageous the OP should download pingplotter from pingplotter.com and start a trace (change interval to 1sec) to an IP on the other side of the link.

 

Then try and play a 4Mbps file across VPN and see how it affects latency and packet loss.

 

Krs

 

Mark

 

A 'like' is always appreciated!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...