Add the rest of university notes

This commit is contained in:
John Gatward committed 2026-10-04 14:02:35 +01:00
1 parent c1b84c7f7d
commit d0f27f276b
366 files changed
+9844 -110

No files matched your search

+4 -4
View File
@@ -14,7 +14,7 @@ Simplest possible paradigm
- Wait for `ack(x)`
- Transmit `seq(x+1)`
![img](/lectures/acn/img/a.jpeg)
![img](img/a.jpeg)
This has really poor performance in high latency and uses high bandwidth (half the bandwidth is overhead (acknowledgements))
@@ -88,12 +88,12 @@ RTT - round trip times
- When the first `RTT` measurement is taken the sender sets the smoothed `RTT` (`SRTT`), `RTT` variance (`RTTVAR`) and `TIMEOUT` in the following way
- `SRTT = RTT`
- `RTTVAR = RTT/2`
- `TIMEOUT = `$\Mu\cdot$`SRTT + 4*RTTVAR`
- Where $\Mu$ is a constant, which in this implementation is 1.08 (obtained experimentally)
- `TIMEOUT = `$\mu\cdot$`SRTT + 4*RTTVAR`
- Where $\mu$ is a constant, which in this implementation is 1.08 (obtained experimentally)
- When subsequent `RTT` measurements are made the sender sets the `RTTVAR`, `SRTT`, TIMEOUT
- `RTTVAR`$= (1 - \frac{1}{4}) \times$`RTTVAR`$+ \frac14 \times |$`SRTT`$-$`RTT`$|$
- `SRTT`$= (-\frac18)\times$`SRTT`$+\frac18\times$`RTT`
- `TIMEOUT`$= \Mu\times$`SRTT`$+ 4\times$`RTTVAR`
- `TIMEOUT`$= \mu\times$`SRTT`$+ 4\times$`RTTVAR`
###### Packet loss rate calculation