Visual RFC.
ALL RFCs / RFC 5905
Read the RFC ↗
RFC 5905 / MEASURING THE NETWORK

Four timestamps

03

Two local timestamps and two remote timestamps let a client separate server processing time from network travel.

RFC 5905 · § 8EXAMPLE
3 / 3
03
Record client arrival.

The client measures T4 locally and now has the four timestamps needed for calculation.

Four timestampsTwo illustrated clocks keep their own timelines. The request carries T1 to the server at T2; after processing it returns T1, T2 and T3, and the client measures T4 locally.Two clocks. One round trip.Each timestamp belongs to the clock beside itClient clockServer clocktimeT1request →T2processing timeT3← reply: T1, T2, T3T4The client records arrival on its own clock

Key idea: Record each boundary with the correct clock.

Terms

Look up a term in the glossary ↗

Rules & examples
  • T1 and T4 are measured by the client; T2 and T3 by the server.
  • The reply returns the original request timestamp along with the server receive and transmit timestamps.
  • The destination timestamp is captured locally on receipt, rather than being trusted from the server.

The two lifelines show the client and server clocks; T1 through T4 mark send and receive events. Timestamp placement near packet transmission and reception reduces avoidable measurement error.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

Two clocks may disagree.

A device compares timestamps with another clock. Network delay makes that comparison imperfect. The drawing separates the clock reading from the trip the message takes.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 5905

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗