Sluggish OS

Please post suggestions for improvement of Cinnamon on:
https://github.com/linuxmint/Cinnamon
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Galtlives
Level 1
Level 1
Posts: 27
Joined: Wed Jan 29, 2020 12:13 pm

Sluggish OS

Post by Galtlives »

I upgraded my Linux six months back and my system has not been the same. I decided to format the partion and load a fresh install but I am having the same problems. After Reboot things seem to be ok but as time goes on the browser becomes very jittery and sluggish. The browsers are almost non responsive. Overall the system speed sucks. I switched over to Windows and couldn't believe the difference. This blows as I have used Linux for the last six years. I have no idea what to do at this point.

Code: Select all

lo        no wireless extensions.

enp0s31f6  no wireless extensions.

virbr0    no wireless extensions.

Code: Select all

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 04a9:176b Canon, Inc. PIXMA MX920 Series
Bus 001 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 003: ID 1b1c:0c21 Corsair H115iRGBPROXT
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:14.0 USB controller: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Controller (rev 31)
00:16.0 Communication controller: Intel Corporation 100 Series/C230 Series Chipset Family MEI Controller #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Q170/Q150/B150/H170/H110/Z170/CM236 Chipset SATA Controller [AHCI Mode] (rev 31)
00:1b.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #17 (rev f1)
00:1c.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #1 (rev f1)
00:1c.2 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #3 (rev f1)
00:1c.7 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #8 (rev f1)
00:1d.0 PCI bridge: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Z170 Chipset LPC/eSPI Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation 100 Series/C230 Series Chipset Family Power Management Controller (rev 31)
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation 100 Series/C230 Series Chipset Family SMBus (rev 31)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V (rev 31)
01:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GM206 High Definition Audio Controller (rev a1)
03:00.0 USB controller: ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 04)
06:00.0 PCI bridge: Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI Bridge [Cheetah Express] (rev 01)
07:00.0 FireWire (IEEE 1394): Texas Instruments XIO2213A/B/XIO2221 IEEE-1394b OHCI Controller [Cheetah Express] (rev 01)
08:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983

Code: Select all

System:
  Kernel: 6.5.0-14-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: ASUSTeK model: Z170-A v: Rev 1.xx serial: <superuser required>
    UEFI-[Legacy]: American Megatrends v: 3802 date: 03/15/2018
Battery:
  Device-1: hidpp_battery_0 model: Logitech K350 serial: <filter> charge: 70% (should be ignored)
    status: Discharging
  Device-2: hidpp_battery_1 model: Logitech M570 serial: <filter> charge: 50%
    status: Discharging
CPU:
  Info: quad core model: Intel Core i7-6700K bits: 64 type: MT MCP arch: Skylake-S rev: 3 cache:
    L1: 256 KiB L2: 1024 KiB L3: 8 MiB
  Speed (MHz): avg: 800 min/max: 800/4500 cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800
    7: 800 8: 800 bogomips: 63999
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GM206 [GeForce GTX 950] vendor: eVga.com. driver: nvidia v: 535.146.02 pcie:
    speed: 8 GT/s lanes: 16 ports: active: none off: DP-1,DP-2,DP-3 empty: DVI-I-1,HDMI-A-1
    bus-ID: 01:00.0 chip-ID: 10de:1402
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 12800x2880 s-dpi: 112
  Monitor-1: DP-0 pos: right res: 3840x2160 dpi: 185 diag: 604mm (23.8")
  Monitor-2: DP-2 pos: primary,left res: 3840x2160 dpi: 185 diag: 604mm (23.8")
  Monitor-3: DP-4 pos: primary,center res: 5120x2880 dpi: 214 diag: 698mm (27.5")
  OpenGL: renderer: NVIDIA GeForce GTX 950/PCIe/SSE2 v: 4.6.0 NVIDIA 535.146.02
    direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 00:1f.3 chip-ID: 8086:a170
  Device-2: NVIDIA GM206 High Definition Audio vendor: eVga.com. driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0fba
  Sound Server-1: ALSA v: k6.5.0-14-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:15b8
  IF: enp0s31f6 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Drives:
  Local Storage: total: 12.74 TiB used: 3.97 TiB (31.2%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
    speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 42.9 C
  ID-2: /dev/sda vendor: Western Digital model: WD10EZEX-00BN5A0 size: 931.51 GiB
    speed: 6.0 Gb/s serial: <filter>
  ID-3: /dev/sdb vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB speed: 6.0 Gb/s
    serial: <filter>
  ID-4: /dev/sdc vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB speed: 6.0 Gb/s
    serial: <filter>
  ID-5: /dev/sdd vendor: Seagate model: ST4000DM004-2CV104 size: 3.64 TiB speed: 6.0 Gb/s
    serial: <filter>
Partition:
  ID-1: / size: 578.9 GiB used: 262.35 GiB (45.3%) fs: ext4 dev: /dev/nvme0n1p6
  ID-2: /boot/efi size: 511 MiB used: 262.7 MiB (51.4%) fs: vfat dev: /dev/nvme0n1p5
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A gpu: nvidia temp: 65 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 14%
Repos:
  Packages: 2768 apt: 2751 flatpak: 17
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/nodesource.list
    1: deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https: //deb.nodesource.com/node_18.x nodistro main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mirrors.ocf.berkeley.edu/linuxmint-packages victoria main upstream import backport
    2: deb http: //mirror.arizona.edu/ubuntu jammy main restricted universe multiverse
    3: deb http: //mirror.arizona.edu/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //mirror.arizona.edu/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
    1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https: //linux.teamviewer.com/deb stable main
Info:
  Processes: 387 Uptime: 52m Memory: 31.28 GiB used: 6.34 GiB (20.3%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client inxi: 3.3.13
Last edited by Moem on Thu Jan 18, 2024 4:39 am, edited 1 time in total.
Reason: Adding [code][/code] tags to your output makes it easier to read. It preserves some formatting.
motoryzen
Level 10
Level 10
Posts: 3497
Joined: Sun Dec 08, 2019 12:25 am

Re: Sluggish OS

Post by motoryzen »

1. Boot into Windows on that same machine and disable Fast startup aka fast start, aka fast boot aka quick boot ( also do the same in your UEFI/bios).

2. You may need change to the 525 nvidia driver via Driver Manager as I've seen MANY reports on this site alone involving the 535 driver being problem-proned for many nvidia gpu's of all shapes , sizes, and generations from your gpu's gen and newer.

3. You have MULTIPLE notebook-class 5400 rpm hard drives ( which are definitely slow by today's standards). connected. Are they always connected when You boot into Windows also? I ask because if you have enabled thumbnails and have a lot of pictures or even more over videos in them...THAT can cause a slow down for a bit ( My system here with a 4 single 16TB toshiba 7200 rpm hdd and even without thumbnails enabled...occasionally refreshing my Nemo folder of my Movies and Series can take easily up to 10 seconds )

See if running your system without any of those 4TB hdd's will make it and keep it much more responsive. If yes...then add one of the hdd's one at a time ( each time..use the system for at least one or two days , then add a hdd. rinse and repeat). If any of these hdd's are faulty , then you'll find the culprit fast.

Seagate has had a long, unfortunately, history of hdd's that love to mysteriously die within 4 years or less even under light usage. I speak from personal experience with a 3TB back in 2012 lasting not even 2 years 8 months under very light usage, and a 5TB model. Never again will I use seagate. I have dual 5 TB toshibas and dual 10 TB toshibas that are STILL running to this day without a single hiccup under hardcore usage.

5. I wonder if there is a power save mode or power management mode enabled. If so..disable it.

6. Did your system begin to boot up more slowly and/or take longer to shut down? If so perhaps the symptoms of that and your now sluggish system are tied together. at a core cause.

Please post the results of the following commands .
highlight each command, copy, open a terminal window ( ctrl+alt+t or do it gui simple way if you prefer. start aka win logo button , search for terminal, paste, press enter. highlight the results, copy, come back here, click the </> button ( fifth from the left just above white area where you paste your replies ) , the hold ctrl and press v to paste.

Code: Select all

systemd-analyze; echo; systemd-analyze critical-chain; echo; systemd-analyze blame; echo; cat /etc/fstab; echo; blkid
This may help us narrow down the problem.

6. Is it only sluggish when certain things are being done? How is that swap usage? gnome-system-monitor and the Resources upper tab/button can show if swap is being used often. ( which by default. Linux Mint has the swappiness number set to 60.. The higher the number, ...regardless, the more often it will try to deal with swap..which is what you don't want UNLESS your regular 32GBs of ram are being well over 90% utility/used/consumed.... which..CAN affect how responsive or laggy your system can be. )

7. Tips to speed up your Linux Mint system = https://easylinuxtipsproject.blogspot.c ... -mint.html pjotr has been directly involved in this to my memory and has done a very good job with the content. I wouldn't mess with z swap though. Doesn't seem applicable or really needed (shrugs)

beyond all that...not sure of more ideas yet.
Last edited by SMG on Fri Jan 19, 2024 12:02 am, edited 1 time in total.
Reason: Changed one set of c tags to code tags so one does not need scroll horizontally to see the entire post.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
Galtlives
Level 1
Level 1
Posts: 27
Joined: Wed Jan 29, 2020 12:13 pm

Re: Sluggish OS

Post by Galtlives »

The driver seemed to have helped. At least now I am not getting as much driver issues. Is there a Graphics card that works well with linux ?


1 and 2 are completed

3 - I dont think this is the problem as they are the same drives I have had in my old OS and things worked fine.

5 - None

6- System is blazing fast on start up and shut down

systemd-analyze; echo;

Code: Select all

systemd-analyze; echo;
systemd-analyze critical-chain; echo;

Code: Select all

The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @6.387s
└─multi-user.target @6.387s
  └─teamviewerd.service @6.360s +26ms
    └─network-online.target @6.315s
      └─NetworkManager-wait-online.service @2.924s +3.390s
        └─NetworkManager.service @2.849s +65ms
          └─dbus.service @2.846s
            └─basic.target @2.837s
              └─sockets.target @2.837s
                └─libvirtd-ro.socket @2.837s
                  └─libvirtd.socket @2.791s +45ms
                    └─sysinit.target @2.788s
                      └─systemd-timesyncd.service @2.742s +45ms
                        └─systemd-tmpfiles-setup.service @2.721s +17ms
                          └─local-fs.target @2.715s
                            └─zfs-mount.service @2.696s +18ms
                              └─zfs-import.target @2.669s
 
systemd-analyze blame; echo;

Code: Select all

3.673s plocate-updatedb.service
3.390s NetworkManager-wait-online.service
2.002s fwupd-refresh.service
1.616s zfs-load-module.service
1.558s liquidcfg.service
 687ms pm2-root.service
 532ms systemd-udev-settle.service
 426ms mariadb.service
 403ms apt-daily-upgrade.service
 343ms man-db.service
 314ms apt-daily.service
 310ms udisks2.service
 281ms dev-nvme0n1p6.device
 262ms blueman-mechanism.service
 236ms lightdm.service
 202ms plymouth-quit-wait.service
 181ms logrotate.service
 161ms user@1000.service
 155ms accounts-daemon.service
 155ms libvirt-guests.service
 152ms dpkg-db-backup.service
 143ms systemd-udev-trigger.service
 138ms networkd-dispatcher.service
 120ms systemd-journal-flush.service
 118ms ubuntu-system-adjustments.service
 115ms ModemManager.service
 101ms mnt-Movies.mount
  95ms systemd-resolved.service
  90ms lvm2-monitor.service
  80ms networking.service
  79ms avahi-daemon.service
  77ms libvirtd.service
  75ms systemd-logind.service
  73ms keyboard-setup.service
  73ms systemd-journald.service
  65ms mnt-VUZE.mount
  65ms grub-common.service
  65ms NetworkManager.service
  60ms user-runtime-dir@1000.service
  57ms lm-sensors.service
  56ms systemd-udevd.service
  49ms e2scrub_reap.service
  48ms gpu-manager.service
  45ms systemd-timesyncd.service
  45ms libvirtd.socket
  45ms upower.service
  44ms systemd-fsck@dev-disk-by\x2duuid-8DEB\x2d4083.service
  41ms polkit.service
  39ms alsa-restore.service
  39ms apparmor.service
  38ms switcheroo-control.service
  37ms rsyslog.service
  35ms grub-initrd-fallback.service
  35ms dev-hugepages.mount
  34ms nvidia-persistenced.service
  32ms systemd-machined.service
  32ms dev-mqueue.mount
  31ms wpa_supplicant.service
  30ms thermald.service
  29ms packagekit.service
  28ms sys-kernel-debug.mount
  26ms teamviewerd.service
  26ms sys-kernel-tracing.mount
  24ms zfs-volume-wait.service
  24ms cups.service
  23ms systemd-modules-load.service
  22ms colord.service
  20ms openvpn.service
  18ms zfs-mount.service
  18ms kmod-static-nodes.service
  17ms systemd-tmpfiles-setup.service
  17ms plymouth-start.service
  16ms zfs-share.service
  15ms modprobe@configfs.service
  14ms modprobe@drm.service
  12ms plymouth-read-write.service
  12ms kerneloops.service
  12ms systemd-binfmt.service
  12ms modprobe@fuse.service
  12ms qemu-kvm.service
  11ms systemd-user-sessions.service
  11ms systemd-tmpfiles-clean.service
  11ms dns-clean.service
  10ms systemd-random-seed.service
  10ms systemd-remount-fs.service
  10ms systemd-sysusers.service
   9ms motd-news.service
   8ms systemd-tmpfiles-setup-dev.service
   8ms systemd-sysctl.service
   8ms boot-efi.mount
   6ms console-setup.service
   6ms finalrd.service
   6ms proc-sys-fs-binfmt_misc.mount
   5ms ifupdown-pre.service
   5ms systemd-update-utmp.service
   5ms sys-fs-fuse-connections.mount
   5ms swapfile.swap
   5ms systemd-update-utmp-runlevel.service
   4ms sys-kernel-config.mount
   3ms rtkit-daemon.service
   2ms casper-md5check.service
   2ms ufw.service
   2ms modprobe@efi_pstore.service
   1ms setvtrgb.service
   1ms run-qemu.mount
  81us blk-availability.service
cat /etc/fstab; echo; blkid

Code: Select all

# /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/nvme0n1p6 during installation
UUID=9a538c5a-a144-4622-a167-d6d0d1a206cb /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p5 during installation
UUID=8DEB-4083  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
LABEL=Movies /mnt/Movies auto nosuid,nodev,nofail,x-gvfs-show 0 0
LABEL=VUZE /mnt/VUZE auto nosuid,nodev,nofail,x-gvfs-show 0 0

/dev/nvme0n1p5: UUID="8DEB-4083" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="49cb81d0-05"
/dev/nvme0n1p3: BLOCK_SIZE="512" UUID="84D8543FD8543222" TYPE="ntfs" PARTUUID="49cb81d0-03"
/dev/nvme0n1p1: LABEL="System Reserved" BLOCK_SIZE="512" UUID="8098F31B98F30F02" TYPE="ntfs" PARTUUID="49cb81d0-01"
/dev/nvme0n1p6: UUID="9a538c5a-a144-4622-a167-d6d0d1a206cb" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="49cb81d0-06"
/dev/nvme0n1p2: BLOCK_SIZE="512" UUID="866CFF996CFF81EB" TYPE="ntfs" PARTUUID="49cb81d0-02"
/dev/sdd1: LABEL="Movies" UUID="590a82e3-76a8-4461-a33f-0da593734d3a" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="3b6aa5b4-8434-442f-8574-143b5186c4ff"
/dev/sdb1: LABEL="E Storage" UUID="9e2c933e-88e7-485f-a3b1-65c9e0fbb2ad" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="76a5eac0-c751-457c-be0d-6abcbd7f3818"
/dev/sdc1: LABEL="Storage F" UUID="01608f1b-7d52-4ebe-9bdd-7147c15d352d" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="a6c242a2-3e94-4e5c-a476-7cf20af4335d"
/dev/sda1: LABEL="VUZE" UUID="ddf9ca8e-5854-4ae1-983a-70f9901ea315" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="e5595cd1-6c53-49ab-85e4-bf176e2cc8ac"
Post Reply

Return to “Cinnamon”