General list for discussing Bufferbloat
 help / color / mirror / Atom feed
* Re: [Bloat] Educate colleges on tcp vs udp
@ 2021-05-27  7:42 Hal Murray
  2021-05-27 12:15 ` Jonathan Morton
  2021-05-27 22:17 ` Kenneth Porter
  0 siblings, 2 replies; 14+ messages in thread
From: Hal Murray @ 2021-05-27  7:42 UTC (permalink / raw)
  To: bloat; +Cc: Hal Murray


Erik Auerswald said:
> But I'm afraid the "learn tcp" part works more as a refresher than an
> introduction.  Remember this is the first meeting with an ack for most of my
> co workers.  To get the proper understanding I think the basics must be more
> hammered into them.

My 2 cents.

I would back up.  You need to understand how networks work before discussing 
TCP or UDP.

The internet is not like a phone system.  There are no connections within the 
network and hence no reserved bandwidth and nothing like a busy signal to tell 
you that the network is full.  (There are host-host connections, but the 
network doesn't know anything about them.)  Packets are delivered on a 
best-efforts basis.  They may be dropped, delayed, mangled, or duplicated.

Links have a max size packet they will support.  (MTU)  If you want to send 
larger data, the sender needs to break it down into packets that will fit and 
the receiver needs to put things back together.

A key concept is the bottleneck link.  If all the links are the same speed and 
there is no competing traffic, then the rest of network can deliver whatever 
the sending host can send.

There are two ways to get a bottleneck.  One is to have the outgoing link of a 
router be slower than the incoming link.  The other is to have some other 
traffic using one of the links your traffic is trying to use.

If you send faster than the bottleneck can support, the buffers will fill up.  
If packets arrive when the buffers are full, some packet will get dropped.  
(not necessarily the new one)

For something like FTP, and additional potential bottleneck is the software on 
the remote host.  Can it write to disk as fast as you can send over the 
network?

TCP is for things like FTP and web browsing - transferring large chunks of 
data.  UDP is for simple things like NTP or DNS.  TCP is generally implemented 
in the kernel.  UDP retransmissions are generally implemented by user code.

The hard part of TCP is figuring out how much traffic the bottleneck link can 
handle and keeping track as it changes.


-- 
These are my opinions.  I hate spam.




^ permalink raw reply	[flat|nested] 14+ messages in thread
* [Bloat] Educate colleges  on tcp vs udp
@ 2021-05-21  6:01 Taraldsen Erik
  2021-05-23 10:23 ` Jonathan Morton
  2021-05-24 18:51 ` Erik Auerswald
  0 siblings, 2 replies; 14+ messages in thread
From: Taraldsen Erik @ 2021-05-21  6:01 UTC (permalink / raw)
  To: bloat

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

I'm getting some traction with my colleges in the Mobile department on measurements to to say something about user experience.  While they are coming around to the idea, they have major gaps in tcp/udp/ip understanding.  I don't have the skill or will to try and educate them.


Is there good education out there - preferably in the form of an video - which I can send to my co workers?  The part of tcp using ack's is pure magic to them.  They really struggle to grasp the concept.  With so basic lack of understanding it is hard to have a meaningful discussion about loss, latency an buffering.


I don't mean to talk them down to much, they are really good with the radio part of their job - but the transition into seeing tcp and radio together is very hard on them.


-Erik

[-- Attachment #2: Type: text/html, Size: 1247 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-05-27 22:17 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27  7:42 [Bloat] Educate colleges on tcp vs udp Hal Murray
2021-05-27 12:15 ` Jonathan Morton
2021-05-27 22:17 ` Kenneth Porter
  -- strict thread matches above, loose matches on Subject: below --
2021-05-21  6:01 Taraldsen Erik
2021-05-23 10:23 ` Jonathan Morton
2021-05-23 18:47   ` Erik Auerswald
2021-05-23 21:02     ` Jonathan Morton
2021-05-23 21:42       ` Erik Auerswald
2021-05-26 22:44     ` Mark Andrews
2021-05-27  3:11       ` Erik Auerswald
2021-05-24 18:51 ` Erik Auerswald
2021-05-25  6:38   ` Taraldsen Erik
2021-05-26 18:09     ` Dave Taht
2021-05-27  6:32       ` Taraldsen Erik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox