Skip to content

Revert: swss: flush g_asicState after each event is done #570#1478

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
qiluo-msft:qiluo/revertflush
Nov 5, 2020
Merged

Revert: swss: flush g_asicState after each event is done #570#1478
qiluo-msft merged 1 commit intosonic-net:masterfrom
qiluo-msft:qiluo/revertflush

Conversation

@qiluo-msft
Copy link
Copy Markdown
Contributor

@qiluo-msft qiluo-msft commented Oct 23, 2020

What I did
Revert #570
We should only flush the orchagent/syncd communication channel when there is no active tasks in orchagent. This will not influence the end-to-end performance in long run but introduce SELECT_TIMEOUT (1 s) latency if there is remaining data left inside the orchagent/syncd communication channel after previous flush, which is not a big deal.

Fix sonic-net/sonic-buildimage#5570

Why I did it

How I verified it

Details if related

@theasianpianist
Copy link
Copy Markdown
Contributor

Fixes sonic-net/sonic-buildimage#5570

@lguohan
Copy link
Copy Markdown
Contributor

lguohan commented Oct 27, 2020

@qiluo-msft , please use fix/close/resolve key words that associate with an issue.

@qiluo-msft
Copy link
Copy Markdown
Contributor Author

Thanks @lguohan !

@qiluo-msft qiluo-msft merged commit b9084a7 into sonic-net:master Nov 5, 2020
@qiluo-msft qiluo-msft deleted the qiluo/revertflush branch November 5, 2020 05:29
daall pushed a commit to daall/sonic-swss that referenced this pull request Dec 7, 2020
sonic-net#1478)

**What I did**
Revert sonic-net#570
We should only `flush` the orchagent/syncd communication channel when there is no active tasks in orchagent. This will not influence the end-to-end performance in long run but introduce SELECT_TIMEOUT (1 s) latency if there is remaining data left inside the orchagent/syncd communication channel after previous `flush`, which is not a big deal.

Fix sonic-net/sonic-buildimage#5570
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
…1478)

Pass missed argument to function "appl_db_portchannel_status_get" in "intfutil" script to provide correct information in "Vlan" column of command "show int status" for LAG interfaces.

- What I did
Fixed status of LAG interfaces in Vlan column. LAG interfaces, configured as a Vlan member, should be seen as trunk interface.

- How I did it
Missed argument "self.combined_int_to_vlan_po_dict" passed to function "appl_db_portchannel_status_get"
in "intfutil" script.

- How to verify it
admin@sonic:~$ show int status | grep PortChannel0011

Signed-off-by: Maksym Belei <[email protected]>
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
sonic-net#1478)

**What I did**
Revert sonic-net#570
We should only `flush` the orchagent/syncd communication channel when there is no active tasks in orchagent. This will not influence the end-to-end performance in long run but introduce SELECT_TIMEOUT (1 s) latency if there is remaining data left inside the orchagent/syncd communication channel after previous `flush`, which is not a big deal.

Fix sonic-net/sonic-buildimage#5570
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

orchagent continuously prints out "set: setting attribute 0x10000004 status: SAI_STATUS_SUCCESS"

5 participants