[ovs-dev] [PATCH] bond: raise minimal bond distribution per interface

Ben Pfaff blp at nicira.com
Wed May 7 18:10:47 UTC 2014


On Tue, May 06, 2014 at 10:46:45PM -0700, Andy Zhou wrote:
> Raise the minimal per interface packet distribution from 7 to 24.
> 
> With 256 packet distributing to 3 interfaces, the expected packets per
> interface should be 256/3 = 85.3
> 
> Tested with 200 runs, the average number of packet per interface is
> 85.9. close to the expected number, standard deviation within the 200
> run is 24.4. Tested with 2x standard deviation with 10K test runs,
> got around 0.1% failure rate. 2.5x standard deviation passes 100K test
> runs without failure.
> 
> Using 2.5x for the unit test, 83.5 - 2.5 * 24.4, Round down to the
> whole number of 24.
> 
> Signed-off-by: Andy Zhou <azhou at nicira.com>

I think that whoever had test failures for this test previously (not
me) should probably test this before we push it.



More information about the dev mailing list