You could tell whether it was just a delay by polling again a few
seconds after the transfer is complete.

On Wed, Jun 25, 2014 at 05:02:20PM -0300, Pedro Henrique wrote:
> Yes, they pass through the same switches. This is a sample of a polling and
> as you can see the traffic is different from each other. The switch S1
> should have the amount of traffic passed through it equal or bigger than
> S2, S3 , S4 or S5, since it is the first switch. Maybe the problem is due
> to the delay of sending a statistic request and wait for a statistic reply
> since the ovs switches are update once a second, if I'm right.
> The traffic below is in Mbps and the delay of each link is 25ms. This is
> the total traffic passed through a switch on a specific flow and collected
> on a specific time (each second).
> Time                     S1            S2        S3            S4     S5
> 
> 10:57:2:537;640.98;945.17;1010.35;32.59;32.59
> 10:57:3:672;1694.78;2009.84;2053.3;2096.75;2151.07
> 10:57:4:805;2183.66;2498.72;2520.45;2553.04;2574.77
> 10:57:5:932;2585.63;2889.82;2922.42;2955.01;2998.46
> 10:57:7:61;2900.69;3215.74;3226.61;3248.34;3270.06
> 10:57:8:198;3378.7;3693.76;3758.94;3845.86;3932.77
> 10:57:9:327;4465.1;4769.3;4834.48;4910.53;5008.3
> 
> 
> 
> 2014-06-25 13:22 GMT-03:00 Ben Pfaff <b...@nicira.com>:
> 
> > On Wed, Jun 25, 2014 at 01:12:33PM -0300, Pedro Henrique wrote:
> > > I'm using an openflow controller to poll the ovs each second, from this
> > I'm
> > > getting the flows passing through the switch ans other relevant
> > information.
> > >
> > > I made a topology similiar to this.
> > >
> > > Host1 --- OVS1 ---- OVS2 ---- OVS3 ---- OVS4 --- OVS5  --- Host2
> > >
> > > I'm generating traffic from Host1 to Host 2 using iperf and all hosts and
> > > switches are generated by Mininet.
> > >
> > > I'm polling all the switches on the same time and I noticed that OVS1
> > > doesn't have more traffic passing through it than the OVS5  or any other
> > > switches. This seems strange, since I'm polling the switch from the
> > > beginning of the flow, so the traffic from OVS1 should be bigger than
> > OVS2
> > > and OVS2 traffic > OVS3 traffic > OVS4 traffic > OVS5 traffic. But this
> > > doesn't happen.
> >
> > I don't understand why there should be more traffic on OVS1 than other
> > switches.  All of the traffic from Host1 to Host2 passes through all
> > of the switches, right?  So I'd expect each switch to report the same
> > amount of traffic.
> >
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to