police 30000000 1500000 1500000 conform-action set-prec-transmit 1 exceed-action drop
iperf -c 131.154.100.3 -p 50000 -t 180 -l 16000 -w 64000 -N snoop -c 10000 -d ge0 -s 100 -t r > nomefile // relative time recorded snoop -c 10000 -d ge0 -s 100 -t d > nomefile // inter-packet gap recorded
iperf -s -p 50000 snoop -c 10000 -d ge0 -s 100 -t r > nomefile // relative time recorded snoop -c 10000 -d ge0 -s 100 -t d > nomefile // inter-packet gap recorded
Summary:
Comments:
We also have to be aware of the fact that in the case of no policing, the high TCP rate at the source and at the receiving hand can cause holes in packet logging due to the high transmission rate and possibly by CPU utilization.
The fact that policing has no impact on the single stream profile is confirmed by a test we run on a single UDP stream. A single constant bit rate stream was injected so that the CIR rate of a policer, enabled on the Cat6500 input interface, is not exceeded. The inter-packet gap at the source was monitored both at the source (before crossing the policer) and the destinatiion (after policing has been applied to the stream). The corresponding frequency distributions are plotted in Figure 2.b, as we can see the shape of the two curves correspond. The good correspondance of the two stream profiles confirms the correctness of our measurement methodology.
The router configuration used in this test was:
police 25476190 2000000 2000000 conform-action transmit exceed-action dropThe stream configuration at the source and destination was:
sun3 : iperf -c 131.154.100.4 -u -b 25m -t 3600 -p 50006 -i 10 & // 25.476190 Mbps is the overall rate generated - with IP and UDP // overhead included sun4 : iperf -s -p 50006 -u -i 10
^M

We have analyzed the profile of the TCP stream with policing in greater detail by plotting and comparing the inter-packet gap at transmission and reception and by analyzing the stream profile over time through the tool tcptrace.
Figure 3 shows how the profile varies over time. The red curve corresponds to the traffic profile at the source, while the blu one is the traffic profile as received by the destination. We can observe the following characteristics: