knowledge

Lecture 1

The Layered Architecture

A computer network lets programs on different machines exchange data.

Host (end system). A host is a machine that runs applications at the edge of the network, such as a laptop or a server.

Protocol. A protocol is a set of rules and exchanged messages.

The network is a stack of protocol layers.Each layer offers a service to the layer above and uses the service of the layer below.

A message goes down the sender's stack, across the medium, and up the receiver's stack.

The layers make the network flexible and modular:a laptop can move from WiFi to Ethernet with no change to its browser.

The internet stacks five layers.

Host AHost BApplicationApplicationcommunication between applicationsHTTP, FTP, DNS, emailTransportTransportend-host connectivityTCP, UDPNetworkNetworkinterconnection of all devicesIPv4, IPv6Data linkData linkhop-to-hop delivery to LAN neighborsEthernet, WiFiPhysicalPhysicalpoint-to-point transmission of bitsfiber, copper, air
Each layer's service sits above its arrow, its protocols or media below.

The Application Layer and DNS

All network applications and end-to-end security reside in the application layer.

People use names, but machines on the internet are identified by numeric IP addresses.

Domain Name System (DNS). DNS is a client-server application that translates names into IP addresses.DNS clients query servers to resolve a name into an address.DNS servers hold the name-to-address mappings and respond.

The internet needed such a system in the 1990s.For example, ssc.epfl.ch maps to 128.178.222.83, and smtp.sunrise.ch maps to 212.35.39.69.

A name has a structure: labels separated by dots.

Top-level domain. The top-level domain of a name is its last label.

NameTop-level domainKind
ssc.epfl.chchcountry code (two letters)
www.nzherald.co.nznzcountry code
goo.glglcountry code
www.newzealand.comcomcommerce
love.computerscomputersprivate domain of a bogus company

Example 1. Opening a web page.

A user types http://www.google.com into a browser on host 128.178.56.9.

  1. The client asks its DNS server, at 128.178.15.8:what is the IP address of www.google.com?
  2. The DNS server answers, to 128.178.56.9:www.google.com maps to 216.58.212.196.
  3. The client sends HTTP GET /index.html to 216.58.212.196.
  4. The web server answers, to 128.178.56.9:200 OK, then the HTML page.

The Transport Layer and Ports

With the layers below, the transport layer gives the application a virtual channel to send and receive data.

Socket. A socket is the software interface between an application and the transport layer.The application reads and writes its data through the socket.

The transport layer has two main protocols:the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP).

TCPUDP
Reliabilityreliable: retransmits lost dataunreliable: can lose a message
Orderdelivered in the order sentcan arrive out of order
Servicebyte stream: no message boundaries, TCP sends blocks of bytes at willmessage-oriented: boundaries preserved, each block sent as written to the socket

A third option, QUIC, runs over UDP and provides TCP-like reliability and TLS security in one protocol.

A host runs many network processes at the same time, so reaching the right host is not enough.

Port number. A port number uniquely identifies a process within a host.Every TCP or UDP header carries a source port and a destination port.

Some port numbers are reserved for servers:80 for HTTP, 443 for HTTPS and 53 for DNS.

Example 2. Ports in a DNS exchange.

Process pa on host A, with port 1267, sends a request to the DNS process pb on host B, with port 53.

HeaderFieldValue
IPsource address, destination addressA, B
IPprotocolUDP
UDPsource port, destination port1267, 53

Host B also uses port 1267, for a TCP process unrelated to pa.A port number names a process only within its own host.

Packet Switching and IP

Direct cables between every pair of devices do not scale:NN devices need N(N−1)/2N(N-1)/2 cables.Instead, nodes relay the data at the network layer, as a postal service relays mail.

Message relaying. In message relaying, a node forwards a message only after it has received the entire message.The first networks, such as Bitnet and SNA, relayed messages between mainframe computers over point-to-point cables.

Packet. A packet is a small unit of data that the network forwards.On the internet, a packet holds at most 1500 bytes.

Header. A packet's header holds the information needed to deliver it, such as the destination address.

Payload. A packet's payload is the data it carries.

Packet switching. In packet switching, the data is cut into packets, and the nodes forward each packet separately toward its destination.The internet uses packet switching.

Read a packet as a postcard:
it carries its own delivery address and travels on its own.

Router. A router is a network-layer system (or program) that forwards packets by rules based on their destination IP addresses.

Internet Protocol (IP). IP is the network-layer protocol of the internet.It delivers packets through a series of routers, by packet switching.

Best effort. A best-effort protocol makes no delivery guarantee.IP is best effort.Routers briefly store packets in buffers before forwarding them, and the packets of one message can follow different paths.So IP packets can be dropped, delayed or reordered.

Mail serverRouterRouterRouterRouterMail serverpackets 1, 3packet 2
One message from a mail server to another, as three packets through four routers.

IP Addresses and Subnets

Local area network (LAN). A LAN is a set of nearby devices that reach each other directly through one data link layer, such as one Ethernet or one WiFi network.

IP sees the internet as a collection of LANs joined by routers.

Interface. An interface is a device's attachment to one LAN, such as an Ethernet port or a WiFi card.A host typically has one interface, and a router has several.

IP address. An IP address is an interface's network-layer address.So a router has one IP address on each LAN it joins.Every IP header carries a source and a destination IP address.

  • IPv4. An IPv4 address has 32 bits, written in dotted decimal:four numbers from 0 to 255, each standing for 8 bits (e.g. EPFL's public address 128.178.156.23).
  • IPv6. An IPv6 address has 128 bits, written in hexadecimal:eight groups of four hex digits (0 to 9, a to f), each digit standing for 4 bits (e.g. EPFL's public address 2001:0620:0618:01a6:0a00:20ff:fe78:30f9).

IPv4 and IPv6 are incompatible.IPv6 is another protocol, not IPv4 with a larger address space.A device that runs only IPv6 cannot parse IPv4 packets, and vice versa.

Prefix. A prefix is a run of leading bits of an IP address.

Subnet. A subnet is a LAN whose devices all share one prefix.The remaining address bits form the host part.The host part tells the devices of the subnet apart.

Subnet mask. A subnet mask is a bit sequence, as long as the address, with a 1 at each position of the prefix and a 0 elsewhere.Its 1s are contiguous (not a mask: 255.0.255.0, whose 1s are not contiguous).

For an EPFL IPv4 LAN, the mask is 24 ones followed by 8 zeros.It has two notations.

  • Dotted decimal. The mask is 255.255.255.0, since 11111111 is 255 and 00000000 is 0.
  • Slash notation. The address is followed by the number of 1s, as in 128.178.71.34/24.
128178713411111111111111111111111100000000prefix: 24 bitshost: 8 bits
The address 128.178.71.34 (decimal) above its mask (binary).

The prefix length depends on the network.The IPv4 LANs of ETH Zurich (ETHZ) use 26-bit prefixes.EPFL's IPv6 LANs use 64-bit prefixes, the first four groups, as in 2001:620:618:1a6:0a00:20ff:fe78:30f9/64.IPv6 notation may drop a group's leading zeros, as this address does.

Example 3. The EPFL and ETHZ network.

Each LAN below has one prefix, shared by all its addresses.A label such as .221 gives the last number of an address.On 128.178.15.0/24, it stands for 128.178.15.221.

EPFL-Backbone128.178.100.0/24.3128.178.15.0/24.221.13.7stisun1128.178.84.0/24.1.130.133modem + PPP.12128.178.47.0/24.3.5SWITCH130.59.x.x129.132.35.0/26.1.2.12ETHZ-Backbone129.132.100.0/26.27Komsys129.132.66.0/26.46.1IC128.178.182.0/24.5.3.1INF119128.178.71.0/24.34.23.22.1128.178.79.0/24.9disun3.epfl.chLEMA128.178.29.0/24.64lrcmac4.epfl.ch
Each thick line is a LAN with one prefix. Each grid box is a router.

One router joins INF119 and IC, with 128.178.71.1 on INF119 and 128.178.182.5 on IC.

SWITCH (130.59.x.x) is the Swiss academic network that joins EPFL to ETHZ.It is a network, not a data-link switch.

Example 4. Which address can A take?

Is 10.10.3.33 or 10.10.2.44 a valid address for host A?

A?10.10.3.1Router 110.10.1.210.10.1.1Router 210.10.2.1B10.10.2.33
Three Ethernet LANs (dashed) joined by two routers. All masks are 255.255.255.0.

Each mask has 24 ones, so each prefix is the first three numbers.A shares a LAN with router 1, whose interface there is 10.10.3.1.So A's address must start with 10.10.3, and 10.10.3.33 is valid.The address 10.10.2.44 is not, because 10.10.2 is B's prefix.

The data link layer is also called the Medium Access Control (MAC) layer.It moves data from a node to a LAN neighbor, over a shared medium, wired or wireless.It also manages access to the physical link and multiplexes the link among the nodes.

Depending on the physical layer, the data link layer also offers error detection and correction, reliable delivery, collision avoidance and flow control.

MAC address. A MAC address is an interface's data-link-layer address.It has 48 bits, written as six hexadecimal bytes (e.g. 00:00:c0:3f:6c:a4).

A MAC address is comparable to a device's serial number.The manufacturer sets it, and its first 3 bytes name the manufacturer.It is unique, in principle.

Frame. A frame is the data link layer's unit of data:a MAC header followed by a payload.The sender writes the destination MAC address in the frame's header.That address travels in cleartext, even when the payload is encrypted.

On a shared medium, every node reads every frame.If a frame's destination MAC address matches a node's own, the node keeps the frame; otherwise it drops the frame.

shared medium (Ethernet cabling, WiFi radio channel)ABCRouter08:00:20:71:0d:d400:00:c0:3f:6c:a4
A sends a frame to the router over a shared medium.

When the physical links are too long or too many, switches relay frames, as routers relay packets.

Switch. A switch is a data-link-layer system (or program) that forwards frames by rules based on their destination MAC addresses.

Routers interconnect different LANs at the network layer.Switches interconnect devices of the same LAN at the data link layer.

Gateway (default gateway). The gateway of a LAN is its first-hop router.A host sends every packet destined outside its subnet to the gateway.A packet within the subnet crosses no router, only switches or the WiFi base station.

The Physical Layer and Capacity

The physical layer transforms bits into signals.

Transmitter (Tx)bitsEncoderReceiver (Rx)Decoderbitssignal on the channel
The physical layer turns bits into a signal, and back.

Signals are electromagnetic, or acoustic under water.The physical layer is technology-specific.Each Ethernet and each WiFi (IEEE 802.11) physical layer has its own maximum bit rate.

Bit rate. The bit rate is the number of bits transmitted per second.It is measured in b/s, with decimal prefixes:11 Mb/s =106= 10^6 b/s and 11 Gb/s =109= 10^9 b/s.

Bandwidth. The bandwidth of a channel is the width, in hertz, of the frequency range it can use for transmission.

Capacity. The capacity of a channel is its maximum achievable bit rate.The bandwidth limits the capacity.

Signal-to-noise ratio (SNR). The SNR is the power of the emitted signal over the power of the noise.

For a bandwidth BB in hertz and Gaussian noise, the Shannon-Hartley law gives the capacity:

C=Blog⁡2(1+SNR) b/s.C = B \log_2(1 + \mathrm{SNR}) \ \text{b/s}.

An ADSL line has B=1B = 1 MHz and an SNR of 45 dB.A value in decibels is 10log⁡1010 \log_{10} of the power ratio, so the SNR is 1045/10=104.5≈31 60010^{45/10} = 10^{4.5} \approx 31\,600.The capacity is then C≈106×log⁡2(31 600)≈15C \approx 10^6 \times \log_2(31\,600) \approx 15 Mb/s.

In networking practice, "bandwidth" often loosely means the bit rate.

Encapsulation and the Path of a Packet

Encapsulation. In encapsulation, TCP, IP and the data link layer each put a header in front of the unit from the layer above.The result is the payload of the layer below.

TCP segment. A TCP segment is the transport layer's unit of data:a TCP header followed by application data.

IP packet. An IP packet is the network layer's unit of data:an IP header followed by a TCP segment.

So a frame is a MAC header followed by an IP packet.

MAC frameMAC headersrc, dst MACIP packetIP headersrc, dst IPTCP segmentTCP headersrc, dst portapplication data
Each header carries the addresses its layer works with.

The word "packet" also names all three units, loosely.

A capture tool shows the headers of one frame from an EPFL host.The tool numbers this frame packet 4.The frame has 60 bytes and arrived at 19:03:32.40.

HeaderFieldValue
Ethernetdestination0:0:c:2:78:36, Cisco
Ethernetsource0:0:c0:b8:c2:8d, Western Digital
EthernetEthertype0800 (IP)
IPv4version4
IPv4header length20 bytes
IPv4type of service0x00: precedence 0,
normal delay, throughput and reliability
IPv4total length44 bytes
IPv4identification2948
IPv4flags0x0: may fragment, last fragment
IPv4fragment offset0 bytes
IPv4time to live64 seconds/hops
IPv4protocol6 (TCP)
IPv4checksumcec2
IPv4source128.178.156.7, lrcpc3.epfl.ch
IPv4destination129.132.2.72, ezinfo.ethz.ch
IPv4optionsnone
TCPsource port1268
TCPdestination port23 (TELNET)
TCPsequence number2591304273
TCPack number0
TCPdata offset24 bytes
TCPflags0x02

The IP packet's 44 bytes are a 20-byte IP header and a 24-byte TCP header.So the TCP segment carries no application data.

The IP header holds numeric addresses, not the names lrcpc3.epfl.ch and ezinfo.ethz.ch.Names travel only inside payloads, such as DNS queries.The capture tool added the names only for its display.

A web server on Ethernet LAN B sends a file to Eliane's phone on WiFi LAN A.The gateway has an interface on both LANs.

LAN B (Ethernet)Web serverSwitch1GatewayLAN A (WiFi)2Base stationEliane
Point 1 lies on LAN B, point 2 on LAN A.

The server calls send(s2, dataBlock) on its socket s2.TCP divides the data block into segments.Each segment travels in its own IP packet, and each packet in its own frame.Eliane's phone calls read(s1, dataBlock) on its socket s1.

Each device opens a frame only up to the highest layer it runs.The switch and the base station run only the MAC and physical layers.

ApplicationTransportNetworkEthernetPhysicalWeb serverEthernetPhysicalSwitchNetworkEthernetWiFiPhysicalPhysicalGatewayWiFiPhysicalBase stationApplicationTransportNetworkWiFiPhysicalElianedata blockTCP segmentIP packetframe
Ethernet and WiFi are MAC layers. Each unit sits under the layer that makes it.

Example 5. Which addresses does a frame carry?

The web server sends a packet to Eliane's phone.Which addresses does the frame carry at point 1, and at point 2?

1MAC headerWeb serversourceGatewaydestinationIP headerWeb serversourceElianedestination2MAC headerGatewaysourceElianedestinationIP headerWeb serversourceElianedestination
The frame's headers at point 1 (top) and point 2 (bottom).

The MAC layer is local, and the network layer is global.A frame's MAC addresses name the two ends of the current hop, so the gateway removes the incoming MAC header and writes a new one.At point 1, the MAC destination is the gateway's Ethernet interface; at point 2, the MAC source is its WiFi interface.On this path, the IP addresses stay the web server's and Eliane's.

IP addresses say where the packet is going; MAC addresses say who handles it next.

In the capture above, the destination IP address is at ETHZ, but the destination MAC address is the gateway's, a Cisco device.

Network Delays

Network delay and throughput are general quantities that span more than one layer.

Network delay. The network delay of a packet is the time it takes to get from its source to its destination.

A packet of LL bits crosses a link of bit rate bb and length dd.At each hop, it accumulates four delays.

  • Processing delay. The processing delay is the time to examine the packet's headers and decide where to forward it.
  • Queueing delay. The queueing delay is the time the packet waits in a queue until it is transmitted onto the outgoing link.
  • Transmission delay. The transmission delay is the time to push all the packet's bits onto the outgoing link, L/bL/b.
  • Propagation delay. The propagation delay is the time the head of the signal, or its tail, takes to cross the link.

Transmission depends on size and bit rate, never on distance; propagation depends on distance and medium, never on bit rate.

ABtimetimepropagation delay D
The same signal leaves A from t0t_0 to tnt_n and reaches B from s0s_0 to sns_n.

For a non-acoustic channel, the signal travels at the speed of light cc in the medium.So the propagation delay is

D=sn−tn=dc.D = s_n - t_n = \frac{d}{c}.

The speed of light is c=2.3×108c = 2.3 \times 10^8 m/s in copper and c=2×108c = 2 \times 10^8 m/s in glass optical fiber.For fiber, this gives a rule of thumb:

1 km2×108 m/s=5 μssoD≈5 μs per km.\frac{1 \ \text{km}}{2 \times 10^8 \ \text{m/s}} = 5 \ \mu\text{s} \quad\text{so}\quad D \approx 5 \ \mu\text{s per km}.

To the far side of the globe, about 20 000 km away, propagation takes about 100 ms one way and 200 ms for the round trip.

Store and forward. Under store and forward, a node forwards a packet only after its last bit has arrived and all bits of the previous packets have left.Routers store and forward packets, and switches frames.

A time-space diagram draws one vertical time axis per node.Time runs down.

Example 6. One store-and-forward router.

Host A sends a packet of LL bits to host B through a router R.The link from A to R has bit rate b1b_1 and propagation delay D1D_1.The link from R to B has bit rate b2b_2 and propagation delay D2D_2.Ignore processing and queueing.What is the end-to-end delay?

ARBpacketpacketdistance dL/b₁D₁L/b₂D₂end-to-end delay
Time runs down. No processing, no queueing.

R starts sending only once the last bit has arrived, at L/b1+D1L/b_1 + D_1.Then the packet needs L/b2+D2L/b_2 + D_2 more:

end-to-end delay=Lb1+D1+Lb2+D2.\text{end-to-end delay} = \frac{L}{b_1} + D_1 + \frac{L}{b_2} + D_2.

Example 7. Why packet switching beats message relaying.

A message of n=4n = 4 equal packets of LL bits crosses h=2h = 2 links from A to B, through router R.Both links have bit rate bb and propagation delay DD.Each packet takes L/b=1L/b = 1 ms to transmit, and each link adds D=0.5D = 0.5 ms.Ignore processing and queueing.

Message relayingARBmessagemessagePacket switchingARB112233449 ms6 ms
Message relayingARBmessagemessagePacket switchingARB112233449 ms6 ms
Both panels share one time scale, with time running down.

Message relaying sends the whole message over each hop in turn:

h(nLb+D)=2×(4+0.5)=9 ms.h\left(\frac{nL}{b} + D\right) = 2 \times (4 + 0.5) = 9 \ \text{ms}.

With packet switching, R forwards packet 1 while packets 2 to 4 still arrive.The last packet leaves A after nL/bnL/b.It then needs one more transmission per further hop, plus one propagation per link:

(n+h−1)Lb+hD=5×1+2×0.5=6 ms.(n + h - 1)\frac{L}{b} + hD = 5 \times 1 + 2 \times 0.5 = 6 \ \text{ms}.
QuantityEffectReason
end-to-end delayshorterthe links transmit in parallel
router bufferssmallera router stores packets, not whole messages
bit error ratesamethe links are unchanged
corruption risk per unitsmallera packet is shorter than a message
link capacitysameonly the physical layer sets it

Example 8. Sending one 1 kB packet over one link.

A 1 kB packet holds about 8000 bits.It crosses one link, with no processing and no queueing.The data center, fiber and LoRa links use the 5 µs/km rule of thumb, and the satellite link uses c=3×108c = 3 \times 10^8 m/s.The dominant delay is in bold.

Data centerFiber to the homeIoT sensor (LoRa)LEO satellite (Starlink)
Distance100 m50 km2 km1400 km
Bit rate100 Gb/s1 Gb/s5 kb/s100 Mb/s
Propagation delay0.5 µs250 µs10 µs4.7 ms
Transmission delay0.08 µs8 µs1.6 s80 µs
Total0.58 µs258 µs≈ 1.6 s4.78 ms

For the fiber-to-the-home link:

D=50×5 μs=250 μs,Lb=8000109 s=8 μs.D = 50 \times 5 \ \mu\text{s} = 250 \ \mu\text{s}, \qquad \frac{L}{b} = \frac{8000}{10^9} \ \text{s} = 8 \ \mu\text{s}.

For the LoRa sensor, L/b=8000/5000=1.6L/b = 8000 / 5000 = 1.6 s dwarfs D=2×5=10D = 2 \times 5 = 10 µs.For the low-Earth-orbit satellite, D=1.4×106/(3×108)≈4.7D = 1.4 \times 10^6 / (3 \times 10^8) \approx 4.7 ms.Propagation dominates three links, and transmission dominates LoRa.So speeding up a link starts with finding its bottleneck.

Throughput and Stop & Go

Throughput. Throughput is the number of useful data bits delivered at the destination per unit of time:

throughput=useful data bits at destinationtime.\text{throughput} = \frac{\text{useful data bits at destination}}{\text{time}}.

Throughput has the units of a bit rate: b/s, kb/s, Mb/s.

Example 9. A pigeon against an ADSL line.

In South Africa, a bandwidth shortage makes internet access slow, and access is also expensive.

In 2009, an 11-month-old pigeon named Winston carried a data card 80 km (50 miles), from Pietermaritzburg to Durban.The flight took 1 h 8 min, and the transfer, including the download, took 2 h 6 min 57 s.In that time, a Telkom ADSL line transferred only 4% of the data.The pigeon has a huge delay, but its throughput beats the line's.

Even over a single link, throughput stays below the bit rate, because of protocol overhead and waiting times.

Protocol overhead. Protocol overhead is the extra bytes, such as headers, that protocols use to exchange metadata.

Waiting time. A waiting time is an interval in which a host must wait for a response from the other end before it transmits.

Acknowledgement (ACK). An ACK is a short packet that the receiver returns to confirm that a packet arrived.

Stop & Go. Stop & Go is a simple protocol that repairs packet losses by keeping at most one packet unacknowledged.

Sender A sends a packet to receiver B, and B immediately returns an ACK.A waits for the ACK before it sends a new packet.If no ACK arrives within a time T1T_1, A times out and retransmits the packet.

A (sender)B (receiver)packet 1ACK 1packet 2packet 2 againACK 2packet 3ACK 3packet 4ACK 4timeout T₁
Packet 2 is lost. A times out and sends it again.

Assume no loss and one packet per cycle.The packet has LL bits, and the ACK has L′L' bits.The link has bit rate bb and propagation delay DD.

A (sender)B (receiver)packetACKT = L/b2DT' = L'/bone cycle
One Stop & Go cycle, with no loss. Time runs down.

A cycle lasts T+2D+T′T + 2D + T', with T=L/bT = L/b and T′=L′/bT' = L'/b.It delivers LL useful bits, so

throughput=LT+2D+T′=b1+L′L+2DbL.\text{throughput} = \frac{L}{T + 2D + T'} = \frac{b}{1 + \dfrac{L'}{L} + \dfrac{2Db}{L}}.

The term L′/LL'/L is the overhead of the ACK.

Bandwidth-delay product. The bandwidth-delay product is 2Db2Db:the bits a sender transmits in one round-trip propagation time 2D2D.If the sender transmits without pause, these bits are transmitted but not yet acknowledged.Its name says "bandwidth", but it means the bit rate bb.Divided by the packet size LL, it counts packets.

Efficiency. Efficiency is throughput as a fraction of the bit rate:

throughputb=11+L′L+2DbL.\frac{\text{throughput}}{b} = \frac{1}{1 + \dfrac{L'}{L} + \dfrac{2Db}{L}}.

When the bandwidth-delay product dwarfs the packet, a Stop & Go sender spends almost the whole cycle waiting.

Example 10. Stop & Go on the four links.

Run Stop & Go on the links of Example 8, with 1 kB packets (L=8000L = 8000 bits) and negligible ACKs (L′≈0L' \approx 0).

Data centerFiber to the homeIoT sensor (LoRa)LEO satellite (Starlink)
2Db2Db100 kb500 kb0.1 b940 kb
2Db/L2Db/L12.562.5≈ 0117.5
Throughput7.4 Gb/s15.7 Mb/s4.8 kb/s844 kb/s
Efficiency7.4%1.6%96%0.84%

For the fiber-to-the-home link, 2Db=2×250 μs×1092Db = 2 \times 250 \ \mu\text{s} \times 10^9 b/s =500= 500 kb, so

2DbL=500 0008000=62.5  ⟹  throughput=1091+62.5≈15.7 Mb/s  ⟹  efficiency=163.5≈1.6%.\begin{aligned} \frac{2Db}{L} &= \frac{500\,000}{8000} = 62.5 \\ \implies \text{throughput} &= \frac{10^9}{1 + 62.5} \approx 15.7 \ \text{Mb/s} \\ \implies \text{efficiency} &= \frac{1}{63.5} \approx 1.6\%. \end{aligned}

Only LoRa is efficient, because its 2Db2Db of 0.1 b is negligible next to its 8000-bit packet.So its sender almost never waits.

With L′=0L' = 0 exactly, the formula gives LoRa 5 kb/s, or 100%.So the table's 4.8 kb/s and 96% do not follow from L′≈0L' \approx 0 alone.

TCP beats Stop & Go with a mechanism called the sliding window.