Resolving hosts extremely slow

Questions about cabled networking
Forum rules
Before you post please read how to get help
Post Reply
linuxszr
Level 1
Level 1
Posts: 3
Joined: Tue Mar 20, 2018 6:37 pm

Resolving hosts extremely slow

Post by linuxszr » Tue Mar 20, 2018 6:50 pm

Hello there,

I installed Linux Mint 18.3 Cinnamon some months ago.
As I never used Linux this long everything was new to me.
But since the very beginning my internet speed was extremely slow. At first i thought it was because my network connection at work was bad but now I am at home and can confirm that it is indeed super slow to open websites.

Following is the observable behaviour:
Chrome start -> Open any website -> Loads for about 10 - 15 seconds -> opens page
Second try without restart after visiting another site -> Open same site which was loaded once -> instant loaded

My internet connection is a 100 Mbit/s so that should be no problem.

After some research I tried using google DNS 8.8.8.8 or OpenDNS.
I deaktivated ipv6
I checkted /etc/nsswitch.conf for weard samba entries
I turned DNSSSEC off as it was a problem for some guy i found
I did nslookup for google for example and tried the same with the ip afterwards its both slow.

There is a noticable wait time when I ping www.google.com in comparison to using the ip instead:

Code: Select all

ping www.google.com
PING www.google.com (216.58.198.4) 56(84) bytes of data.
64 bytes from mil04s03-in-f4.1e100.net (216.58.198.4): icmp_seq=1 ttl=55 time=21.8 ms
64 bytes from mil04s03-in-f4.1e100.net (216.58.198.4): icmp_seq=2 ttl=55 time=21.8 ms
64 bytes from mil04s03-in-f4.1e100.net (216.58.198.4): icmp_seq=3 ttl=55 time=22.0 ms
^C
--- www.google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 6038ms
rtt min/avg/max/mdev = 21.821/21.907/22.028/0.192 ms

Code: Select all

ping 216.58.198.4
PING 216.58.198.4 (216.58.198.4) 56(84) bytes of data.
64 bytes from 216.58.198.4: icmp_seq=1 ttl=55 time=21.8 ms
64 bytes from 216.58.198.4: icmp_seq=2 ttl=55 time=21.3 ms
64 bytes from 216.58.198.4: icmp_seq=3 ttl=55 time=21.1 ms
64 bytes from 216.58.198.4: icmp_seq=4 ttl=55 time=20.9 ms
^C
--- 216.58.198.4 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 20.909/21.316/21.818/0.381 ms
As little addition: It doesn't matter if I use wireless or wired connections.

Nothing I found helped so far.

I just tried a Ubuntu 16.4 LTS in liveboot and installed chrome. Websites are loading almost instantly.

Please help because I don't want to switch to ubuntu or any other distribution than mint but can't work like that anymore.

Greetings
linuxszr

deepakdeshp
Level 10
Level 10
Posts: 3362
Joined: Sun Aug 09, 2015 10:00 am

Re: Resolving hosts extremely slow

Post by deepakdeshp » Wed Mar 21, 2018 4:23 am

Paste the output of command

Code: Select all

inxi -Fxz
.
Boot from Live USB , is the behavior same?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 18.3 Cinnamon 64 bit with AMD processor . Memory 8GB

linuxszr
Level 1
Level 1
Posts: 3
Joined: Tue Mar 20, 2018 6:37 pm

Re: Resolving hosts extremely slow

Post by linuxszr » Wed Mar 21, 2018 5:13 am

Requested output:

Code: Select all

System:    Host: lapmint Kernel: 4.13.0-37-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.6.7 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: LENOVO (portable) product: 20AV002WGE v: ThinkPad L540
           Mobo: LENOVO model: 20AV002WGE v: 0B98401 Pro
           Bios: LENOVO v: J4ET87WW(1.87) date: 09/21/2016
CPU:       Dual core Intel Core i5-4200M (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 9977
           clock speeds: max: 3100 MHz 1: 2494 MHz 2: 2494 MHz 3: 2494 MHz
           4: 2494 MHz
Graphics:  Card: Intel 4th Gen Core Processor Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.06hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile
           GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller
           driver: snd_hda_intel bus-ID: 00:03.0
           Sound: Advanced Linux Sound Architecture v: k4.13.0-37-generic
Network:   Card-1: Intel Ethernet Connection I217-V
           driver: e1000e v: 3.2.6-k port: 5080 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Wireless 7260 driver: iwlwifi bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Drives:    HDD Total Size: 256.1GB (14.0% used)
           ID-1: /dev/sda model: Crucial_CT256MX1 size: 256.1GB
Partition: ID-1: / size: 52G used: 26G (53%) fs: ext4 dev: /dev/sda5
           ID-2: swap-1 size: 8.30GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 47.0C mobo: 36.0C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 339 Uptime: 2:31 Memory: 1664.8/7701.6MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (zsh 5.1.1) inxi: 2.2.35 
Do you mean live boot with mint? If yes I'll try as soon as I'm at home.

linuxszr
Level 1
Level 1
Posts: 3
Joined: Tue Mar 20, 2018 6:37 pm

Re: Resolving hosts extremely slow

Post by linuxszr » Fri Mar 23, 2018 5:06 am

Need help. This is really annoying... for example I can't even listen to spotify because the client can't resolve the requests fast enought so it seems...

Post Reply

Return to “Ethernet”