INSIGHTS

BER Optimization

BER Optimization

Why is standard IEEE Link Training not enough for optimal Bit Error Rate (BER)?

The Link Training (LT) algorithm will get you a good Bit Error Rate (BER), but according to the IEEE standard LT has to be complete in less than 12 seconds. While this can be sufficient to give a good BER, optimizing the results will probably require manual tweaking.

Here is an easy way to do that using a Z800 Freya traffic generator and XenaManager 3 (XM3).

BER optimization test setup

This test setup uses two Z800 Freya modules in a Xena B2400 chassis, connected via an 800G electrical cable with the test being run via XenaManager 3 (XM3).

What is the workflow?

1. Open XenaManager 3 and connect to the two Z800 Freya modules

2. Choose the 1 x 800 port config (this config gets you the best results quickly)

3. Click on the 1st port, go to the Layer 1 tab and select the AN/LT tab under Port Properties and turn on the “Autoneg and Link Training”.  Do the same on the opposing port.

4. Go to the Layer1 tab and select PMA and Pattern generation (PRBS) tab and turn on PRBS for all lanes on both ports.  Be sure to change the “Statistics Mode” from “Accumulative” to “Last Second”.

PRBS settings in XM3

Figure: Pseudo Random Binary Sequence (PRBS) overview

5. Now you can make note of the error rate for each of the SerDes. It is a good idea to take a snapshot of this for reference.

6. Find the lanes with the least desirable BER. In the example above, it is SerDes #5 with 3.7 e-8, and also SerDes #1.

Figure: Advances TX Taps Configuration and Monitoring overview

7. Go to the Medium Tab for the opposing port. Note any difference in the settings for lanes #1 and #5 compared to the others (see above).

8. In this case, all the Main cursors are set to 52 except lanes 1 and 5, which are at 42 (using Native figures).  And the precursors are different as well.  We will now start by bumping the Main from 42 to 47 and see if that improves the BER on the lanes of the opposing port.

PRBS after initial adjustment

Figure: PRBS overview after initial change

9. In Figure 3, you can see that the BER of lanes 1 & 5 are slightly improved.

10. By playing around with the Main tap until it reach a point of negative returns, then do the same with the PreCursor tap.

11. Within ~5 minutes it is possible to settle on settings that significantly improve the overall BER as shown in figure 4.

In this test example the net overall BER improvement (all lanes) from adjusting the two worst performing lanes went from 6e-9 ==> 2e-10, a significant improvement.

Figure: PRBS overview after further changes

12. Now, if the PRBS is turned off on both ports and the tap settings positions are left in the last adjusted position, check out the PRE-FEC BER in the PCS/FEC tab where it shows the Pre-FEC BER of 2.e-10 matches almost exactly with the final PRBS BER achieved in step 10  (see above).

FEC overview

Figure: FEC overview

You can continue to tweak the settings, but further improvements are typically minimal after the Main Cursor, Pre-Cursor, and maybe the Post Cursor have been optimized.

Next Steps?

  • You can try using these solutions – live! – right now via our Live Demo
  • Or learn more about Link Training Optimization in this Technical Note.