Notes

The shorter
notebook.

Observations from the lab, the terminal, and the parts of the network nobody drew. Less polished than the essays, and usually more useful.

#

The ten-second rule

Match the alert window to the failure, not to your patience.

A hard down deserves a short window. A flaky percentage deserves a longer one. The mistake is using the same for: clause for both.

For a host or a port that should always be up, two failed checks ten seconds apart is usually enough. For CPU, memory, or error rates, wait a few minutes; otherwise every backup, package build, or apt run becomes a page.

The useful question is not “how fast can we alert?” It is “how long should this condition persist before a human should stop what they are doing?” Write the answer down next to the rule. If nobody can explain the window, the alert is probably noise.

#

Keep a packet diary

One line per anomaly beats a folder of untitled captures.

A capture without context is a puzzle with half the pieces missing. Keep a plain-text diary next to the captures:

2026-10-18 14:32 UTC  client 10.0.4.12 -> 203.0.113.10:443
symptom: 2-4 s stall after TLS handshake, only on upload
capture: cap-20261018-1432.pcap (both ends)
change: new MTU on the uplink at 13:50

The last line is the one that solves the ticket. The capture tells you what happened; the diary tells you what changed. Six months later, the diary is still searchable. The pcap is probably gone.

#

MTU is a budget

Every encapsulation takes a cut, and path MTU discovery is not always invited.

An Ethernet MTU of 1500 bytes is not a law of nature. It is a starting budget. Encapsulation subtracts from it: GRE, VXLAN, PPPoE, and various middleboxes all take their share.

When the path MTU shrinks and ICMP “fragmentation needed” is filtered, you get the classic black hole: small packets work, large ones vanish, and the application retries until it times out. The fix is usually MSS clamping on the encapsulated link, not lowering the MTU everywhere.

Test the path before you blame the application:

ping -M do -s 1472 -c 3 203.0.113.10

1472 bytes of payload plus 28 bytes of IP and ICMP headers is 1500. If that fails and 1400 works, you have found your budget.

#

A case for 100 Mbit

Most work is not bandwidth-bound. It is queue-bound.

A 100 Mbit link with a short queue often feels better than a 1 Gbit link with a deep one. The faster link can still buffer a second of traffic; the slower link forces the queue to stay honest.

This is not an argument against fast links. It is an argument for measuring the thing users feel. If your p99 latency is bad, adding bandwidth may just make the queue deeper. Fix the queue, then add bandwidth if you still need it.

A useful experiment: cap a lab link at 100 Mbit with tc, run a realistic burst, and compare p99 with the uncapped link. The result is usually more interesting than the benchmark score.

#

Name your interfaces

A label is cheaper than a diagram nobody updates.

eth0, eth1, and eno1 are not names. They are positions on a motherboard. Six months later, nobody remembers which one goes to the uplink and which one goes to the lab switch.

Use predictable names where the OS supports them, and put a physical label on both ends of every cable. Keep a one-page diagram with addresses, VLANs, and the provider handoff. It does not need to be pretty; it needs to be current.

The test is simple: can someone who is not you trace a packet from the wall to the service using only the labels and the diagram? If not, the next outage will include a guessing game.

#

Negative results are results

Write down the experiment that did not work. Future you is a different person.

Most lab notebooks record the thing that finally worked. That is the least useful entry. The useful entry is the one that says: we tried X, it made p99 worse, here is the graph, do not do it again.

Negative results save time precisely because they are not searchable on the internet. Nobody writes a blog post about the tuning knob that did nothing on their hardware. Your notes are the only record.

Keep the command, the load shape, the before and after, and one sentence of interpretation. If the result is “no measurable difference”, write that too. It is a real answer, and it is cheaper than repeating the experiment next quarter.