Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 

dzh

dzh

50 posts

Geek
+1 received by user: 2

Trusted

  #3108186 26-Jul-2023 10:54
Send private message

fe31nz:

 

So no-one seems to have ever done much thinking about a better system than TCP already uses, because there is no point for them.

 

 

 

 

https://en.wikipedia.org/wiki/TCP_congestion_control#Algorithms




Talkiet
4819 posts

Uber Geek
+1 received by user: 3935

Trusted

  #3108188 26-Jul-2023 11:01
Send private message




Please note all comments are from my own brain and don't necessarily represent the position or opinions of my employer, previous employers, colleagues, friends or pets.


fe31nz
1295 posts

Uber Geek
+1 received by user: 423


  #3108605 26-Jul-2023 22:52
Send private message

dzh:

 

fe31nz:

 

So no-one seems to have ever done much thinking about a better system than TCP already uses, because there is no point for them.

 

 

 

 

https://en.wikipedia.org/wiki/TCP_congestion_control#Algorithms

 

 

Congestion is not the problem being discussed, although it obviously can have a big effect on download and upload speeds.  The problem is the TCP window size and getting it ramped up quickly enough so that your TCP connection is not spending most of its time waiting for the next ACK packet before any more data gets sent.




fe31nz
1295 posts

Uber Geek
+1 received by user: 423


  #3108606 26-Jul-2023 23:06
Send private message

Talkiet:

 

https://en.wikipedia.org/wiki/QUIC

 

 

This looks interesting as it avoids using TCP and does its own protocol, which is pretty much what is required in order to avoid the TCP window problem.  But on first glance, it appears to be using multiple data streams, which should not be necessary if you do not have the TCP window problem to contend with.  QUIC appears to be using multiple data streams to avoid slowdowns from packet loss.  Since packet loss is fundamental to how IP routers handle congestion, any good protocol has to pay attention to how to handle packet loss well.  But I am not sure that just having one data stream slow down due to packet loss and allowing other data streams to speed up to compensate is the right way to go about it - your steams might end up contending with each other at the overloaded router(s).  In the specific case of the OP, when dealing with monster size files, best speed should be achievable with one stream and complex packet loss and retransmission control, as the requirement is for the entire monster file to arrive intact as fast as possible, rather than to have a stream of data arriving in a form where the data that has arrived can be used as it arrives (eg streaming TV).


dzh

dzh

50 posts

Geek
+1 received by user: 2

Trusted

  #3108663 27-Jul-2023 09:06
Send private message

fe31nz:

 

Congestion is not the problem being discussed, although it obviously can have a big effect on download and upload speeds.  The problem is the TCP window size and getting it ramped up quickly enough so that your TCP connection is not spending most of its time waiting for the next ACK packet before any more data gets sent.

 

 

I'm far from expert here, but isn't Slow Start part of congestion protocol?

That almost seem like a key point citing marketing slide of Google's BBR
TCP vs BBR


Jase2985
13746 posts

Uber Geek
+1 received by user: 6230

ID Verified
Lifetime subscriber

  #3108756 27-Jul-2023 13:09
Send private message

linux and windows 11 2h22 can apparently enable BBR


 
 
 
 

Shop now for Lego sets and other gifts (affiliate link).
fe31nz
1295 posts

Uber Geek
+1 received by user: 423


  #3108898 28-Jul-2023 00:09
Send private message

Jase2985:

 

linux and windows 11 2h22 can apparently enable BBR

 

 

I have been running BBR on my Ubuntu systems for several years.  I did not realise Windows 11 now could do it also - I will have to enable it there too.


concordnz
492 posts

Ultimate Geek
+1 received by user: 277

Trusted
EMT (R)

  #3109456 29-Jul-2023 07:42
Send private message

Lol, my large uploads/downloads often look exactly like that first graph, - I was puzzling as to what was causing to 'sawtoothing'

I'll have to read up on this BBR,
(can BBR be enabled on Windows 10?
And does it have to be enabled at both end?

BarTender
3629 posts

Uber Geek
+1 received by user: 2572

ID Verified
Trusted
Lifetime subscriber

  #3109461 29-Jul-2023 08:54
Send private message

Unless you can change the speed of light living in a TCP world there isn’t much that can be done. Sometimes using a VPN somewhere in between helps as then the client to VPN server is UDP and then the latency between the server and target host is less. Also some VPNs do clever TCP assembly and continue TCP requests.
As has already been said QUIC or a multithreaded protocol is the only solution and that depends on you having control over both ends.
It’s not going to fix general internet browsing or large single threaded downloads over TCP.

1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.