You are not logged in.

#1 2017-02-20 12:29:09

ArchE470
Member
Registered: 2017-02-13
Posts: 10

Intermittent high ping and network delay

Hello,

when I browse through the web with my new Thinkpad notebook (E470) I experience sometimes a really high delay between a mouse click and the final webpage. The ping command to my router shows me an intermittent high ping. Here is an example with 1000 pings: http://pastebin.com/Gq6U5PDR

The end result of the 1000 pings:

Thinkpad Arch
--- 192.168.178.1 ping statistics ---
1000 packets transmitted, 857 received, 14% packet loss, time 102439ms
rtt min/avg/max/mdev = 2.504/104.074/1224.555/195.030 ms, pipe 12

On my older Ubuntu notebook the ping average is much smaller and no packet gets loss: http://pastebin.com/Uw9pMxAH

The result is here a lot better:

Acer Ubuntu
--- 192.168.178.1 ping statistics ---
1000 packets transmitted, 1000 received, 0% packet loss, time 100589ms
rtt min/avg/max/mdev = 1.166/6.700/115.428/10.210 ms, pipe 2

I've tried to disable ipv6, the power save mode of the wireless adapter and tlp, but all of this didn't worked. What else can I try to solve this problem?

Regards

Offline

#2 2017-02-20 16:42:41

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: Intermittent high ping and network delay

Wired or wireless? (you seem to imply wireless)
Same AP?
Same Band? (Is the AP multiband?)
What are the wireless subsystems on both machines? (post the output of lspci -v  )
Which driver are you using? (the -v switch in the lspci command above will cover this)
What is being used to control the network connection on Arch?  (post the output of find /etc/systemd )

What is the output of  iw dev theNameOfYourWirelessDevice link  In the example below theNameOfYourWirelessDevice is wlo1 Find yours using ip link.

ewaller@turing ~ 1017 %iw dev wlo1 link
Connected to d0:17:c2:60:24:5c (on wlo1)
	SSID: Woodlyn-hi
	freq: 5765
	RX: 103073723 bytes (191376 packets)
	TX: 28453830 bytes (141361 packets)
	signal: -50 dBm
	tx bitrate: 433.3 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 1

	bss flags:	short-slot-time
	dtim period:	3
	beacon int:	100
ewaller@turing ~ 1018 %

Last edited by ewaller (2017-02-20 16:43:31)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2017-02-20 17:13:44

ArchE470
Member
Registered: 2017-02-13
Posts: 10

Re: Intermittent high ping and network delay

1. Both notebooks are wireless.
2. The access point is the same.
3. What do you mean exactly with band? 2.4 and 5Ghz? The acer works with 2.4Ghz while the Thinkpad is jumping between the both bands. It makes no difference to the problem in which band the thinkpad is.
4.1./5.1. Thinkpad Arch

$ lspci -v
00:00.0 Host bridge: Intel Corporation Device 5904 (rev 02)
	Subsystem: Lenovo Device 505b
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02) (prog-if 00 [VGA controller])
	Subsystem: Lenovo Device 505b
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Memory at f0000000 (64-bit, non-prefetchable) [size=16M]
	Memory at e0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at e000 [size=64]
	[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) (prog-if 30 [XHCI])
	Subsystem: Lenovo Device 505b
	Flags: bus master, medium devsel, latency 0, IRQ 120
	Memory at f1300000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
	Subsystem: Lenovo Device 505b
	Flags: fast devsel, IRQ 18
	Memory at f132a000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel_pch_thermal
	Kernel modules: intel_pch_thermal

00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
	Subsystem: Lenovo Device 505b
	Flags: bus master, fast devsel, latency 0, IRQ 122
	Memory at f132b000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) (prog-if 01 [AHCI 1.0])
	Subsystem: Lenovo Device 505b
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 121
	Memory at f1328000 (32-bit, non-prefetchable) [size=8K]
	Memory at f132e000 (32-bit, non-prefetchable) [size=256]
	I/O ports at e080 [size=8]
	I/O ports at e088 [size=4]
	I/O ports at e060 [size=32]
	Memory at f132c000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1c.0 PCI bridge: Intel Corporation Device 9d10 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: 7f800000-7f9fffff
	Prefetchable memory behind bridge: 000000007fa00000-000000007fbfffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	Memory behind bridge: f1200000-f12fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: 7fc00000-7fdfffff
	Prefetchable memory behind bridge: 000000007fe00000-000000007fffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.3 PCI bridge: Intel Corporation Device 9d1b (rev f1) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 19
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	Memory behind bridge: f1000000-f11fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1f.0 ISA bridge: Intel Corporation Device 9d58 (rev 21)
	Subsystem: Lenovo Device 505b
	Flags: bus master, medium devsel, latency 0

00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
	Subsystem: Lenovo Device 505b
	Flags: fast devsel
	Memory at f1324000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 Audio device: Intel Corporation Device 9d71 (rev 21)
	Subsystem: Lenovo Device 505b
	Flags: bus master, fast devsel, latency 64, IRQ 125
	Memory at f1320000 (64-bit, non-prefetchable) [size=16K]
	Memory at f1310000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_soc_skl

00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
	Subsystem: Lenovo Device 505b
	Flags: medium devsel, IRQ 16
	Memory at f132d000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

02:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01) (prog-if 01)
	Subsystem: Lenovo Device 505b
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at f1201000 (32-bit, non-prefetchable) [size=4K]
	Memory at f1200000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: sdhci-pci
	Kernel modules: sdhci_pci

04:00.0 Network controller: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 31)
	Subsystem: Lenovo Device 0901
	Flags: bus master, fast devsel, latency 0, IRQ 124
	Memory at f1000000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: <access denied>
	Kernel driver in use: ath10k_pci
	Kernel modules: ath10k_pci

4.2./5.2. Acer Ubuntu

$ lspci -v
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 18)
	Subsystem: Acer Incorporated [ALI] Core Processor DRAM Controller
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 18) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 24
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: cc000000-cc0fffff
	Prefetchable memory behind bridge: 00000000c0000000-00000000c7ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
	Subsystem: Acer Incorporated [ALI] 5 Series/3400 Series Chipset HECI Controller
	Flags: bus master, fast devsel, latency 0, IRQ 27
	Memory at cc106100 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
	Flags: medium devsel, IRQ 16
	Memory at cc105c00 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
	Subsystem: Acer Incorporated [ALI] 5 Series/3400 Series Chipset High Definition Audio
	Flags: bus master, fast devsel, latency 0, IRQ 28
	Memory at cc100000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: cb000000-cbffffff
	Prefetchable memory behind bridge: 00000000c8000000-00000000c8ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00001000-00001fff
	Memory behind bridge: ca000000-caffffff
	Prefetchable memory behind bridge: 00000000c9000000-00000000c9ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05) (prog-if 20 [EHCI])
	Subsystem: Acer Incorporated [ALI] 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
	Flags: medium devsel, IRQ 23
	Memory at cc105800 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5) (prog-if 01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
	Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation HM55 Chipset LPC Interface Controller (rev 05)
	Subsystem: Acer Incorporated [ALI] HM55 Chipset LPC Interface Controller
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: Acer Incorporated [ALI] 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 25
	I/O ports at 4048 [size=8]
	I/O ports at 4054 [size=4]
	I/O ports at 4040 [size=8]
	I/O ports at 4050 [size=4]
	I/O ports at 4020 [size=32]
	Memory at cc105000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
	Subsystem: Acer Incorporated [ALI] 5 Series/3400 Series Chipset SMBus Controller
	Flags: medium devsel, IRQ 10
	Memory at cc106000 (64-bit, non-prefetchable) [size=256]
	I/O ports at 4000 [size=32]
	Kernel modules: i2c_i801

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Robson CE [Radeon HD 6370M/7370M] (prog-if 00 [VGA controller])
	Subsystem: Acer Incorporated [ALI] Robson CE [Radeon HD 6370M/7370M]
	Flags: bus master, fast devsel, latency 0, IRQ 26
	Memory at c0000000 (64-bit, prefetchable) [size=128M]
	Memory at cc000000 (64-bit, non-prefetchable) [size=128K]
	I/O ports at 3000 [size=256]
	Expansion ROM at cc040000 [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: radeon
	Kernel modules: radeon

01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]
	Subsystem: Acer Incorporated [ALI] Cedar HDMI Audio [Radeon HD 5400/6300 Series]
	Flags: bus master, fast devsel, latency 0, IRQ 29
	Memory at cc020000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

02:00.0 Ethernet controller: Qualcomm Atheros AR8151 v1.0 Gigabit Ethernet (rev c0)
	Subsystem: Acer Incorporated [ALI] AR8151 v1.0 Gigabit Ethernet
	Flags: bus master, fast devsel, latency 0, IRQ 30
	Memory at cb000000 (64-bit, non-prefetchable) [size=256K]
	I/O ports at 2000 [size=128]
	Capabilities: <access denied>
	Kernel driver in use: atl1c
	Kernel modules: atl1c

03:00.0 Network controller: Broadcom Corporation BCM43225 802.11b/g/n (rev 01)
	Subsystem: Foxconn International, Inc. T77H103.00 Wireless Half-size Mini PCIe Card
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Memory at ca000000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: wl
	Kernel modules: bcma, wl

7f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
	Subsystem: Acer Incorporated [ALI] Core Processor QuickPath Architecture Generic Non-core Registers
	Flags: bus master, fast devsel, latency 0

7f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 05)
	Subsystem: Acer Incorporated [ALI] Core Processor QuickPath Architecture System Address Decoder
	Flags: bus master, fast devsel, latency 0

7f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 05)
	Subsystem: Acer Incorporated [ALI] Core Processor QPI Link 0
	Flags: bus master, fast devsel, latency 0

7f:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 05)
	Subsystem: Acer Incorporated [ALI] 1st Generation Core i3/5/7 Processor QPI Physical 0
	Flags: bus master, fast devsel, latency 0

7f:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)
	Subsystem: Acer Incorporated [ALI] 1st Generation Core i3/5/7 Processor Reserved
	Flags: bus master, fast devsel, latency 0

7f:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 05)
	Subsystem: Acer Incorporated [ALI] 1st Generation Core i3/5/7 Processor Reserved
	Flags: bus master, fast devsel, latency 0

6.1. Thinkpad Arch

$ find /etc/systemd
/etc/systemd
/etc/systemd/network
/etc/systemd/journal-remote.conf
/etc/systemd/coredump.conf
/etc/systemd/journal-upload.conf
/etc/systemd/resolved.conf
/etc/systemd/system.conf
/etc/systemd/journald.conf
/etc/systemd/user
/etc/systemd/user/default.target.wants
/etc/systemd/user/default.target.wants/xdg-user-dirs-update.service
/etc/systemd/user/sockets.target.wants
/etc/systemd/user/sockets.target.wants/pulseaudio.socket
/etc/systemd/logind.conf
/etc/systemd/timesyncd.conf
/etc/systemd/system
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/dbus-org.freedesktop.NetworkManager.service
/etc/systemd/system/printer.target.wants
/etc/systemd/system/printer.target.wants/org.cups.cupsd.service
/etc/systemd/system/sockets.target.wants
/etc/systemd/system/sockets.target.wants/org.cups.cupsd.socket
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/dbus-org.freedesktop.Avahi.service
/etc/systemd/system/sleep.target.wants
/etc/systemd/system/sleep.target.wants/tlp-sleep.service
/etc/systemd/system/systemd-rfkill.service
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/acpid.service
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/multi-user.target.wants/tlp.service
/etc/systemd/system/multi-user.target.wants/ntpd.service
/etc/systemd/system/multi-user.target.wants/cronie.service
/etc/systemd/system/multi-user.target.wants/org.cups.cupsd.path
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/user.conf

6.2. Acer Ubuntu

$ find /etc/systemd
/etc/systemd/
/etc/systemd/logind.conf
/etc/systemd/resolved.conf
/etc/systemd/bootchart.conf
/etc/systemd/network
/etc/systemd/system
/etc/systemd/system/timers.target.wants
/etc/systemd/system/timers.target.wants/snapd.refresh.timer
/etc/systemd/system/timers.target.wants/apt-daily.timer
/etc/systemd/system/hibernate.target.wants
/etc/systemd/system/hibernate.target.wants/anacron-resume.service
/etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service
/etc/systemd/system/rsyslog.service
/etc/systemd/system/display-manager.service
/etc/systemd/system/dbus-org.freedesktop.ModemManager1.service
/etc/systemd/system/dbus-org.freedesktop.Avahi.service
/etc/systemd/system/default.target.wants
/etc/systemd/system/default.target.wants/ureadahead.service
/etc/systemd/system/sleep.target.wants
/etc/systemd/system/sleep.target.wants/tlp-sleep.service
/etc/systemd/system/graphical.target.wants
/etc/systemd/system/graphical.target.wants/accounts-daemon.service
/etc/systemd/system/suspend.target.wants
/etc/systemd/system/suspend.target.wants/anacron-resume.service
/etc/systemd/system/sysinit.target.wants
/etc/systemd/system/sysinit.target.wants/brltty.service
/etc/systemd/system/sysinit.target.wants/resolvconf.service
/etc/systemd/system/sysinit.target.wants/friendly-recovery.service
/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service
/etc/systemd/system/syslog.service
/etc/systemd/system/teamviewerd.service
/etc/systemd/system/display-manager.service.wants
/etc/systemd/system/display-manager.service.wants/gpu-manager.service
/etc/systemd/system/hybrid-sleep.target.wants
/etc/systemd/system/hybrid-sleep.target.wants/anacron-resume.service
/etc/systemd/system/bluetooth.target.wants
/etc/systemd/system/bluetooth.target.wants/bluetooth.service
/etc/systemd/system/paths.target.wants
/etc/systemd/system/paths.target.wants/acpid.path
/etc/systemd/system/getty.target.wants
/etc/systemd/system/getty.target.wants/getty@tty1.service
/etc/systemd/system/network-online.target.wants
/etc/systemd/system/network-online.target.wants/networking.service
/etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service
/etc/systemd/system/printer.target.wants
/etc/systemd/system/printer.target.wants/cups.service
/etc/systemd/system/sockets.target.wants
/etc/systemd/system/sockets.target.wants/apport-forward.socket
/etc/systemd/system/sockets.target.wants/snapd.socket
/etc/systemd/system/sockets.target.wants/acpid.socket
/etc/systemd/system/sockets.target.wants/uuidd.socket
/etc/systemd/system/sockets.target.wants/avahi-daemon.socket
/etc/systemd/system/sockets.target.wants/cups.socket
/etc/systemd/system/dbus-org.bluez.service
/etc/systemd/system/multi-user.target.wants
/etc/systemd/system/multi-user.target.wants/snapd.autoimport.service
/etc/systemd/system/multi-user.target.wants/snapd.firstboot.service
/etc/systemd/system/multi-user.target.wants/NetworkManager.service
/etc/systemd/system/multi-user.target.wants/rsyslog.service
/etc/systemd/system/multi-user.target.wants/tlp.service
/etc/systemd/system/multi-user.target.wants/atd.service
/etc/systemd/system/multi-user.target.wants/cups.path
/etc/systemd/system/multi-user.target.wants/remote-fs.target
/etc/systemd/system/multi-user.target.wants/avahi-daemon.service
/etc/systemd/system/multi-user.target.wants/binfmt-support.service
/etc/systemd/system/multi-user.target.wants/pppd-dns.service
/etc/systemd/system/multi-user.target.wants/snapd.boot-ok.service
/etc/systemd/system/multi-user.target.wants/syslog-ng.service
/etc/systemd/system/multi-user.target.wants/snapd.service
/etc/systemd/system/multi-user.target.wants/networking.service
/etc/systemd/system/multi-user.target.wants/teamviewerd.service
/etc/systemd/system/multi-user.target.wants/cron.service
/etc/systemd/system/multi-user.target.wants/avahi-dnsconfd.service
/etc/systemd/system/multi-user.target.wants/snapd.refresh.timer
/etc/systemd/system/multi-user.target.wants/ModemManager.service
/etc/systemd/system/multi-user.target.wants/whoopsie.service
/etc/systemd/system/multi-user.target.wants/cups-browsed.service
/etc/systemd/system/multi-user.target.wants/fancontrol.service
/etc/systemd/system/multi-user.target.wants/lm-sensors.service
/etc/systemd/system/multi-user.target.wants/anacron.service
/etc/systemd/system/multi-user.target.wants/ufw.service
/etc/systemd/timesyncd.conf
/etc/systemd/system.conf
/etc/systemd/journald.conf
/etc/systemd/user
/etc/systemd/user.conf

7.1. Thinkpad Arch

$ iw dev wlp4s0 link
Connected to 08:96:d7:48:3e:1e (on wlp4s0)
	SSID: FRITZ!Box 7390A
	freq: 2427
	RX: 2009117 bytes (11812 packets)
	TX: 318132 bytes (1494 packets)
	signal: -67 dBm
	tx bitrate: 1.0 MBit/s

	bss flags:	short-preamble short-slot-time
	dtim period:	1
	beacon int:	100

7.2. Acer Ubuntu

$ iw dev wlp3s0 link
Connected to 08:96:d7:48:3e:1e (on wlp3s0)
	SSID: FRITZ!Box 7390A
	freq: 2427
	signal: -58 dBm
	tx bitrate: 104.0 MBit/s

I hope this helps to identify the problem.

Offline

#4 2017-02-20 17:47:11

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: Intermittent high ping and network delay

It appears that both systems are using NetworkManager.  I checked over the Arch configuration and do not see multiple things trying to control the network -- a common configuration error.
The Ubuntu machine uses a Broadcom BCM43225 which is capable of b/c/n modes.
The Arch machine uses a Qualcomm Atheros QCA9377 802.11ac which is capable of ac operation and, one would expect, should outperform the Broadcom part.
As the two machines don't use the same radio, it is folly to compare signal levels, except to note that -67dBm is getting down in the mud.  What really catches my eye is:

tx bitrate: 1.0 MBit/s

compare that to mine ( Intel Wireless, ac mode, 5GHz band, 80 MHz BW)

tx bitrate: 433.3 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 1

How far are you from the AP?  Do you own the AP and do you have access to administer the AP?
The ath10k_pci driver seems to be the correct driver for your board, but I have no experience with the Atheros 10k chip set.  Let me poke around that for a bit...


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2017-02-20 17:59:39

ArchE470
Member
Registered: 2017-02-13
Posts: 10

Re: Intermittent high ping and network delay

The AP is 5 meters away from both notebooks. I've a full access to the AP. What I've noticed now is that the connection is interrupted sometimes. The dmesg output is full of:

[10149.889317] wlp4s0: disconnect from AP 08:96:d7:48:3e:1e for new auth to 08:96:d7:48:3e:1d
[10149.901445] wlp4s0: authenticate with 08:96:d7:48:3e:1d
[10149.931703] wlp4s0: send auth to 08:96:d7:48:3e:1d (try 1/3)
[10149.933541] wlp4s0: send auth to 08:96:d7:48:3e:1d (try 2/3)
[10149.934895] wlp4s0: send auth to 08:96:d7:48:3e:1d (try 3/3)
[10149.936186] wlp4s0: authentication with 08:96:d7:48:3e:1d timed out
[10149.976209] ath10k_pci 0000:04:00.0: no channel configured; ignoring frame(s)!
[10150.118421] wlp4s0: authenticate with 08:96:d7:48:3e:1e
[10150.158862] wlp4s0: send auth to 08:96:d7:48:3e:1e (try 1/3)
[10150.164039] wlp4s0: authenticated
[10150.165667] wlp4s0: associate with 08:96:d7:48:3e:1e (try 1/3)
[10150.173522] wlp4s0: RX AssocResp from 08:96:d7:48:3e:1e (capab=0x431 status=0 aid=3)
[10150.176880] wlp4s0: associated

Offline

#6 2017-02-20 18:20:07

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,785

Re: Intermittent high ping and network delay

Interesting.  The last bit of the MAC is different.  It disconnected from :1d, tried to reconnect, timed out, connected to :1e.  I'll bet this is the 2.5GHz band vs the 5GHz band.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2017-02-20 21:46:44

Cubik2
Member
Registered: 2017-02-20
Posts: 8

Re: Intermittent high ping and network delay

Hi,

Have you tried wicd?

I was using Network Manager with similar connection issues and delays - switching to wicd.service solved this.  I think some configurations of NM set the system up for a very basic server, with low download speeds and higher upload speeds (1mbs/4mbs), along with constant disassociating and reassociating with the wifi router.  I could not find a way to change the NM setup so switched to wicd without issues.  Strangely seen through tcpdump NM also seemed to ping the arch developer server often on every association. /?


Aucune entrée de manuel pour enthousiasme

Offline

#8 2017-02-22 12:49:25

ArchE470
Member
Registered: 2017-02-13
Posts: 10

Re: Intermittent high ping and network delay

I'm sorry for the late reply. I've tried many things to solve the problem.

@ewaller: By changing the BSSID though the networkmanager for both bands I could not experience any improvement. Then I've disabled the 5Ghz band in the router settings. The pings are much better now! But I've still some peaks between 100-400ms. What can I do to debug these peaks?

@cubik: I've tried wicd, but it never showed me any wireless networks. After some searching I've found a better way by just connecting manually without any connection manager with wpa_supplicant. Unfortunately there was no improvement by connecting manually.

I've also replaced the ath10k wifi firmware with the file of the git repository. Nothing has changed by replacing the firmware.

Offline

#9 2017-02-22 21:10:55

Cubik2
Member
Registered: 2017-02-20
Posts: 8

Re: Intermittent high ping and network delay

Ok, thanks for your reply e470.  Guess I've still got a bit of a bee in my bonnet over Network Manager.  I guess your last resort would be ndiswrapper - I was pretty close to that with my bcm/nm combo a few weeks back - may still be in the running as bcm is still a bit shaky without the firmware that I should probably get around to installing. Still I wanted an older machine for some compatibility reasons so I guess I should live with it.


Aucune entrée de manuel pour enthousiasme

Offline

#10 2017-02-23 15:53:36

ArchE470
Member
Registered: 2017-02-13
Posts: 10

Re: Intermittent high ping and network delay

The whole day I've been trying to eliminate the ping peaks. The networkmanager is definitely the source of the problem after my tests with another wireless adapter and the USB-Tethering feature of my smartphone. I've installed almost every networkmanager for arch (wicd, connman, wifi-radar). With wicd I had a perfect run, but after a reboot nothing has worked anymore. The other two are not easy to use and had many problems. Beside the small peaks I've also identified, that networkmanager does a scan every 2 minutes which also causes high pings. By installing networkmanager-noscan the scan peaks are probably gone now. Is it normal that after replacing networkmanager with networkmanager-noscan the service still has the same name NetworkManager.service?

It's sad that a Thinkpad, where I expect that everything works fine with linux, has such a network problem... Even an old Acer notebook performs better. The solution with ndiswrapper and a windows driver seems not really promising. I better safe the time.

Offline

#11 2017-02-23 19:45:28

Cubik2
Member
Registered: 2017-02-20
Posts: 8

Re: Intermittent high ping and network delay

Wicd also has a service - wicd.service that, like networkmanager should auto-connect after boot.  This is maybe a bit slower to connect than nm, as it normally disrupts my console login rather than connecting prior to login. But it doesn't scan, unless requested, or repeatedly feel the need to re-authenticate - which may be causing the issue - there is a low power state that nm seems to have somewhere in the config, and I was always getting notifications for power state changes - which I no longer get.

So maybe nm puts the radio into a low power state when it is not active and then has to bring it back out of that state when you want to do something - your ping may be operating on both these states - hence low/high responses.  Maybe the good thing about the standard kernel bcm driver is that it's pretty much in debug mode and lets us know what's going on, so nm playing the fiddle on this device is quite obvious.

Just a note on my setup - I disabled NetworkManager.service and the NetworkManager WaitOnLine.service (check the name for this service) and then enabled wicd.service, and everything worked fine, and has continued to do so, even after rfkills and radio restarts.  Some people say that dhcpd service also needs to be disabled as wicd has it's own version and they may conflict.  I haven't done much ping analysis, but my speedtest-cli results are more than satisfactory now, and my needs are probably not as finite.

I did the initial setup with wicd-gtk, but think the wicd-cli tools are more straightforward (excluding wicd-curses which freezes) than the nmcli tool, and the monster manual that is confusing as hell.

I think, like you, that it is the probably the manager that is the issue rather than the driver, but I am not familiar with the ath drivers.


Aucune entrée de manuel pour enthousiasme

Offline

Board footer

Powered by FluxBB