F-Tile Interlaken Intel® FPGA IP User Guide

ID 683622
Date 6/21/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

4.4. Performance

You can measure the performance of F-Tile Interlaken Intel® FPGA IP core 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

The Efficiency Factor can be calculated using the formula below:

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.

The multi-segment feature of the Interlaken IP core improves the user efficiency by utilizing the user data bus more effectively.

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