F-Tile Interlaken Intel® FPGA IP User Guide

ID 683622
Date 7/08/2024
Public
Document Table of Contents

4.4. Performance

You can measure the performance of the Interlaken IP in terms of the percentage of the raw bandwidth.

You can calculate the bandwidth performance by multiplying raw bandwidth with the efficiency factor using the formula below:

Actual bandwidth = raw bandwidth * efficiency factor

You calculate the efficiency factor using this formula:

Efficiency factor = (encoding efficiency) * (framing efficiency) * (alignment efficiency) * (meta frame efficiency) * 100% , where:
  • Encoding efficiency: 64B/67B encoding
  • Framing efficiency: The impact of the 8-byte control word overhead as a percentage of the frame or cell size
  • Alignment efficiency: The impact of invalid characters inserted to pad the end of a frame to an 8-byte word boundary
  • Meta frame efficiency: created by the synchronization, scrambler, state, diagnostic, and skip words (assuming a meta frame length of 2K words, and not counting optional insertion of Idle control words for rate matching)

User efficiency examines how well the application logic occupies the full data width of the TX user data bus. This efficiency depends on the application logic implementation and transactions. Add the user efficiency to the efficiency factor equation to include efficiency degradation due to this user interface effect. You can use average efficiency numbers. Refer to Performance section of the Interlaken Protocol Definitions for more details.

When you select multisegments, the IP uses the user data bus more effectively and the the user efficiency improves.

Refer to the following example to understand how to calculate bandwidth performance.

Sample Calculation Example

This example is for the following input conditions:
  • Number of lanes= 8
  • Clock frequency = 395 MHz
  • Meta frame size= 2048 word of 64 bit/word
  • Constant burst size = 124 bytes
Use the following steps to calculate total bandwidth efficiency and actual bandwidth:
  1. Calculate the raw bandwidth using the formula below:

    Raw bandwidth= 8 lanes * 64 bits/lane * 395 MHz = 202.2 Gbps

    This example assumes constant burst size. You can use an average burst size numbers for average bandwidth efficiency calculations.

  2. Calculate each required efficiency to determine efficiency factor:
    • Encoding efficiency = 64 bits/67 bits= 0.955

      Use 64B/67B encoding to count encoding efficiency.

    • Framing efficiency = 16 words/17 words= 0.941

      124 bytes of data contain 16 Interlaken data words. One Interlaken burst control word is added to this 16 data words. Hence, the total number of words per bursts in 17.

    • Alignment Efficiency = 124 bytes/128 bytes = 0.968

      The last Interlaken data word contains only 4 bytes of valid data instead of the full 8 bytes. In this 128 bytes (16-word) burst, only 124 byte data is valid.

    • Meta frame Efficiency = 2024 words/2048 words= 0.99

      The 2048 Interlaken words contain four meta frame control words.

  3. Total bandwidth efficiency = (Encoding Efficiency) * (Framing Efficiency) * (Alignment Efficiency) * (Meta frame Efficiency) * 100% = 0.955 * 0.941 * 0.968 * 0.99= 0.869= 86.9%
  4. Actual bandwidth = Raw Bandwidth * Total bandwidth efficiency = 202.2 * 0.869 = 175.8 Gbps