-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HLD Port FEC BER #1829
base: master
Are you sure you want to change the base?
HLD Port FEC BER #1829
Conversation
When the port is down or flapping, or even postFEC error > 0, preFEC BER calculation does not make sense. After link flap or link down, when link is stably up, the preFEC BER calculation uses counters reset from 0 at link up. |
This comment was marked as duplicate.
This comment was marked as duplicate.
hit the wrong button and accidental closed the PR, reopen it. |
Agree, the measurement could be compromised if the link is not stable, like flapping occur, etc |
The feature only capture the realtime port FEC BER. Is it possible to capture any history port FEC BER issue so that we will be able to get some debug information when an issue only happens in a short period? |
doc/port_fec-ber/port_fec_ber.md
Outdated
- monotonically increasing | ||
- return not support if its not working for an interface | ||
- SAI_PORT_STAT_IF_IN_FEC_NOT_CORRECTABLE_FRAMES | ||
- monotonically increasing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after link status change the counter isn't reliable. After offline discussion with Microsoft it was decided to remove this requirement
The following code review PR is for the implementation of this HLD |
Review feedback , the following key points were mentions (1) can we add min , max, average BER response: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vincentpcng can you please link all the code PRs to the HLD?
I added the code PR(s) links before the meeting minute comments... Let me include it again here The following code review PR is for the implementation of this HLD |
|
||
Step 4 : assume statistical average error rate as 1e-8 per frame | ||
|
||
rs_average_frame_ber = 1e-8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@AndyRodan, @vincentpcng can you please provide the reference for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for 802.3 ck PMD's the minimal requirement in Clause 162 is as follows for "frame loss ratio" (FEC frame error rate):
"For the 100GBASE-CR1 PHY, in order to support the required frame loss ratio (see 1.4.275) of less than
6.2 × 10–10 for 64-octet frames with minimum interpacket gap, the PMD and the adjacent PMA are expected
to detect bits from a compliant input signal at a BER lower than 2.4 × 10−4 assuming errors are sufficiently
uncorrelated. "
For the 200GBASE-CR2 and 400GBASE-CR4 PHYs, in order to support the required frame loss ratio (see
1.4.275) of less than 6.2 × 10–11 for 64-octet frames with minimum interpacket gap, the PMD and the adjacent PMA are expected to detect bits from a compliant input signal at a BER lower than 2.4 × 10−4
assuming errors are sufficiently uncorrelated.
What I did
Add design proposal for Port FEC BER feature
Summary of Changes:
Enhance the collect and compute the FEC BER on each port.
Modify the port_rates.lua , portstat.py and netstat.py