iRDMA流量控制总结 - 4

2023-12-03 11:04
文章标签 总结 控制 流量 irdma

本文主要是介绍iRDMA流量控制总结 - 4,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

5.2.4  Example 4 - PCP PFC with Multiple TCs (1 for RDMA, 1 for LAN) – No VLANs 例 4 - 具有多个 TC(1 个用于 RDMA,1 个用于 LAN)的 PCP PFC - 无 VLAN

This example describes how to run both RDMA and LAN traffic on the same link using the parent interface (no explicit VLANs, although VLAN 0 are used transparently). 本例介绍如何使用上一级接口在同一链路上运行 RDMA 和 LAN 流量(没有显式 VLAN,但透明使用 VLAN 0)。

These steps can be used in a back-to-back configuration, or if you are using a switch, be sure to configure the neighboring switch ports for the same configuration (consult the appropriate switch manual for more detail). 这些步骤可以在背靠背直接连接配置中使用,如果使用交换机,则一定要将相邻的交换机端口配置为相同的配置(详情请查阅相应的交换机手册)。

Settings in this example: 本例中的设置:

  • Non-willing mode — In this example, adapter settings are configured explicitly using lldptool (vs. configuring DCB on a switch and using willing mode on adapters). 被动模式 - 在此示例中,使用 lldptool 明确配置适配器设置(而不是在交换机上配置 DCB 并在适配器上使用主动模式)。
  • Software DCB — Required to use non-willing mode. 软件 DCB - 需要使用被动模式。
  • Two traffic classes: 两个数据流类别:

— One loss-less TC for RDMA, with 80% bandwidth allocated. 一个用于 RDMA 的无损 TC,带宽分配为 80%。

— One lossy TC for LAN, with 20% bandwidth allocated. 一个有损 TC 用于局域网,带宽分配为 20%。

  • PFC enabled for only the RDMA traffic class (this makes it loss-less). 只为 RDMA 数据流启用 PFC(这样就不会有丢包)。

Perform the following steps on both servers: 在两个服务器上执行以下步骤:

  1. Disable LFC (LFC and PFC cannot co-exist). 禁用 LFC(LFC 和 PFC 不能共存)。

# ethtool -A <interface> rx off tx off

  1. Verify that LFC is disabled. 确认 LFC 已禁用。

# ethtool -a <interface>

Pause parameters for <interface>:

Autonegotiate:    on

RX:            off

TX:            off

RX negotiated: off

TX negotiated: off

  1. Configure the adapter for software DCB mode by disabling firmware DCB mode. 禁用Firmware DCB 模式,将网络适配器配置为软件 DCB 模式。

# ethtool --set-priv-flags <interface> fw-lldp-agent off

  1. Verify that firmware DCB is disabled验证Firmware DCB 是否已禁用:

# ethtool --show-priv-flags <interface> | grep fw-lldp-agent fw-lldp-agent : off

  1. Install OpenLLDP (the software that controls PFC and other DCB settings), if not already installed: 安装 OpenLLDP(控制 PFC 和其他 DCB 设置的软件)(如果尚未安装):
    • RHEL:

# yum install lldpad

    • SLES or Ubuntu:

zypper or apt-get might work (untested)

    • All operating systems: 适用于所有操作系统:

Download and build from source from GitHub - intel/openlldp. 从 https://github.com/intel/openlldp 下载并编译源代码。

  1. Start the LLDP daemon. 启动 LLDP 守护进程。

# lldpad -d

  1. Verify LLDP is active by showing current LLDP settings on the interface. 通过显示接口上当前的 LLDP 设置,验证 LLDP 是否处于活动状态。

The following example shows the OpenLLDP default: 下面的示例显示了 OpenLLDP 默认设置:

# lldptool -ti <interface>

Chassis ID TLV

        MAC: 68:05:ca:a3:89:78

Port ID TLV

        MAC: 68:05:ca:a3:89:78

Time to Live TLV

        120

IEEE 8021QAZ ETS Configuration TLV

        Willing: yes

        CBS: not supported

        MAX_TCS: 8

        PRIO_MAP: 0:0 1:0 2:0 3:0 4:0 5:0 6:0 7:0

        TC Bandwidth: 0% 0% 0% 0% 0% 0% 0% 0%

        TSA_MAP: 0:strict 1:strict 2:strict 3:strict 4:strict 5:strict

6:strict 7:strict

IEEE 8021QAZ PFC TLV

        Willing: yes

        MACsec Bypass Capable: no

        PFC capable traffic classes: 8

        PFC enabled: none

End of LLDPDU TLV

  1. Plan your DCB configuration. 规划 DCB 配置。

Traffic Stream

Loss-less

TC

Priority

ToS

Bandwidth

RDMA Application

Yes

0

0

这篇关于iRDMA流量控制总结 - 4的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/449206

相关文章

用js控制视频播放进度基本示例代码

《用js控制视频播放进度基本示例代码》写前端的时候,很多的时候是需要支持要网页视频播放的功能,下面这篇文章主要给大家介绍了关于用js控制视频播放进度的相关资料,文中通过代码介绍的非常详细,需要的朋友可... 目录前言html部分:JavaScript部分:注意:总结前言在javascript中控制视频播放

java常见报错及解决方案总结

《java常见报错及解决方案总结》:本文主要介绍Java编程中常见错误类型及示例,包括语法错误、空指针异常、数组下标越界、类型转换异常、文件未找到异常、除以零异常、非法线程操作异常、方法未定义异常... 目录1. 语法错误 (Syntax Errors)示例 1:解决方案:2. 空指针异常 (NullPoi

Python异步编程中asyncio.gather的并发控制详解

《Python异步编程中asyncio.gather的并发控制详解》在Python异步编程生态中,asyncio.gather是并发任务调度的核心工具,本文将通过实际场景和代码示例,展示如何结合信号量... 目录一、asyncio.gather的原始行为解析二、信号量控制法:给并发装上"节流阀"三、进阶控制

使用DrissionPage控制360浏览器的完美解决方案

《使用DrissionPage控制360浏览器的完美解决方案》在网页自动化领域,经常遇到需要保持登录状态、保留Cookie等场景,今天要分享的方案可以完美解决这个问题:使用DrissionPage直接... 目录完整代码引言为什么要使用已有用户数据?核心代码实现1. 导入必要模块2. 关键配置(重点!)3.

SpringSecurity 认证、注销、权限控制功能(注销、记住密码、自定义登入页)

《SpringSecurity认证、注销、权限控制功能(注销、记住密码、自定义登入页)》SpringSecurity是一个强大的Java框架,用于保护应用程序的安全性,它提供了一套全面的安全解决方案... 目录简介认识Spring Security“认证”(Authentication)“授权” (Auth

python之流程控制语句match-case详解

《python之流程控制语句match-case详解》:本文主要介绍python之流程控制语句match-case使用,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐... 目录match-case 语法详解与实战一、基础值匹配(类似 switch-case)二、数据结构解构匹

Java反转字符串的五种方法总结

《Java反转字符串的五种方法总结》:本文主要介绍五种在Java中反转字符串的方法,包括使用StringBuilder的reverse()方法、字符数组、自定义StringBuilder方法、直接... 目录前言方法一:使用StringBuilder的reverse()方法方法二:使用字符数组方法三:使用自

Nginx如何进行流量按比例转发

《Nginx如何进行流量按比例转发》Nginx可以借助split_clients指令或通过weight参数以及Lua脚本实现流量按比例转发,下面小编就为大家介绍一下两种方式具体的操作步骤吧... 目录方式一:借助split_clients指令1. 配置split_clients2. 配置后端服务器组3. 配

Spring Security注解方式权限控制过程

《SpringSecurity注解方式权限控制过程》:本文主要介绍SpringSecurity注解方式权限控制过程,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、摘要二、实现步骤2.1 在配置类中添加权限注解的支持2.2 创建Controller类2.3 Us

Python依赖库的几种离线安装方法总结

《Python依赖库的几种离线安装方法总结》:本文主要介绍如何在Python中使用pip工具进行依赖库的安装和管理,包括如何导出和导入依赖包列表、如何下载和安装单个或多个库包及其依赖,以及如何指定... 目录前言一、如何copy一个python环境二、如何下载一个包及其依赖并安装三、如何导出requirem