Skip to content

Disable the feature that decreases link probe interval for measuring switch overhead #49#54

Merged
zjswhhh merged 2 commits intosonic-net:202012from
zjswhhh:202012
Apr 1, 2022
Merged

Disable the feature that decreases link probe interval for measuring switch overhead #49#54
zjswhhh merged 2 commits intosonic-net:202012from
zjswhhh:202012

Conversation

@zjswhhh
Copy link
Copy Markdown
Collaborator

@zjswhhh zjswhhh commented Apr 1, 2022

Description of PR

Can't cleanly cherry pick the commit from master branch:
34a68d1 disable switchover measuring based on link prober (#49)

Summary:
Fixes # (issue)

Disable part of the feature introduced in #43.

The link probing interval will NOT be decreased by default. Link prober state change events will still be posted in LINK_PROBE_STATS|PORTNAME in state db.

sign-off: Jing Zhang zhangjing@microsoft.com

Type of change

  • Bug fix
  • New feature
  • Doc/Design
  • Unit test

Approach

What is the motivation for this PR?

We need to reconsider the design of this feature.

To be more specific, this is a special case of decreasing probing interval, it's for measurement purposes only. We still want to trigger the toggle in 300ms when pack loss happens. The negative count should be 30 instead of 3 when interval is decreased to 10ms.

How did you do it?

How did you verify/test it?

Any platform specific information?

Documentation

@zjswhhh zjswhhh requested review from lolyu, vdahiya12 and yxieca April 1, 2022 01:48
Copy link
Copy Markdown
Contributor

@yxieca yxieca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not really what asked but it gets the feature disabled for now.

@zjswhhh zjswhhh merged commit c72fa2a into sonic-net:202012 Apr 1, 2022
zjswhhh added a commit to zjswhhh/sonic-linkmgrd that referenced this pull request Apr 15, 2022
…switch overhead sonic-net#49 (sonic-net#54)

### Description of PR
Can't cleanly cherry pick the commit from master branch: 
34a68d1 disable switchover measuring based on link prober (sonic-net#49)

Summary:
Fixes # (issue)

Disable part of the feature introduced in sonic-net#43. 

The link probing interval will NOT be decreased by default. Link prober state change events will still be posted in `LINK_PROBE_STATS|PORTNAME` in state db. 

sign-off: Jing Zhang zhangjing@microsoft.com

### Type of change
- [x] New feature

### Approach
#### What is the motivation for this PR?
We need to reconsider the design of this feature. 

To be more specific, this is a special case of decreasing probing interval, it's for measurement purposes only. We still want to trigger the toggle in 300ms when pack loss happens. The negative count should be 30 instead of 3 when interval is decreased to 10ms.
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.

2 participants