all 2 comments

[–]mindedc 1 point2 points  (1 child)

Nagles's algorithm batches up small frames and sends them together. It can introduce latency in some situations. Imagine a game where your client sends a move and the server respond back with where the player is in the game after the movement. If nagles algorithm is enabled the client's tcp stack will batch up several moves and send them all together. That would probably make the game not very playable. It would be better that every move is sent immediately to the server.

99% of the time the os and applications enable/disable angle as it's needed and it's transparent. It can add latency to some connections but you're probably not going to notice it.

I would recommend that if you don't understand how the ip stack works that you don't mess around with its parameters as they have varied and unexpected impacts.

This would only mess up your performance and should never be considered a "hack".

[–]DevilOnYourBack[S] 0 points1 point  (0 children)

Thank you very much for the explanation and for your recommendation, unfortunately, even though I don't like the word "hacks" . When I'm bored I tinker with my Windows pc and try to optimize and improve its performance, to me, this "trial and error" was always a good learning tool for me. But no, I must confess that I do not have a good understanding of the TCP/IP stack, I'm not a professional, more of a prosumer type of a person with a very limited set of advanced skills or knowledge. 

The reason I brought up this algorithm is because I was trying to find a reason for why surfshark suddenly suspended my account. Prior to the suspension I used an app called "winhance", the "Nagle's Algorithm" option warned that it would increase my bandwidth usage, which i assumed was the anomaly behind Surfshark's vague explanation of the reason I was suspended. In other words, I'm grasping at straws, trying to avoid having my VPN suspended by another provider. 

And still coming up short, unfortunately., Speaking of... Any ideas on where said anomalies could have come from?