Configure the ring size on Mellanox and Fortville interfaces
NetScaler platforms support Mellanox and Fortville interfaces. The ring size on these interfaces is configurable. A higher ring size reduces the packet drops when there is a sudden burst in traffic.
Prerequisite
The interface for which you’re configuring the ring size must be UP when applying these changes.
Configure the ring size on Mellanox NICs
Note:
This feature is available in release 14.1 build 21.x and later.
50 G and 100 G interfaces on NetScaler platforms are Mellanox NICs. The following platforms contain Mellanox NICs:
- MPX 9100
- MPX 15000-50G
- MPX 15000-50G FIPS certified appliance
- MPX 16000
- MPX 26000
- MPX 26000-50S
- MPX 26000-100G
- MPX 26000T-100G
The maximum ring size that you can set on a Mellanox interface is 16384 bits. Only the fixed ring type is supported. You must do a full reboot of the appliance for the settings to take effect.
To set the ring size on a Mellanox NIC
At the command prompt, type:
set interface <id> [-ringsize <positive_integer>] [-ringtype ( Elastic | Fixed )]
Example:
>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-->
To unset the ring size on a Mellanox NIC
You cannot unset the ring size on a Mellanox NIC. You must set it to the default value.
Example:
>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-->
Configure the ring size on Fortville NICs
Note:
This feature is available in release 13.0 build 90.x and later.
10 G, 25 G, and 40 G interfaces on NetScaler platforms are Fortville interfaces. The following MPX appliances and corresponding zero-capacity appliances contain Fortville NICs:
- MPX 8900
- MPX 8900 FIPS certified appliance
- MPX 9100
- MPX 14000-40C
- MPX 14000-40S
- MPX 14000-40G
- MPX 15000
- MPX 15000-50G
- MPX 15000-50G FIPS certified appliance
- MPX 16000
- MPX 25000-40G
- MPX 25000T
- MPX 25000TA
- MPX 25000-40G
- MPX 26000
- MPX 26000-50S
The maximum ring size that you can set on a Fortville interface is 4096 bits. You can set the ring type as fixed or elastic. An elastic ring type allows the interface to accept a burst in traffic.
Prerequisite
Interface must be UP when appplying these changes.
To set the ring size on a Fortville NIC
At the command prompt, type:
set interface <id> [-ringsize <positive_integer>] [-ringtype ( Elastic | Fixed )]
Example:
> 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-->
To unset the ring size on a Fortville NIC
At the command prompt, type:
unset interface <id> ringsize ringtype
Example:
> 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-->