Aller au contenu principal

Plans de mesure réseau pour le TCP

5.1 DIAGNOSTICS AU NIVEAU UTILISATEUR​

Nous avons en tête un programme qui sollicitera un TCP donné en lui faisant parcourir un certain nombre d'états : ouverture, fermeture et transmission sur diverses connexions. Ce programme recueillera des statistiques et tentera de façon générale de détecter les écarts par rapport aux spécifications fonctionnelles du TCP. Il faudra clairement disposer d'une copie de ce programme à la fois sur le site local testé et sur un site disposant d'un TCP certifié. Il nous faudra donc aussi produire une spécification de ce programme de diagnostic de niveau utilisateur.

Tout cela nécessite un côté maître et un côté esclave, afin que le maître puisse indiquer à l'esclave ce qui ne va pas dans le test.

5.2 MESURES SUR UNE SEULE CONNEXION​

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 MESURES SUR PLUSIEURS CONNEXIONS​

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 D'IMPLÉMENTATION DES MESURES​

Nous considérons le processus de mesure comme un mécanisme interne au TCP mais pilotable de l'extérieur. Un socket bien connu appartenant au TCP peut servir à accepter des commandes qui sélectionneront une ou plusieurs classes de mesures à collecter. Les données seraient envoyées périodiquement à un socket distant désigné, qui les absorberait pour un traitement ultérieur, à la manière actuellement employée dans les IMP de l'ARPANET. Chaque classe de mesures a son propre format de paquet de données, afin de faciliter l'analyse syntaxique et l'exploitation des données.

Nous restreindrions l'accès au contrôle des mesures du TCP à quelques sites désignés [par exemple NMC, SU-DSL, BBN]. Cela se fait aisément en mettant en place des connexions de contrôle en écoute sur des sockets distants partiellement spécifiés.