[OVSDB-396] hwvtep ucast mac consumption performance is low Created: 19/Jan/17  Updated: 30/Oct/17  Resolved: 19/May/17

Status: Resolved
Project: ovsdb
Component/s: Southbound.hw_vtep
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: suneel verma Assignee: suneel verma
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: 7599

 Description   

The devices are setup using l2gw connections.
Now as we inject local ucast macs in one device using vtep-ctl command, they are appearing in remote ucast mac table of the other table.

Initial n (say 1000) macs are getting into second device at some rate.
After that the rate at which they are getting added is getting reduced.

The top cpu spending thread in the profiler analysis in mdsal notification thread.

For each mac that is being added, since there are listeners on Node level, the whole Node object is denormalized with all the macs and the Node update notification is generated.

This is unnecessary computation of Node object.

It is getting worse as the no of macs getting increased.

Now There are two ways this can be avoided.
1) Do not put a listener at Node level ( There are few listeners on Node level , all those have to listen on some other attribute like Global row/ Manager table to figure out a node is connected ).

2). Do not place ucast ( remote/local) under topology:hwvtep:1/node
Put them in a different container say topology:hwvtep:macs/node



 Comments   
Comment by suneel verma [ 19/Jan/17 ]

We validated option 2 ( putting ucast in a seperate container )
that is alleviated the mdsal notification thread problem.

Comment by Vishal Thapar [ 23/Jan/17 ]

I believe you or Akash are working on a fix, right? Assigning to you to decide on ownership.

Comment by Anil Vishnoi [ 02/Feb/17 ]

Hi Suneelu,

Any update on this bug ?

Comment by suneel verma [ 03/Feb/17 ]

I will be raising the reviews this week.

Comment by suneel verma [ 06/Feb/17 ]

Raised the following patches
https://git.opendaylight.org/gerrit/#/c/51427/
https://git.opendaylight.org/gerrit/#/c/51426/

Comment by Anil Vishnoi [ 19/May/17 ]

https://git.opendaylight.org/gerrit/#/q/topic:bug/7599

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