Skip to content

Performance Regression in Orchagent due to https://github.com/sonic-net/sonic-swss/pull/3910/changes #27098

Description

@venkit-nexthop

The change brought in via PR https://github.com/sonic-net/sonic-swss/pull/3910/changes removes the loop around table->pops(entries)
This lead to a significant performance regression in route download speed when Northbound ZMQ is enabled.

On 202511 based image

After the above PR

  Scale                AF     Routes     Time        Speed    Threshold        CRM   Result
  -----------------------------------------------------------------------------------------------
  500k_32          ipv4  500,000   72.35s       6,341       5,000    500,000     PASS
  500k_26           ipv4  500,000   68.21s       5,965       5,000    500,000     PASS
  250k_128          ipv6  250,000   41.50s       6,314       5,000    250,000     PASS
  250k_96           ipv6  250,000   38.90s       6,314       5,000    250,000     PASS

With the above PR reverted

Scale        AF     Routes    Time   Speed  Threshold      CRM  Result
-----------  ----  -------  ------  ------  ---------  -------  ------
500k/32 ipv4  500,000  31.39s  15,927      5,000  500,005    PASS
500k/26   ipv4  500,000  32.40s  15,434      5,000  500,005   PASS
250k/128  ipv6  250,000  30.30s   8,250      5,000  250,007    PASS
250k/96   ipv6  250,000  35.02s   7,138      5,000  250,007    PASS

Metadata

Metadata

Labels

Triagedthis issue has been triaged

Type

No type

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions