On Thu, Nov 06, 2014 at 11:34:41AM -0800, Jarno Rajahalme wrote:
> 
> On Nov 6, 2014, at 10:50 AM, Jarno Rajahalme <jrajaha...@nicira.com> wrote:
> 
> >> +for i in `seq 1 50000`; do echo "reg0=$i/$i actions=drop"; done > flows
> 
> Running this test case alone with ‘time’ added to the preceding line:
> 
> real  1m12.531s
> user  0m2.492s
> sys   0m6.928s
> 
> >> +AT_CHECK([ovs-ofctl diff-flows flows flows])
> 
> And ‘time’ing this:
> 
> real  0m8.875s
> user  0m3.900s
> sys   0m4.952s
> 
> Running the same ovs-ofctl command on a shell:
> 
> real  0m3.041s
> user  0m2.520s
> sys   0m0.512s
> 
> >> +AT_CLEANUP
> >> +
> > 
> > Just a note: This test is pretty slow on my VM, I’ll look if we can
> > make this run faster.
> 
> I wonder what makes the shell loop so slow on my VM? Any ideas?
> 
> As it is, this new tests keeps running for ages after all the other
> tests have already finished.

I don't know why it would be so slow.  It takes about 5 seconds on my
Linux host, which is a 2.9 GHz Core i7 laptop.

We can always omit the test.  At first I thought I'd just include it in
the commit message, but then I realized that it was easy enough to make
it a real test.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to