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.

  Jarno

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to