Configure the ring size on Mellanox and Fortville interfaces
Prerequisite
Configure the ring size on 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
To set the ring size on a Mellanox NIC
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
To unset the ring size on a Mellanox NIC
>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
Configure the ring size on 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
Prerequisite
To set the ring size on a 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
To unset the ring size on a 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
>