Pläne für Netzwerkmessungen für das TCP
5.1 DIAGNOSE AUF BENUTZEREBENE
Wir denken an ein Programm, das ein gegebenes TCP ausreizt und es eine Reihe von Zuständen durchlaufen lässt: Öffnen, Schließen und Übertragen auf einer Vielzahl von Verbindungen. Dieses Programm sammelt Statistiken und versucht allgemein, Abweichungen von den funktionalen TCP-Spezifikationen zu erkennen. Natürlich muss es eine Kopie dieses Programms sowohl am getesteten lokalen Standort als auch an einem Standort mit einem zertifizierten TCP geben. Wir müssen also auch für dieses Diagnoseprogramm auf Benutzerebene eine Spezifikation erstellen.
Das Ganze benötigt eine Master- und eine Slave-Seite, damit der Master dem Slave mitteilen kann, was beim Test schiefläuft.
5.2 MESSUNGEN AN EINZELNEN VERBINDUNGEN
Round trip delay times
Time from moment the packet is sent by the TCP to the time that
the ACK is received by the TCP.
Time from the moment the USER issues the SEND to the time that the
USER gets the successful return code.
Note: packet size should be used to distinguish from one set of
round trip times and another.
Network destination, and current configuration and traffic load
may also be issues of importance that must be taken into
account.
What if the destination TCP decides to queue up ACKs and send a
single ACK after a while? How does this affect round trip
statistics?
What about out of order arrivals and the bunched ACK for all of
them?
The histogram of round trip times include retransmission times
and these must be taken into account in the analysis and
evaluation of the collected data.
Packet size statistics
Histogram of packet length in both directions on the full duplex
connection.
Histogram of letter size in both directions.
Measure of disorderly arrival
Distance from the first octet of arriving packet to the left
window edge. A histogram of this measure gives an idea of the out
of order nature of packet arrivals. It will be 0 for packets
arriving in order.
Retransmission Histogram
Effective throughput
This is the effective rate at which the left edge of the window
advances. The time interval over which the measure is made is a
parameter of the measurement experiment. The shorter the interval,
the more bursty we would expect the measure to be.
It is possible to measure effective data throughput in both
directions from one TCP by observing the rate at which the left
window edge is moving on ACK sent and received for the two
windows.
Since throughput is largely dependent upon buffer allocation and
window size, we must record these values also. Varying window for
a fixed file transmission might be a good way to discover the
sensitivity of throughput to window size.
Output measurement
The throughput measurement is for data only, but includes
retransmission. The output rate should include all octets
transmitted and will give a measure of retransmission overhead.
Output rate also includes packet format overhead octets as well as
data.
Utilization
The effective throughput divided by the output rate gives a
measure of utilization of the communication connection.
Window and buffer allocation measurements
Histogram of letters outstanding, measured at the instant of SEND
receipt by TCP from user or at instant of arrival of a letter for
a receiving user.
Buffers in use on the SEND side upon packet departure into the
net; buffers in use on the RECEIVE side upon delivery of packet
into a USER Buffer.
5.3 MESSUNGEN ÜBER MEHRERE VERBINDUNGEN
Statistics on User Commands sent to the local TCP
Statistics of error or success codes returned [histogram of each type
of error or return response]
Statistics of control bit use
Counter for each control bit over all packets emitted by the TCP
and another for packets accepted
Count data carrying packets
Count ACK packets with no data
Error packets distribution by error type code received from the net
and sent out into the net
5.4 PHILOSOPHIE DER MESSUMSETZUNG
Wir betrachten den Messprozess als etwas, das innerhalb des TCP abläuft, aber von außen steuerbar ist. Ein wohlbekannter, dem TCP gehörender Socket kann dazu dienen, Steuerbefehle anzunehmen, die eine oder mehrere zu erfassende Messklassen auswählen. Die Daten würden periodisch an einen bezeichneten entfernten Socket gesendet, der sie zur späteren Verarbeitung aufnimmt, in der Weise, wie es derzeit bei den ARPANET-IMPs üblich ist. Jede Messklasse hat ihr eigenes Datenpaketformat, um das Parsen und Analysieren der Daten zu erleichtern.
Den Zugriff auf die TCP-Messsteuerung würden wir auf einige bezeichnete Standorte beschränken [z. B. NMC, SU-DSL, BBN]. Das lässt sich leicht erreichen, indem lauschende Steuerverbindungen auf teilweise bestimmten entfernten Sockets eingerichtet werden.