> -----Original Message-----
> From: Amber, Kumar <kumar.am...@intel.com>
> Sent: Friday 1 April 2022 12:24
> To: ovs-dev@openvswitch.org
> Cc: Stokes, Ian <ian.sto...@intel.com>; echau...@redhat.com; Ferriter, Cian 
> <cian.ferri...@intel.com>;
> f...@sysclose.org; Van Haaren, Harry <harry.van.haa...@intel.com>; Amber, 
> Kumar <kumar.am...@intel.com>
> Subject: [PATCH v8 4/4] tests/mfex: Improve pcap script for mfex tests.
> 
> The mfex pcap generation script is improved for varied length
> traffic and also removes the hard coded mfex_pcap and instead uses
> the script itself to generate complex traffic patterns for testing.
> 
> Signed-off-by: Kumar Amber <kumar.am...@intel.com>
> 
> ---
> v8:
> - Reduce IO writes.
> --
> ---

Thanks for improving the mfex_fuzzy.py execution time Amber.

I can confirm that it speeds up the unit test execution time.
All tests are still passing:
  6: OVS-DPDK - MFEX Autovalidator                   ok
  7: OVS-DPDK - MFEX Autovalidator Fuzzy             ok
  8: OVS-DPDK - MFEX Configuration                   ok

I'll use the same timing method as last time:
Before patch:
~/ovs# time make check-dpdk TESTSUITEFLAGS='-k MFEX -d'

<snip>

real    0m43.936s
user    0m26.577s
sys     0m0.881s

43 seconds

After patch:
~/ovs# time make check-dpdk TESTSUITEFLAGS='-k MFEX -d'
real    1m3.049s
user    0m45.487s
sys     0m1.297s

1 minute and 3 seconds

I think the time increase is acceptable since we are getting rid of a binary 
PCAP file in the process.

Acked-by: Cian Ferriter <cian.ferri...@intel.com>


_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to