Estou tendo problemas com velocidades lentas de rede na minha rede doméstica entre duas caixas. Aqui estão as especificações:
Caixa1: Desempenho do ASRock H97, Manjaro
Caixa2: ASRock FM2A78M-ITX+, Debian 9
Trocar: Netgear GS305v2
Ambas as caixas são conectadas ao switch com cabos Cat.7 (10m e 2m). Então tudo deveria funcionar com Gigabit Ethernet, certo?
No entanto, executar o iperf dá este resultado:
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 105 MBytes 88.5 Mbits/sec 32 sender
[ 5] 0.00-10.00 sec 103 MBytes 86.6 Mbits/sec receiver
Por onde começo a procurar o problema?
Edit: De um lado eu corri iperf3 -s
do outro iperf3 -c xxx.xxx.xxx.xxx
. Também testei transferências de arquivos via NFS e rsync sobre ssh, resultando na mesma velocidade.
A saída ethtool
na máquina debian:
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
MDI-X: Unknown
Current message level: 0x000060e4 (24804)
link ifup rx_err tx_err hw wol
Link detected: yes
E na máquina Manjaro:
Settings for enp0s25:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 100Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: off
MDI-X: off (auto)
Cannot get wake-on-lan settings: Operation not permitted
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
Parece que a interface Manjaro está configurada apenas para 100Mb/s.
Responder1
Habilitar a negociação automática para a interface de rede foi ethtool -s enp0s25 autoneg on
corrigido.
Obrigado por me apontar na direção certa!