LM18 Network Connections Slow [Solved]

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rimcMT

LM18 Network Connections Slow [Solved]

Post by rimcMT »

Fresh install of LM18 Cinnamon works fine except all network connections seem very slow to start.

Examples: New Firefox defaults to http://www.linuxmint.com, it sits there for 20 seconds doing nothing at "Looking up . . . " - then the page loads fine.
If I use Software Manager to install "namebench" same thing, it sits there doing nothing, waiting, for up to 20 seconds then installs without problem.
All network actions seem similarly affected - slow to start. Throughput once things start seems normal.

If I boot the LM18 LiveCD I see the same delays.
I have LM17.3 installed in another partition on the same hardware and do not see these issues. It's unique to LM18.
I'm using a wired connection.

System diagnostic info:

Code: Select all

rimc@ts140 ~ $ date
Thu Dec  8 11:10:19 MST 2016
rimc@ts140 ~ $ inxi -Fxz
System:    Host: ts140 Kernel: 4.4.0-47-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.0.7 (Gtk 3.18.9-1ubuntu3.1)
           Distro: Linux Mint 18 Sarah
Machine:   System: LENOVO product: ThinkServer TS140 v: 70A4000HUX
           Mobo: LENOVO model: ThinkServer TS140
           Bios: LENOVO v: FBKT48AUS date: 08/26/2013
CPU:       Dual core Intel Core i3-4130 (-HT-MCP-) cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13568
           clock speeds: max: 3400 MHz 1: 873 MHz 2: 1772 MHz 3: 1798 MHz
           4: 1544 MHz
Graphics:  Card: Intel 4th Generation Core Processor Family Integrated Graphics Controller
           bus-ID: 00:02.0
           Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1600x1200@60.03hz
           GLX Renderer: Mesa DRI Intel Haswell
           GLX Version: 3.0 Mesa 11.2.0 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
           Card-3 Texas Instruments Audio Codec
           driver: USB Audio usb-ID: 003-002
           Sound: Advanced Linux Sound Architecture v: k4.4.0-47-generic
Network:   Card: Intel Ethernet Connection I217-LM
           driver: e1000e v: 3.2.6-k port: f080 bus-ID: 00:19.0
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 2525.5GB (11.4% used)
           ID-1: /dev/sda model: Crucial_CT525MX3 size: 525.1GB
           ID-2: /dev/sdb model: WDC_WD20EARX size: 2000.4GB
Partition: ID-1: / size: 96G used: 9.9G (11%) fs: ext4 dev: /dev/sda2
           ID-2: swap-1 size: 34.36GB used: 0.00GB (0%) fs: swap dev: /dev/sda1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 202 Uptime: 2 min Memory: 421.1/7778.9MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.421) inxi: 2.2.35 
rimc@ts140 ~ $ 

# RIMc 

rimc@ts140 ~ $ date
Thu Dec  8 11:12:04 MST 2016
rimc@ts140 ~ $ ifconfig -a
eno1      Link encap:Ethernet  HWaddr fc:4d:d4:f4:82:8b  
          inet addr:192.168.1.14  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::f532:2b8e:795f:9047/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:715 errors:0 dropped:0 overruns:0 frame:0
          TX packets:736 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:189884 (189.8 KB)  TX bytes:118212 (118.2 KB)
          Interrupt:20 Memory:f7c00000-f7c20000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:462 errors:0 dropped:0 overruns:0 frame:0
          TX packets:462 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:44838 (44.8 KB)  TX bytes:44838 (44.8 KB)

rimc@ts140 ~ $ 

# RIMc

rimc@ts140 ~ $ date
Thu Dec  8 11:13:47 MST 2016
rimc@ts140 ~ $ iwconfig
lo        no wireless extensions.

eno1      no wireless extensions.

Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
rimcMT

Re: LM18 Network Connections Slow

Post by rimcMT »

I went in search of some objective data for this problem. Firefox has a nice utility that traces network activity and timings. Activate this from Tools->Web Developer->Network. I used this to compare activity when loading http://www.linuxmint.com. In LM 18 it "hangs" at the second trace event:
200 GET / http://www.linuxmint.com JS Document html

Comparing timings for this event:
Step | LM 17.3 LM 18
DNS resolution: 0 ms 0 ms
Connecting: 167 ms 15404 ms !
Sending: 0 ms 0 ms
Waiting: 328 ms 329 ms
Receiving: 0 ms 0 ms
> The documentation describes "Connecting;" as "Time taken to create a TCP connection."

Retrying the traces on this URL show consistent slow response on this step in LM18. Many other URLs show the same thing. But there are many other that do not see this delay ?

Sorry for the typed data. While I can save the traces as HAR (?) files I can't seem to cut/paste any of the data displayed.
rimcMT

Re: LM18 Network Connections Slow

Post by rimcMT »

This "slowness" problem requires three conditions:
1) Linux Mint 18
2) Lenovo TS140
3) My Netgear Modem R6050

So eliminating any one seems to fix the problem. So I replaced the Netgear with an ASUS RT-AC56R. It seemed the easiest/cheapest option. Everything is working fine for now . . .
Locked

Return to “Networking”