Brand new laptop became un-usuable

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
midair77
Level 1
Level 1
Posts: 3
Joined: Tue Apr 03, 2018 4:39 pm

Brand new laptop became un-usuable

Post by midair77 » Tue Apr 03, 2018 5:09 pm

Hi all,

I have ran into this weird issue with Dell Lattitude 5580 and System76 Galago Pro (galp 3) as both are brand new. I updated both to the latest updates and all but after a couple of weeks using them my interactive activities such as typing, swtiching windows would suffer a long delay up to a couple of seconds from one action to the next. For example, when I type something things become unresponsive right in the middle of my typing and the letters might not show up immediately or I just could not start typing the next letters or words. In the case of moving around and clicking on windows and switching around things do not happen right away but there are long delays between the actions.

These are multicore Intel machines with at least 16 gigs of RAM, SSDs and decent graphic cards (Intel or Nvidia) and I just do not think the laptop got hacked or compromised for crypto mining or anything because the CPUs usage are neglible. When I ran top/htop, the loads have been nothing, and there has been no swapping or anything. I checked wireless/wired interfaces and there have been no excessive traffics. I have not tuned the SSD but running iotop I could not see any big write/read (just some less than 300 K/s disk writes here and there). I check ed the interrupts and suspected accessive interrupts might be the causes but upon doing some research irqbalance seems to be the norm to have on multicore laptops. I am out of ideas of what could be wrong. I have another thinkpad and it works just fine without any issue using the same version of Mint (Cinammon).

Kernel
Linux nonce 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Interrupts:

Code: Select all

cat /proc/interrupts 
            CPU0       CPU1       CPU2       CPU3       CPU4       CPU5       CPU6       CPU7       
   0:         28          0          0          0          0          0          0          0  IR-IO-APIC    2-edge      timer
   1:         30       7847       6313       4697      41515       7029       5282       4009  IR-IO-APIC    1-edge      i8042
   8:          0          0          0          1          0          0          0          0  IR-IO-APIC    8-edge      rtc0
   9:         16        446        343        332       2057        431        289        261  IR-IO-APIC    9-fasteoi   acpi
  12:       1487     191016     141449      98963     986330     153077     117302      88218  IR-IO-APIC   12-edge      i8042
 120:          0          0          0          0          0          0          0          0  DMAR-MSI    0-edge      dmar0
 121:          0          0          0          0          0          0          0          0  DMAR-MSI    1-edge      dmar1
 122:          1          1          0          0          0          1          1          0  IR-PCI-MSI 458752-edge      aerdrv
 123:          0          0          0          0          0          0          0          0  IR-PCI-MSI 466944-edge      aerdrv
 124:          0          0          0          0          0          0          0          0  IR-PCI-MSI 468992-edge      aerdrv
 125:          0          0          0          0          0          0          0          0  IR-PCI-MSI 475136-edge      aerdrv
 126:       1845         33     450748         46     552077     333415    6526148     412222  IR-PCI-MSI 30932992-edge      iwlwifi
 127:          6         20          9          8         83         40         53         40  IR-PCI-MSI 514048-edge      snd_hda_intel:card0
 128:      22504          0          0          0          0          0          0          0  IR-PCI-MSI 31457280-edge      nvme0q0, nvme0q1
 129:          0      23817          0          0          0          0          0          0  IR-PCI-MSI 31457281-edge      nvme0q2
 130:       1035     225500        328     200688     248969     305215        315     179661  IR-PCI-MSI 327680-edge      xhci_hcd
 131:         28          0          1          1         10          0          0          0  IR-PCI-MSI 30408704-edge      rtsx_pci
 132:          0          0          0          0          0          0          0          0  IR-PCI-MSI 376832-edge      ahci[0000:00:17.0]
 133:          0          0      21583          0          0          0          0          0  IR-PCI-MSI 31457282-edge      nvme0q3
 134:          0          0          0          0          0    4106276          0          0  IR-PCI-MSI 30410752-edge      enp58s0f1
 135:       2479         30         24         83        106   13537742   10273099         36  IR-PCI-MSI 32768-edge      i915
 136:          0          0          0      20087          0          0          0          0  IR-PCI-MSI 31457283-edge      nvme0q4
 137:          0          0          0          0      18718          0          0          0  IR-PCI-MSI 31457284-edge      nvme0q5
 138:          0          0          0          0          0      16243          0          0  IR-PCI-MSI 31457285-edge      nvme0q6
 139:          0          0          0          0          0          0      21275          0  IR-PCI-MSI 31457286-edge      nvme0q7
 140:          0          0          0          0          0          0          0      18968  IR-PCI-MSI 31457287-edge      nvme0q8
 NMI:        750       1328       1299       1303       1251       1480       1419       1382   Non-maskable interrupts
 LOC:   14541195   14390873   13856555   14240906   14245354   17802248   16630068   16147959   Local timer interrupts
 SPU:          0          0          0          0          0          0          0          0   Spurious interrupts
 PMI:        750       1328       1299       1303       1251       1480       1419       1382   Performance monitoring interrupts
 IWI:          1          1          1          1          0          1          0          1   IRQ work interrupts
 RTR:          0          0          0          0          0          0          0          0   APIC ICR read retries
 RES:    4965579    1881776     638547     285395     236177     353910     299232     193509   Rescheduling interrupts
 CAL:    6773876    6763902    6733580    6695971    6735968    6301318    6293822    6313683   Function call interrupts
 TLB:    6637700    6765706    6735266    6697425    6737627    6302754    6295475    6314685   TLB shootdowns
 TRM:      17907      17907      17907      17907      17907      17907      17907      17907   Thermal event interrupts
 THR:          0          0          0          0          0          0          0          0   Threshold APIC interrupts
 DFR:          0          0          0          0          0          0          0          0   Deferred Error APIC interrupts
 MCE:          0          0          0          0          0          0          0          0   Machine check exceptions
 MCP:        512        510        510        510        510        510        510        510   Machine check polls
 ERR:          0
 MIS:          0
 PIN:          0          0          0          0          0          0          0          0   Posted-interrupt notification event
 NPI:          0          0          0          0          0          0          0          0   Nested posted-interrupt event
 PIW:          0          0          0          0          0          0          0          0   Posted-interrupt wakeup event
Meminfo:

Code: Select all

 free -g
              total        used        free      shared  buff/cache   available
Mem:             31          10          14           1           6          19
Swap:             3           0           3
CPU:

Code: Select all

....
processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 142
model name	: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
stepping	: 10
microcode	: 0x84
cpu MHz		: 2000.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti retpoline intel_pt rsb_ctxsw spec_ctrl tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
bugs		: cpu_meltdown spectre_v1 spectre_v2
bogomips	: 3984.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:
OS:

Code: Select all

 cat /etc/os-release 
NAME="Linux Mint"
VERSION="18.3 (Sylvia)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 18.3"
VERSION_ID="18.3"
HOME_URL="http://www.linuxmint.com/"
SUPPORT_URL="http://forums.linuxmint.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/linuxmint/"
VERSION_CODENAME=sylvia
UBUNTU_CODENAME=xenial
Loads:

Code: Select all

 14:08:24 up 1 day, 19:53,  6 users,  load average: 1.32, 1.45, 1.57
Please help. Thank you very much....
Last edited by karlchen on Tue Apr 03, 2018 5:17 pm, edited 1 time in total.
Reason: added [code] tags (icon [</>] where appropriate.

midair77
Level 1
Level 1
Posts: 3
Joined: Tue Apr 03, 2018 4:39 pm

Re: Brand new laptop became un-usuable

Post by midair77 » Tue Apr 03, 2018 5:40 pm

The weird thing is after rebooting the laptop, things are usable again for a couple of hours and then it become weird again. It is not the heat that causes the cpu too hot and the thermal issue might have cause the laptop to slow down. The heat has been negligible and I feel like heating is not an issue on both of my laptops.

MrEen
Level 5
Level 5
Posts: 584
Joined: Mon Jun 12, 2017 8:39 pm

Re: Brand new laptop became un-usuable

Post by MrEen » Tue Apr 03, 2018 6:02 pm

Hi midair77, and welcome to the forum.

It might help others try to help you if you add the output of inxi -Fxz as well.

midair77
Level 1
Level 1
Posts: 3
Joined: Tue Apr 03, 2018 4:39 pm

Re: Brand new laptop became un-usuable

Post by midair77 » Thu Apr 05, 2018 4:19 pm

Hi MrEen

Here is the output....

Code: Select all

System:    Host: nonce Kernel: 4.13.0-38-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: System76 (portable) product: Galago Pro v: galp3
           Mobo: System76 model: Galago Pro v: galp3
           Bios: American Megatrends v: 1.05.08RSA date: 12/08/2017
CPU:       Quad core Intel Core i7-8550U (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 15936
           clock speeds: max: 4000 MHz 1: 2413 MHz 2: 2517 MHz 3: 2576 MHz
           4: 2355 MHz 5: 2510 MHz 6: 2541 MHz 7: 2511 MHz 8: 2529 MHz
Graphics:  Card: Intel Device 5917 bus-ID: 00:02.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Kabylake GT1.5
           GLX Version: 3.0 Mesa 17.2.8 Direct Rendering: Yes
Audio:     Card Intel Device 9d71 driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-38-generic
Network:   Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 3a:00.1
           IF: enp58s0f1 state: up speed: 1000 Mbps duplex: full mac: <filter>
           Card-2: Intel Device 24fb driver: iwlwifi bus-ID: 3b:00.0
           IF: wlp59s0 state: down mac: <filter>
Drives:    HDD Total Size: NA (-) ID-1: /dev/nvme0n1 model: N/A size: 512.1GB
Partition: ID-1: / size: 19G used: 6.5G (37%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: /boot size: 465M used: 131M (30%) fs: ext4 dev: /dev/nvme0n1p3
           ID-3: /tmp size: 735M used: 3.4M (1%) fs: ext4 dev: /dev/nvme0n1p4
           ID-4: /var size: 5.6G used: 2.3G (44%) fs: ext4 dev: /dev/nvme0n1p5
           ID-5: /home size: 421G used: 43G (11%) fs: ext4 dev: /dev/nvme0n1p9
           ID-6: swap-1 size: 4.10GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 60.5C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 301 Uptime: 1 day Memory: 7670.9/32047.1MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 
At the time of the problem, my laptop used 4.13.0-37-generic but I just upgraded it to 4.13.0-38-generic. I have experienced slight issue even on this new kernel....

Thank you.

Moderator: added code tags.

MrEen
Level 5
Level 5
Posts: 584
Joined: Mon Jun 12, 2017 8:39 pm

Re: Brand new laptop became un-usuable

Post by MrEen » Thu Apr 05, 2018 5:35 pm

Take a look at the following topic and notice the OP had the same CPU as you: viewtopic.php?f=90&t=266905&p=1452295#p1452295

You might want to try Pjotr's suggestion on the 4.15 kernel.

Hoser Rob
Level 11
Level 11
Posts: 3635
Joined: Sat Dec 15, 2012 8:57 am

Re: Brand new laptop became un-usuable

Post by Hoser Rob » Sat Apr 07, 2018 11:11 am

midair77 wrote:
Tue Apr 03, 2018 5:09 pm
... I have ran into this weird issue with Dell Lattitude 5580 and System76 Galago Pro (galp 3) as both are brand new. ...
Not weird at all. Hardware issues tend to be more common with old hardware and new hardware, the latter because driver support takes longer in Linux.

Post Reply

Return to “Cinnamon”