Analysis of TCP stream profiles with and without policing



Goal: to study the profile of a best-effort TCP stream in terms of inter-packet gap and burstiness without any policing and in presence of policing. This shows the impact of a policer on the overall stream profile.
  1. Equipment:

  2. Test description: Two different switch configurations are adopted: one basic configuration without any policing or other QoS functions enabled, and a second configuration with policing enabled.
    A single TCP stream is run, where the sender is host sunlab2 an the receiver is host sunlab3.

  3. Router configuration (when policing is enabled):
    police 30000000 1500000 1500000 conform-action set-prec-transmit 1 exceed-action drop
    

  4. Tolopology:
    the pools of end-systems are directly connected to the GigaEthernet interfaces of switch Cat65006 (testing does not involved additional devices and test traffic is just local). The structure of the topology is illustrated in the following figure:

  5. Parameters:

  6. Traffic profile

Summary:

  1. both with and without policing there's a shaping effect, possibly instroduced by the switch fabric, which modifies the inter-packet gap frequency distribution of packets at the source at transmission time and at the destination when they are received.
  2. policing has no significant shaping effect on a TCP stream; this seems to be contrary to our intuition.

Comments: