Ringgröße auf Mellanox- und Fortville-Schnittstellen konfigurieren
NetScaler-Plattformen unterstützen Mellanox- und Fortville-Schnittstellen. Die Ringgröße auf diesen Schnittstellen ist konfigurierbar. Eine höhere Ringgröße reduziert Paketverluste bei einem plötzlichen Verkehrsaufkommen.
Voraussetzung
Die Schnittstelle, für die Sie die Ringgröße konfigurieren, muss UP sein, wenn Sie diese Änderungen anwenden.
Ringgröße auf Mellanox-NICs konfigurieren
Hinweis:
Diese Funktion ist in Release 14.1 Build 21.x und höher verfügbar.
50-G- und 100-G-Schnittstellen auf NetScaler-Plattformen sind Mellanox-NICs. Die folgenden Plattformen enthalten Mellanox-NICs:
- MPX 9100
- MPX 15000-50G
- MPX 15000-50G FIPS-zertifiziertes Gerät
- MPX 16000
- MPX 26000
- MPX 26000-50S
- MPX 26000-100G
- MPX 26000T-100G
Die maximale Ringgröße, die Sie auf einer Mellanox-Schnittstelle einstellen können, beträgt 16384 Bit. Nur der feste Ringtyp wird unterstützt. Sie müssen das Gerät vollständig neu starten, damit die Einstellungen wirksam werden.
So legen Sie die Ringgröße auf einer Mellanox-NIC fest
Geben Sie an der Eingabeaufforderung Folgendes ein:
set interface <id> [-ringsize <positive_integer>] [-ringtype ( Elastic | Fixed )]
Beispiel:
>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-->
So heben Sie die Ringgröße auf einer Mellanox-NIC auf
Sie können die Ringgröße auf einer Mellanox-NIC nicht aufheben. Sie müssen sie auf den Standardwert setzen.
Beispiel:
>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-->
Konfigurieren der Ringgröße auf Fortville-NICs
Hinweis:
Diese Funktion ist in Release 13.0 Build 90.x und höher verfügbar.
10-G-, 25-G- und 40-G-Schnittstellen auf NetScaler-Plattformen sind Fortville-Schnittstellen. Die folgenden MPX-Appliances und die entsprechenden Zero-Capacity-Appliances enthalten Fortville-NICs:
- MPX 8900
- MPX 8900 FIPS-zertifizierte Appliance
- MPX 9100
- MPX 14000-40C
- MPX 14000-40S
- MPX 14000-40G
- MPX 15000
- MPX 15000-50G
- MPX 15000-50G FIPS-zertifiziertes Gerät
- MPX 16000
- MPX 25000-40G
- MPX 25000T
- MPX 25000TA
- MPX 25000-40G
- MPX 26000
- MPX 26000-50S
Die maximale Ringgröße, die Sie auf einer Fortville-Schnittstelle einstellen können, beträgt 4096 Bit. Sie können den Ringtyp als fest oder elastisch einstellen. Ein elastischer Ringtyp ermöglicht es der Schnittstelle, einen Datenstoß im Datenverkehr zu akzeptieren.
Voraussetzung
Die Schnittstelle muss UP sein, wenn diese Änderungen angewendet werden.
So legen Sie die Ringgröße auf einer Fortville-NIC fest
Geben Sie an der Eingabeaufforderung Folgendes ein:
set interface <id> [-ringsize <positive_integer>] [-ringtype ( Elastic | Fixed )]
Beispiel:
> 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-->
So heben Sie die Ringgröße auf einer Fortville-NIC auf
Geben Sie an der Eingabeaufforderung Folgendes ein:
unset interface <id> ringsize ringtype
Beispiel:
> 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-->