NetScaler MPX™

在 Mellanox 和 Fortville 接口上配置环形缓冲区大小

NetScaler 平台支持 Mellanox 和 Fortville 接口。这些接口上的环形缓冲区大小是可配置的。当流量突然激增时,更大的环形缓冲区大小可以减少数据包丢失。

先决条件

应用这些更改时,您正在配置环形缓冲区大小的接口必须处于 UP 状态。

在 Mellanox 网卡上配置环形缓冲区大小

注意:

此功能在 14.1 版本 21.x 及更高版本中可用。

NetScaler 平台上的 50 G 和 100 G 接口是 Mellanox 网卡。以下平台包含 Mellanox 网卡:

  • MPX 9100
  • MPX 15000-50G
  • MPX 15000-50G FIPS 认证设备
  • MPX 16000
  • MPX 26000
  • MPX 26000-50S
  • MPX 26000-100G
  • MPX 26000T-100G

在 Mellanox 接口上可以设置的最大环形缓冲区大小为 16384 位。仅支持固定环形缓冲区类型。必须完全重新启动设备才能使设置生效。

在 Mellanox 网卡上设置环形缓冲区大小

在命令提示符下,键入:

set interface <id> [-ringsize <positive_integer>] [-ringtype ( Elastic | Fixed )]

示例:

>set int 100/1 ringsize 16384 ringtype fixed
>reboot
> sh int 100/1

1)      Interface 100/1 (100G Ethernet, CR4, 100 Gbit) #2  
        flags=0xc020 <ENABLED, UP, UP, autoneg, HAMON, HEARTBEAT, 802.1q>
        MTU=1500, native vlan=1, MAC=0c:42:a1:eb:f3:a3, uptime 101h45m50s
        Requested: media AUTO, speed AUTO, duplex AUTO, fctl OFF,
                 throughput 0
        Actual: media UTP, speed 100000, duplex FULL, fctl OFF, throughput 100000
        LLDP Mode: NONE,                 LR Priority: 1024

        RX: Pkts(205951) Bytes(15819732) Errs(0) Drops(204858) Stalls(0)
        TX: Pkts(720) Bytes(828600) Errs(0) Drops(0) Stalls(0)
        NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0)
        Bandwidth thresholds are not set.
        Rx Ring: Configured size=16384, Actual size=16384, Type: Fixed
<!--NeedCopy-->

在 Mellanox 网卡上取消设置环形缓冲区大小

您无法在 Mellanox 网卡上取消设置环形缓冲区大小。您必须将其设置为默认值。

示例:

>set int 100/1 ringsize 2048 ringtype fixed
>reboot
> sh int 100/1

1)      Interface 100/1 (100G Ethernet, CR4, 100 Gbit) #2  
        flags=0xc020 <ENABLED, UP, UP, autoneg, HAMON, HEARTBEAT, 802.1q>
        MTU=1500, native vlan=1, MAC=0c:42:a1:eb:f3:a3, uptime 101h45m50s
        Requested: media AUTO, speed AUTO, duplex AUTO, fctl OFF,
                 throughput 0
        Actual: media UTP, speed 100000, duplex FULL, fctl OFF, throughput 100000
        LLDP Mode: NONE,                 LR Priority: 1024

        RX: Pkts(205951) Bytes(15819732) Errs(0) Drops(204858) Stalls(0)
        TX: Pkts(720) Bytes(828600) Errs(0) Drops(0) Stalls(0)
        NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0)
        Bandwidth thresholds are not set.
        Rx Ring: Configured size=2048, Actual size=2048, Type: Fixed
<!--NeedCopy-->

在 Fortville 网卡上配置环形缓冲区大小

注意:

此功能在 13.0 版本 90.x 及更高版本中可用。

NetScaler 平台上的 10 G、25 G 和 40 G 接口是 Fortville 接口。以下 MPX 设备和相应的零容量设备包含 Fortville 网卡:

  • MPX 8900
  • MPX 8900 FIPS 认证设备
  • MPX 9100
  • MPX 14000-40C
  • MPX 14000-40S
  • MPX 14000-40G
  • MPX 15000
  • MPX 15000-50G
  • MPX 15000-50G FIPS 认证设备
  • MPX 16000
  • MPX 25000-40G
  • MPX 25000T
  • MPX 25000TA
  • MPX 25000-40G
  • MPX 26000
  • MPX 26000-50S

您可以在 Fortville 接口上设置的最大环大小为 4096 位。您可以将环类型设置为固定或弹性。弹性环类型允许接口接受突发流量。

先决条件

应用这些更改时,接口必须处于 UP 状态。

在 Fortville NIC 上设置环形大小

在命令提示符下,键入:

set interface <id> [-ringsize <positive_integer>] [-ringtype ( Elastic | Fixed )]

示例:

> set int 25/1 ringsize 4096 ringtype elastic
 Done
> sh int 25/1

1)      Interface 25/1 (25G Ethernet, CR, 25 Gbit) #8  
        flags=0xc020 <ENABLED, UP, UP, autoneg, HAMON, HEARTBEAT, 802.1q>
        MTU=1500, native vlan=1, MAC=00:e0:ed:dc:11:bf, uptime 101h17m10s
        Requested: media AUTO, speed AUTO, duplex AUTO, fctl OFF,
                 throughput 0
        Actual: media UTP, speed 25000, duplex FULL, fctl OFF, throughput 25000
        LLDP Mode: NONE,                 LR Priority: 1024

        RX: Pkts(257620) Bytes(21778920) Errs(0) Drops(186380) Stalls(0)
        TX: Pkts(417) Bytes(17514) Errs(0) Drops(0) Stalls(0)
        NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0)
        Bandwidth thresholds are not set.
        Rx Ring: Configured size=4096, Actual size=512, Type: Elastic
Done


> set int 25/1 ringsize 4096 ringtype fixed
 Done
> sh int 25/1

1)      Interface 25/1 (25G Ethernet, CR, 25 Gbit) #8  
        flags=0xc020 <ENABLED, UP, UP, autoneg, HAMON, HEARTBEAT, 802.1q>
        MTU=1500, native vlan=1, MAC=00:e0:ed:dc:11:bf, uptime 101h17m10s
        Requested: media AUTO, speed AUTO, duplex AUTO, fctl OFF,
                 throughput 0
        Actual: media UTP, speed 25000, duplex FULL, fctl OFF, throughput 25000
        LLDP Mode: NONE,                 LR Priority: 1024

        RX: Pkts(257620) Bytes(21778920) Errs(0) Drops(186380) Stalls(0)
        TX: Pkts(417) Bytes(17514) Errs(0) Drops(0) Stalls(0)
        NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0)
        Bandwidth thresholds are not set.
        Rx Ring: Configured size=4096, Actual size=4096, Type: Fixed

Done
<!--NeedCopy-->

在 Fortville NIC 上取消设置环形大小

在命令提示符下,键入:

unset interface <id> ringsize ringtype

示例:

> unset int 25/1 ringsize ringtype
 Done
> sh int 25/1

1)      Interface 25/1 (25G Ethernet, CR, 25 Gbit) #7  
        flags=0xc020 <ENABLED, UP, UP, autoneg, HAMON, HEARTBEAT, 802.1q>
        MTU=1500, native vlan=1, MAC=00:e0:ed:dc:11:be, uptime 0h00m02s
        Requested: media AUTO, speed AUTO, duplex AUTO, fctl OFF,
                 throughput 0
        Actual: media UTP, speed 25000, duplex FULL, fctl OFF, throughput 25000
        LLDP Mode: NONE,                 LR Priority: 1024

        RX: Pkts(11560) Bytes(971823) Errs(0) Drops(8330) Stalls(0)
        TX: Pkts(69) Bytes(2898) Errs(0) Drops(0) Stalls(0)
        NIC: InDisc(0) OutDisc(0) Fctls(0) Stalls(0) Hangs(0) Muted(0)
        Bandwidth thresholds are not set.
        Rx Ring: Configured size=2048, Actual size=512, Type: Elastic


 Done
>
<!--NeedCopy-->
在 Mellanox 和 Fortville 接口上配置环形缓冲区大小