Since my upgrade from 19.04 to 19.10, I experience regular short freezes/lags on my Ubuntu system. I can see that some have similar issues (this post or that one). It is not only mouse freezes but system ones.
My computer is a DELL XPS 13 9343 (same series but different model than the first post mentioned).
I upgraded the BIOS from A13 to A20, no difference. I have 8GB of RAM and 16 of swap, with vm.swappiness=60.
EDIT :
$ ls -al ~/.local/share/gnome-shell/extensions
total 12
drwxrwxr-x 3 mhr mhr 4096 sept. 10 15:29 .
drwx------ 3 mhr mhr 4096 nov. 12 08:56 ..
drwxrwxr-x 4 mhr mhr 4096 sept. 10 15:29 desktop-icons@csoriano
EDIT 2 :
free -h
total used free shared buff/cache available
Mem: 7,7Gi 5,0Gi 590Mi 958Mi 2,1Gi 1,5Gi
Swap: 15Gi 404Mi 15Gi
and
$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda4 during installation
UUID=33ef7645-839a-4b28-b627-e936853a7783 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=48E3-73DB /boot/efi vfat umask=0077 0 1
# swap was on /dev/sda5 during installation
UUID=816ab8c7-f980-4e93-9908-8a9f1dc4a616 none swap sw 0 0
EDIT 3:
$ sudo ./magician -L
================================================================================================
Samsung(R) SSD Magician DC Version 2.0
Copyright (C) 2015 SAMSUNG Electronics Co. Ltd. All rights reserved.
================================================================================================
Bad argument "name", expected an absolute path in /dev/ or /sys or a unit name: Invalid argument
----------------------------------------------------------------------------
| Disk | Model | Serial | Firmware | Capacity | Drive | Total Bytes |
| Number | | Number | | | Health | Written |
----------------------------------------------------------------------------
No Samsung SSD found!
ls -al ~/.local/share/gnome-shell/extensions
and screenshot(s) of theDisks
app SMART Data window. 16G swap is excessive, but lets try vm.swappiness=80 and see if things improve. – heynnema Nov 11 '19 at 22:21free -h
andcat /etc/fstab
. – heynnema Nov 12 '19 at 16:18Samsung Magician
software, and check that the firmware in your SSD is current. Report back. – heynnema Nov 12 '19 at 22:57No Samsung SSD found!
but I think it is because Samsung stopped supporting consumer SSDs on Linux so this magician only works with datacenter SSDs : https://askubuntu.com/questions/537471/samsung-magician-on-ubuntu-14-04 – mhr Nov 13 '19 at 10:31sudo swapoff -a
. This will disable swap. Run and see if there's any difference. If you load up too much, it WILL hang, but for testing, see if normal usage works any different. To re-enablesudo swapon -a
. I need to see if we need to make you a smaller swap space. – heynnema Nov 13 '19 at 15:58sudo sysctl vm.swappiness=80
– mhr Nov 18 '19 at 14:30