[YANGTOOLS-719] Regression on openflow REST performance test Created: 20/Nov/16  Updated: 10/Apr/22  Resolved: 22/Nov/16

Status: Resolved
Project: yangtools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Luis Gomez Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7210

 Description   

We have detected performance regression on the openflow REST config test:

https://jenkins.opendaylight.org/releng/view/openflowplugin/job/openflowplugin-csit-1node-config-performance-only-boron/plot/Flow%20Config%20Performance/

The regression is quite severe, from 200 flows/sec (single flow/POST transaction) to 4 flows/sec and it seems it is been introduced after this patch (master is also impacted):

https://git.opendaylight.org/gerrit/#/c/47980/

To reproduce:

  • Start controller with openflow feature: odl-openflowplugin-flow-services-ui
  • Start mininet linear: sudo mn --controller=remote,ip=192.168.0.1 --topo linear,15
  • Start perf test: python odl_tester.py --threads 5 --flows 20000 --timeout 10

odl_tester.py script is available in int/test repo: test/tools/odl-mdsal-clustering-tests/clustering-performance-test



 Comments   
Comment by Peter Kajsa [ 21/Nov/16 ]

I suggest to revert this patch until we will have fine-tuned solution.

Comment by Peter Kajsa [ 22/Nov/16 ]

Both commits (655c13c48277155b02706b75c88554c4a05ce673
and 3e4972b4e8edd7387666808014cd33daddef2cb5) have been reverted.
master: https://git.opendaylight.org/gerrit/#/c/48523/
stable/boron: https://git.opendaylight.org/gerrit/#/c/48528/

New solution is proposed here:
https://git.opendaylight.org/gerrit/#/c/48532/

@Luis please can you retest with this patch https://git.opendaylight.org/gerrit/#/c/48532/

Thanks.

Comment by Peter Kajsa [ 22/Nov/16 ]

Sry, I overlooked the conversation in mailing list. Thanks for retesting.

Result:
Patch seems to be OK (no impact on REST perf)

Comment by Peter Kajsa [ 22/Nov/16 ]

Bug closed since the performance regression is resolved.

Solution of YANGTOOLS-617 will be tracked here:
https://bugs.opendaylight.org/show_bug.cgi?id=5968

Generated at Wed Feb 07 20:54:06 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.