*ENG* Impossible problem with internet speeds

Permalänk
Medlem

*ENG* Impossible problem with internet speeds

I have spent my whole day troubleshooting my home network. And I'm out of ideas.

Configuration:

PC (SERVER) o---------------->[SWITCH - Netgear 10Gbps]o--------->[ROUTER - ASUS ET12] ---->> WAN ( 1000/1000 fiber)
2.5Gbps cat7

The problem:

(On Windows 11) I get full Upload/download in the Malmö area, but very low speeds outside Sweden. (200-300down / 100-200~ Upload)
while
(On Linux Virtual Machine inside the same Windows) - > Speeds remain high outside Sweden ( 900/900 Down/up even 1000+ Km)

What I've tried:

-Reinstalling and updating Ethernet adapter
-Adding an USB-C ethernet dock (weird results, downloads gets lower, upload a little better)
-Moving PC Lan connection from Switch directly to Router (It improved speeds by 100%, but still not close to full potential)
-Testing download from Dedicated server in Holland (Trough switch: DL 20MB/s Directly to router: 60MB/s)
-Testing other devices on the network - LAN (Apple tv trough switch = 900/900) and Wifi 6 (iphone and imac on wifi = 900/900)
-Restarting into Safe mode with networking (no network at all)
-Running Linux in VM (Speed 800/900 on server 2000km away)
-Running Win10 in VM (Speed 800/300 on the same server)
-Changing Ethernet Cable

Why does it matter ?

It's a legitimate question. I'm running a nextcloud server trough which I share a lot of files (pictures, videos etc) that backup directly from our phones in the household. Which families afar are sharing further etc. Also I run a plex server for the family.
With all that in mind I got 1000/1000Mbps subscription to make the experience as smooth as possible.

But it appears, that I'm able to effectively use 10-20% of that bandwidth from outside of country. And as seen from above, it's not the Operator's problem, it's my PC's problem.

I'm running out of ideas, and any suggestion would be more than welcome!

Sorry for the resorting to English, so far my Swedish works mostly vocally in conversations, but didn't really want to butcher your language in writing.

Mvh,
Zarko

Permalänk
Medlem

Windows is really bad at transmitting files at high speed once latency starts to go up. I'm not sure if there are any good fixes for this except using something other than Windows.

Maybe you can tune tcp window size or scaling to get some additional performance but it'll probably never reach linux speeds.

There's some more info here if you want to have a look: https://learn.microsoft.com/en-us/answers/questions/89768/slo...

Permalänk
Medlem

If you can't find the root cause, it seems like you have already found a solution: Run Linux in a VM.

If a VM really is a solution, we can probably draw the conclusion that there is a performance problem in the Windows network stack on layer 3 or above, in the application layer or in the file system access. Perhaps some anti-virus or firewall.

If a VM is not a desireable solution, it seems like you may want to get a dedicated server for Plex+Nextcloud, or switch bare metal OS:s on the current box, since your Windows install seems messed up.

Because you're not giving any details about what kind of network traffic you are measuring against the server 2000 km away, it seems pointless to put effort into thinking about how you can analyze that traffic.

It really does not make sense that you can get full speed in a Linux VM on the Windows host through the switch, but get faster speed on the Windows host without the switch. What you seem to imply about getting full speed inside+outside Sweden in the VM but only inside Sweden on the Windows host does not make sense either. Your measurements simply does not seem trustworthy for whatever reason - maybe you have just not repeated each test case enough times to rule out random glitches, or other consumers of the network running at the same time causes results that are hard to interpret.

Permalänk
Medlem
Skrivet av KAD:

Because you're not giving any details about what kind of network traffic you are measuring against the server 2000 km away, it seems pointless to put effort into thinking about how you can analyze that traffic.

It really does not make sense that you can get full speed in a Linux VM on the Windows host through the switch, but get faster speed on the Windows host without the switch. What you seem to imply about getting full speed inside+outside Sweden in the VM but only inside Sweden on the Windows host does not make sense either. Your measurements simply does not seem trustworthy for whatever reason - maybe you have just not repeated each test case enough times to rule out random glitches, or other consumers of the network running at the same time causes results that are hard to interpret.

Pardon, it is very certain that I left out important details, but I'll happily fill in. The most of the testing I've done via Speedtest.net. Apart from that one dedicated server I rent in Netherlands.

As for trustworthiness of the measurements, I find it hard to comprehend also. That is why I opened this topic. I don't expect anyone to give me the exact solution. But share maybe somewhat similar experience, or point towards the next best idea. Maybe you can replicate it yourself and share data from your end.

Here's the video recording of the few tests that I've done towards the Podgorica server (where my family is) ~2000km. It's not 900 like yesterday but it is comparable difference in bare windows vs VM

As other solutions mentioned, I did disable firewall in windows as test, but it changed literarily nothing.

era909's comment makes sense, but why would it be only limiting the upload ?

EDIT: Tested an older windows 10 laptop - doesn't throttle upload. So it's just mine pc.

Permalänk
Medlem

You can not realistically test your broadband speeds in a web browser, that is an ever changing environment that often has problems affecting browser based testing.

Please at least download the Speedtest app.

It is not driver or network related when it works in the VM where you have not passed through your network device. If you need to use the browser for file transfers it might work better with a different browser or clean reinstallation of the browser.

Permalänk
Medlem

Petterk you 99% got it !

This whole time didn't cross my mind it could be the browser issue. I did test it in firefox, Edge and chrome though, all with exact same cap... And the chrome on the Windows 10 laptop didn't have this issue.

After downloading the app and doing the tests, the speeds are entirely different story. Even though I'm not able to select the server I want (only from the list of the ones that are offered based on location), but the difference is huge. For example Bremen PLUTEX server gets me 920/945 Mbps in the app vs 800/500 in the browser.

Meanwhile I have setup an OpenSpeedTest server on my PC trough the Docker (on which Nexcloud runs also) and run tests from dedicated server in Netherlands, as well trough another device on VPN from different countries, and results are pretty satisfactory.

I still won't completely understand all the variables (1. why the browser works fine nearby, but heavily throttles higher ping locations; 2. why the upload jumped 100% (from 100 to 200mbps) after removing one hop (connecting pc directly to router instead trough 10gbps switch) 3. why the same browser works without any problems on a different device ...)

It's been a fun journey and I thank everyone that took time to share their point of view, and very special thanks to Petterk, bringing up the solution.
Best regards,
Z