Sponsored Content
Top Forums UNIX for Beginners Questions & Answers 10gbe ixgbe slow at 420mbyte/s max, p2p lan cat8 1m, tried ethtool and ifconfig options to no avail Post 303045712 by tinfoil3d on Friday 10th of April 2020 08:12:57 AM
Old 04-10-2020
Hey stomp,
both sides show valid full 10gig, full duplex, I checked that first thing. As stated, txq and mtu match. Raising them to 10000 and 9000 respectively increased speed from 393 to 415 but not any further.
Swapped ports, tried flight-proven cat7 cable: no change.

iperf reports same speed as wget from nginx, apache, even busybox.
The interesting note is when dling to epyc (newer) box it shows 421mbyte/s, downloading to i7 from epyc it shows 415mbyte/s max. I don't know if that may suggest you anything.

also, updating post with more details:
ethtool info for interfaces differs slightly but i'm pretty sure it doesn't matter: you can just see the diff.

this is for i7: https : // paste. ubuntu. com/p/JmDQcYWkbs/
this is epyc: https : / / paste ubuntu .com/p/ZThRF6kcqs/
and this is diff(embedded):
Code:
# diff i7 epyc 
1,2c1
< Cannot get device udp-fragmentation-offload settings: Operation not supported
< Features for eth101:
---
> Features for eth1:
8c7
<     tx-checksum-fcoe-crc: off
---
>     tx-checksum-fcoe-crc: on
32c31
< tx-fcoe-segmentation: off
---
> tx-fcoe-segmentation: on

and ethtool -g for both boxes match:
Code:
Ring parameters for eth1:
Pre-set maximums:
RX:        4096
RX Mini:    0
RX Jumbo:    0
TX:        4096
Current hardware settings:
RX:        4096
RX Mini:    0
RX Jumbo:    0
TX:        4096

 

9 More Discussions You Might Find Interesting

1. Solaris

How to configure private LAN and coporate LAN on the same machine-Solaris10

Hi , I am trying to configure a private LAN and corporate LAN on the same machien on Solaris 10. How can I achieve this? Thanks (1 Reply)
Discussion started by: deedee
1 Replies

2. Shell Programming and Scripting

ethtool : command not found

Hi, I am uising Suse linux on my system and i tried : man ethtool and i got the manual for ethtool but when i tried to use the command as: ethtool -a eth0 it says Command not found. also, i tried rpm -qa|grep ethtool i got: ethtool-3-15.2 so,it means my system has ethtool server or... (4 Replies)
Discussion started by: salil2012
4 Replies

3. Programming

ethtool problem

Hi, I'm using ethtool to change network settings: Just for the experiment, i want to change speed to 10, instead of 100, I type: ethtool -s eth0 speed 10 duplex full autoneg off and to view settings i type: ethtool eth0, and get this: Settings for eth0: Supported ports: ... (4 Replies)
Discussion started by: alex889
4 Replies

4. IP Networking

Slow LAN FTP Transfers with FreeBSD...

Hello, I've got a FreeBSD 6 server running on my network that I used as a file server for my main computer. However I've really become frustrated with the slow up/down speeds I'm getting, about 100KB/s, which is about as bad as if I was using a "real" server. My setup is as follows: ISP |... (4 Replies)
Discussion started by: CyberCat
4 Replies

5. IP Networking

Local Lan, no-ip directed DNS forward, surf within lan

Hi, We have a website running on a local centos 5.4 surfer, static IP. The domain.com uses no-ip.com to take care of the DNS, it forwards all to my server. My router receives the port 80 call, routes it to my server and the world can see domain.com perfectly fine. However, we cannot see... (3 Replies)
Discussion started by: lawstudent
3 Replies

6. Shell Programming and Scripting

cut, sed, awk too slow to retrieve line - other options?

Hi, I have a script that, basically, has two input files of this type: file1 key1=value1_1_1 key2=value1_2_1 key4=value1_4_1 ... file2 key2=value2_2_1 key2=value2_2_2 key3=value2_3_1 key4=value2_4_1 ... My files are 10k lines big each (approx). The keys are strings that don't... (7 Replies)
Discussion started by: fzd
7 Replies

7. Red Hat

Ethtool script not running on boot.

Hi, there is an incompatibility between my NIC and my Western Digital Powerline adapters which appears to cause autonegotiation to fail intermittently, most often following a reboot. Running the following Ethtool script will establish a connection immediately: #!/bin/sh # chkconfig: 345 85... (12 Replies)
Discussion started by: torley
12 Replies

8. UNIX and Linux Applications

VSFTPD slow download outside of LAN

Hello all. I have VSFTP up and ruining on ubuntu 10.04. It works great inside LAN, however when it comes to using it outside i have some problems. If i try to connect from filezila i get the listing and if i try to download it shows it will take forever to receive a file which is larger then 1mb,... (2 Replies)
Discussion started by: mantas1
2 Replies

9. UNIX for Beginners Questions & Answers

Ethtool command not working

Hi All, I am trying to find my NIC card speed in centos 5. But i am unable to get the info using ethtool command. # ethtool eth0 Settings for eth0: Link detected: yes and even tried to look for the file # cd /sys/class/net/eth0/speed files which is also not available.... (8 Replies)
Discussion started by: sravani25
8 Replies
ETHTOOL(8)						      System Manager's Manual							ETHTOOL(8)

NAME
ethtool - Display or change ethernet card settings SYNOPSIS
ethtool ethX ethtool -h|--help ethtool -a|--show-pause ethX ethtool -A|--pause ethX [autoneg on|off] [rx on|off] [tx on|off] ethtool -c|--show-coalesce ethX ethtool -C|--coalesce ethX [adaptive-rx on|off] [adaptive-tx on|off] [rx-usecs N] [rx-frames N] [rx-usecs-irq N] [rx-frames-irq N] [tx- usecs N] [tx-frames N] [tx-usecs-irq N] [tx-frames-irq N] [stats-block-usecs N] [pkt-rate-low N] [rx-usecs-low N] [rx-frames-low N] [tx- usecs-low N] [tx-frames-low N] [pkt-rate-high N] [rx-usecs-high N] [rx-frames-high N] [tx-usecs-high N] [tx-frames-high N] [sample-interval N] ethtool -g|--show-ring ethX ethtool -G|--set-ring ethX [rx N] [rx-mini N] [rx-jumbo N] [tx N] ethtool -i|--driver ethX ethtool -d|--register-dump ethX [raw on|off] [hex on|off] [file name] ethtool -e|--eeprom-dump ethX [raw on|off] [offset N] [length N] ethtool -E|--change-eeprom ethX [magic N] [offset N] [value N] ethtool -k|--show-offload ethX ethtool -K--offload ethX [rx on|off] [tx on|off] [sg on|off] [tso on|off] [ufo on|off] [gso on|off] ethtool -p|--blink ethX [N] ethtool -r|--negotiate ethX ethtool -S|--statistics ethX ethtool -t|--test ethX [offline|online] ethtool -s ethX [speed 10|100|1000|2500] [duplex half|full] [port tp|aui|bnc|mii] [autoneg on|off] [advertise N] [phyad N] [xcvr inter- nal|external] [wol p|u|m|b|a|g|s|d...] [sopass xx:yy:zz:aa:bb:cc] [msglvl N] DESCRIPTION
ethtool is used for querying settings of an ethernet device and changing them. ethX is the name of the ethernet device on which ethtool should operate. OPTIONS
ethtool with a single argument specifying the device name prints current settings of the specified device. -h --help Shows a short help message. -a --show-pause Queries the specified ethernet device for pause parameter information. -A --pause Changes the pause parameters of the specified ethernet device. autoneg on|off Specifies whether pause autonegotiation should be enabled. rx on|off Specifies whether RX pause should be enabled. tx on|off Specifies whether TX pause should be enabled. -c --show-coalesce Queries the specified ethernet device for coalescing information. -C --coalesce Changes the coalescing settings of the specified ethernet device. -g --show-ring Queries the specified ethernet device for rx/tx ring parameter information. -G --set-ring Changes the rx/tx ring parameters of the specified ethernet device. rx N Changes the number of ring entries for the Rx ring. rx-mini N Changes the number of ring entries for the Rx Mini ring. rx-jumbo N Changes the number of ring entries for the Rx Jumbo ring. tx N Changes the number of ring entries for the Tx ring. -i --driver Queries the specified ethernet device for associated driver information. -d --register-dump Retrieves and prints a register dump for the specified ethernet device. The register format for some devices is known and decoded others are printed in hex. When raw is enabled, then ethtool dumps the raw register data to stdout. If file is specified, then use contents of previous raw register dump, rather than reading from the device. -e --eeprom-dump Retrieves and prints an EEPROM dump for the specified ethernet device. When raw is enabled, then it dumps the raw EEPROM data to stdout. The length and offset parameters allow dumping certain portions of the EEPROM. Default is to dump the entire EEPROM. -E --change-eeprom Changes EEPROM byte for the specified ethernet device. offset and value specify which byte and it's new value. Because of the per- sistent nature of writing to the EEPROM, a device-specific magic key must be specified to prevent the accidental writing to the EEP- ROM. -k --show-offload Queries the specified ethernet device for offload information. -K --offload Changes the offload parameters of the specified ethernet device. rx on|off Specifies whether RX checksumming should be enabled. tx on|off Specifies whether TX checksumming should be enabled. sg on|off Specifies whether scatter-gather should be enabled. tso on|off Specifies whether TCP segmentation offload should be enabled. ufo on|off Specifies whether UDP fragmentation offload should be enabled gso on|off Specifies whether generic segmentation offload should be enabled -p --identify Initiates adapter-specific action intended to enable an operator to easily identify the adapter by sight. Typically this involves blinking one or more LEDs on the specific ethernet port. N Length of time to perform phys-id, in seconds. -r --negotiate Restarts auto-negotiation on the specified ethernet device, if auto-negotiation is enabled. -S --statistics Queries the specified ethernet device for NIC- and driver-specific statistics. -t --test Executes adapter selftest on the specified ethernet device. Possible test modes are: offline|online defines test type: offline (default) means to perform full set of tests possibly causing normal operation interruption during the tests, online means to perform limited set of tests do not interrupting normal adapter operation. -s --change Allows changing some or all settings of the specified ethernet device. All following options only apply if -s was specified. speed 10|100|1000|2500 Set speed in Mb/s. ethtool with just the device name as an argument will show you the supported device speeds. duplex half|full Sets full or half duplex mode. port tp|aui|bnc|mii Selects device port. autoneg on|off Specifies whether autonegotiation should be enabled. Autonegotiation is enabled by deafult, but in some network devices may have trouble with it, so you can disable it if really necessary. advertise N Sets the speed and duplex advertised by autonegotiation. The argument is a hexidecimal value using one or a combination of the fol- lowing values: 0x001 10 Half 0x002 10 Full 0x004 100 Half 0x008 100 Full 0x010 1000 Half(not supported by IEEE standards) 0x020 1000 Full 0x8000 2500 Full(not supported by IEEE standards) 0x800 10000 Full 0x03F Auto phyad N PHY address. xcvr internal|external Selects transceiver type. Currently only internal and external can be specified, in the future further types might be added. wol p|u|m|b|a|g|s|d... Sets Wake-on-LAN options. Not all devices support this. The argument to this option is a string of characters specifying which options to enable. p Wake on phy activity u Wake on unicast messages m Wake on multicast messages b Wake on broadcast messages a Wake on ARP g Wake on MagicPacket(tm) s Enable SecureOn(tm) password for MagicPacket(tm) d Disable (wake on nothing). This option clears all previous options. sopass xx:yy:zz:aa:bb:cc Sets the SecureOn(tm) password. The argument to this option must be 6 bytes in ethernet MAC hex format (xx:yy:zz:aa:bb:cc). msglvl N Sets the driver message level. Meanings differ per driver. BUGS
Not supported (in part or whole) on all ethernet drivers. AUTHOR
ethtool was written by David Miller. Modifications by Jeff Garzik, Tim Hockin, Jakub Jelinek, Andre Majorel, Eli Kupermann, Scott Feldman, Andi Kleen. AVAILABILITY
ethtool is available over the Web on the SourceForge site at http://sourceforge.net/projects/gkernel/ Ethtool version 6 July 2007 ETHTOOL(8)
All times are GMT -4. The time now is 01:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy