Hi everyone,
I have a PC and a home server both running Manjaro Linux. They are connected to eachother through an Asus router and all devices are capable of, and used to run at 1Gbit/s since I set them up.
Today for the first time I noticed some slowness on the side of the server. I ran an iperf3
connection test and saw that my PC was only accessing my server at 100Mbits/s:
Running a lshw -C network
on both devices reveals that they are both still capable of, and linked at 1Gbit/s, with auto-negotiation and full duplex on.
Main PC:
Server:
However any real test or usage of the connection actually runs at 100Mbits/s. I have no idea what is going on at this point. I have checked the settings on my router and there doesn’t seem to be anything limiting the speed. I haven’t reconfigured anything, or updated any software or firmware that is related to networking, and the connection was running at the full 1Gbit/s speed yesterday. What could be causing this issue?
Thanks in advance!
can you report for both
inxi -Fza
sudo mhwd-kernel -li
1 Like
Please use text instead of images - it is far easier to copy paste text - and readabe and searchable - and indexable
There is no complete answer to such question - it depends on a lot of things - most notably cables - a couple of wrinkles on a cable - or the cable getting pinched - or interference from power line may reduce network speed as you are describing.
Hi, thanks for the reply! Here is the info.
Main PC:
System:
Kernel: 5.15.71-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
root=UUID=5d801ac0-7174-429f-941d-689475608111 rw quiet
resume=UUID=7429d09c-6db3-438f-8ee5-a31aa3341587 udev.log_priority=3
Desktop: KDE Plasma v: 5.25.5 tk: Qt v: 5.15.6 wm: kwin_x11 vt: 1
dm: SDDM Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop Mobo: ASRock model: Z490 Pro4 serial: <superuser required>
UEFI: American Megatrends v: L1.52 date: 12/04/2020
CPU:
Info: model: Intel Core i5-10500 bits: 64 type: MT MCP arch: Comet Lake
gen: core 10 level: v3 built: 2020 process: Intel 14nm family: 6
model-id: 0xA5 (165) stepping: 3 microcode: 0xF0
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 1.5 MiB desc: 6x256 KiB
L3: 12 MiB desc: 1x12 MiB
Speed (MHz): avg: 3510 high: 4192 min/max: 800/4500 scaling:
driver: intel_cpufreq governor: schedutil cores: 1: 2495 2: 3300 3: 3442
4: 3547 5: 3649 6: 4080 7: 3440 8: 4192 9: 3511 10: 4077 11: 2700
12: 3694 bogomips: 74427
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: Enhanced IBRS
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 status: Vulnerable: eIBRS with unprivileged eBPF
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M] vendor: Tul
/ PowerColor driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: DP-1,DP-3 empty: DP-2,HDMI-A-1 bus-ID: 03:00.0
chip-ID: 1002:73df class-ID: 0300
Device-2: Lenovo FULL HD 1080P Webcam type: USB driver: uvcvideo
bus-ID: 1-8.4:6 chip-ID: 17ef:4823 class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 21.1.4 compositor: kwin_x11 driver: X:
loaded: amdgpu unloaded: modesetting,radeon alternate: fbdev,vesa
gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 3640x1920 s-dpi: 96 s-size: 963x508mm (37.91x20.00")
s-diag: 1089mm (42.87")
Monitor-1: DP-1 mapped: DisplayPort-0 pos: primary,bottom-r
model: Samsung LC32G5xT serial: <filter> built: 2020 res: 2560x1440 hz: 144
dpi: 93 gamma: 1.2 size: 698x393mm (27.48x15.47") diag: 806mm (31.7")
ratio: 16:9 modes: max: 2560x1440 min: 720x400
Monitor-2: DP-3 mapped: DisplayPort-2 pos: primary,top-left model: Lenovo
LEN T2424zA serial: <filter> built: 2016 res: 1080x1920 hz: 60 dpi: 93
gamma: 1.2 size: 296x527mm (11.65x20.75") diag: 604mm (23.8") ratio: 16:9
modes: max: 1920x1080 min: 720x400
OpenGL: renderer: AMD Radeon RX 6700 XT (navy_flounder LLVM 14.0.6 DRM
3.42 5.15.71-1-MANJARO) v: 4.6 Mesa 22.1.7 direct render: Yes
Audio:
Device-1: Intel Comet Lake PCH cAVS vendor: ASRock driver: snd_hda_intel
v: kernel bus-ID: 1-3:2 alternate: snd_soc_skl,snd_sof_pci_intel_cnl
chip-ID: 2e50:000e class-ID: 0300 bus-ID: 00:1f.3 chip-ID: 8086:06c8
serial: <filter> class-ID: 0403
Device-2: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
class-ID: 0403
Device-3: Beyerdynamic FOX type: USB
driver: hid-generic,snd-usb-audio,usbhid
Device-4: Lenovo T2424Z Monitor for USB-Audio type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-8.3:9 chip-ID: 17ef:a006
class-ID: 0300 serial: <filter>
Sound Server-1: ALSA v: k5.15.71-1-MANJARO running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 16.1 running: yes
Sound Server-4: PipeWire v: 0.3.58 running: yes
Network:
Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6 chip-ID: 8086:0d4d class-ID: 0200
IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
Drives:
Local Storage: total: 1.38 TiB used: 641.84 GiB (45.6%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix
model: HFM512GDHTNI-87A0B size: 476.94 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 11010C00 temp: 39.9 C scheme: GPT
ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500DM002-1BD142
size: 465.76 GiB block-size: physical: 4096 B logical: 512 B
speed: 6.0 Gb/s type: HDD rpm: 7200 serial: <filter> rev: KC48
scheme: MBR
ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
model: WD5000AAKX-001CA0 size: 465.76 GiB block-size: physical: 512 B
logical: 512 B speed: 6.0 Gb/s type: N/A serial: <filter> rev: 1H15
scheme: MBR
Partition:
ID-1: / raw-size: 411.11 GiB size: 403.59 GiB (98.17%) used: 367.41 GiB
(91.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 288 KiB
(0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 16.99 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
System Temperatures: cpu: 32.0 C pch: 52.0 C mobo: N/A gpu: amdgpu
temp: 55.0 C mem: 48.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
Processes: 339 Uptime: 47m wakeups: 0 Memory: 15.52 GiB used: 6.63 GiB
(42.7%) Init: systemd v: 251 default: graphical tool: systemctl
Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1811 pm: pacman pkgs: 1809
libs: 394 tools: pamac,yay pm: rpm pkgs: 0 pm: snap pkgs: 2 Shell: Zsh
v: 5.9 default: Bash v: 5.1.16 running-in: yakuake inxi: 3.3.21
Currently running: 5.15.71-1-MANJARO (linux515)
The following kernels are installed in your system:
* linux515
Server:
System:
Kernel: 5.15.71-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=485b4bbc-622b-4009-9d39-a55047a4c1c9
rw quiet udev.log_priority=3
Console: pty pts/0 DM: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: A320M-S2H v: N/A serial: <superuser required>
Mobo: Gigabyte model: A320M-S2H-CF v: x.x serial: <superuser required>
UEFI: American Megatrends v: F2 date: 11/03/2020
CPU:
Info: model: AMD Athlon 3000G with Radeon Vega Graphics bits: 64 type: MT MCP arch: Zen/Zen+
note: check gen: 1 level: v3 note: check built: 2019 process: GF 12nm family: 0x17 (23)
model-id: 0x18 (24) stepping: 1 microcode: 0x8108109
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 192 KiB desc: d-2x32
KiB; i-2x64 KiB L2: 1024 KiB desc: 2x512 KiB L3: 4 MiB desc: 1x4 MiB
Speed (MHz): avg: 1431 high: 1464 min/max: 1600/3500 boost: enabled scaling:
driver: acpi-cpufreq governor: schedutil cores: 1: 1464 2: 1421 3: 1422 4: 1420 bogomips: 27959
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT vulnerable
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP: disabled, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series] vendor: Gigabyte
driver: amdgpu v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
speed: 8 GT/s lanes: 16 ports: active: none empty: DP-1,DVI-D-1,HDMI-A-1 bus-ID: 07:00.0
chip-ID: 1002:15d8 class-ID: 0300 temp: 26.0 C
Display: x11 server: X.org v: 1.21.1.4 compositor: Picom v: git-7e568 driver: X:
loaded: amdgpu unloaded: modesetting alternate: fbdev,vesa dri: radeonsi gpu: amdgpu
tty: 284x76
Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 bus-ID: 07:00.1 chip-ID: 1002:15de class-ID: 0403
Device-2: AMD Family 17h/19h HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel pcie:
gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 07:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound API: ALSA v: k5.15.71-1-MANJARO running: yes
Sound Server-1: JACK v: 1.9.21 running: no
Sound Server-2: PulseAudio v: 16.1 running: no
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169
v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 2.84 TiB used: 268.36 GiB (9.2%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10PURZ-85U8XY0 size: 931.51 GiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400
serial: <filter> rev: 1A01 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WD10PURZ-85U8XY0 size: 931.51 GiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400
serial: <filter> rev: 1A01 scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD10PURZ-85U8XY0 size: 931.51 GiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400
serial: <filter> rev: 1A01 scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: A-Data model: SU650 size: 111.79 GiB block-size:
physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD serial: <filter> rev: 3R17 scheme: GPT
Partition:
ID-1: / raw-size: 111.49 GiB size: 109.18 GiB (97.93%) used: 14.99 GiB (13.7%) fs: ext4
dev: /dev/sdd2 maj-min: 8:50
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 288 KiB (0.1%) fs: vfat
dev: /dev/sdd1 maj-min: 8:49
Swap:
Alert: No swap data was found.
Sensors:
System Temperatures: cpu: 26.2 C mobo: N/A gpu: amdgpu temp: 26.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 197 Uptime: 20h 11m wakeups: 0 Memory: 13.6 GiB used: 1013.3 MiB (7.3%)
Init: systemd v: 251 default: graphical tool: systemctl Compilers: gcc: N/A Packages:
pm: pacman pkgs: 858 libs: 260 tools: pamac Shell: Bash v: 5.1.16 running-in: pty pts/0 (SSH)
inxi: 3.3.22
Currently running: 5.15.71-1-MANJARO (linux515)
The following kernels are installed in your system:
* linux515
I understand that cables could play a big role, but what puzzles me is that the Asus router reports the following:
Port
Link State
WAN
100 Mbps
LAN 1
1 Gbps
LAN 2
1 Gbps
LAN 3
Unplugged
LAN 4
Unplugged
As you can see, both LAN 1 (the PC) and LAN 2 (the server) are reported as connected at 1Gbps by the router. This being the case, I don’t see how it could be a hardware issue.
Both indicates gigabit connection but remember - there’s a lot of factors and network traffic is not a static line
packet collisions
network load
over all traffic
server load
client load
disk speed read/write
disk i/o
disk free space (especially for rotating disks)
kernel buffer sizes
swap …
not to mention system kernel settings …
1 Like
Hanzel
10 October 2022 19:26
7
I have the same behavior sometimes, for reference my network card (same vendor of one card)
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: up speed: 100 Mbps duplex: full mac: <filter>
sudo ifconfig enp5s0 down
sudo ifconfig enp5s0 up
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: ASRock driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1
port: f000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Cause unknown altho I suspect the zyxel router provided by my ISP is to blame. It seems to run a decade old linux kernel if I let nmap fingerprint it. And I know the person who has had a hand in the cabling (me) and I do confess to cutting corners and if it works leave it alone.
Checking logs for the driver name, in my case:
journalctl --boot | grep r8169
reveals some interesting lines in my case:
kernel: r8169 0000:05:00.0 enp5s0: Link is Up - 1Gbps/Full - flow control rx/tx
kernel: Generic FE-GE Realtek PHY r8169-0-500:00: Downshift occurred from negotiated speed 1Gbps to actual speed 100Mbps, check cabling!
kernel: r8169 0000:05:00.0 enp5s0: Link is Up - 100Mbps/Full (downshifted) - flow control rx/tx
Power cycling my router solves my issue most of the time, it has been up for 118 day’s so thanks for the reminder
1 Like
Interesting twist, I had already tried unplugging and plugging the network cables to the router multiple times to no improvement. After power cycling my router, the connection was still at the lower speed, however after I replugged the cable AFTER the power cycling, the issue went away. I am thinking it is either the router or the cable going to and from the server. I will investigate further but the issue is gone for now.
1 Like
system
Closed
13 October 2022 23:45
9
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.