EndeavourOS getting slower over time

Hello Community,
since a few days, my EndeavourOS is getting slower and slower. It feels like it’s getting slower every bootup. At first, I just noticed that windows are closing with a little delay than usual. On the following days, my docks didn’t show up for second, apps that i click, started 5 secs or so later. If play games, there are no such noticable problems, I keep a stable framerate as always. Currently there is also the problem, when I type something in my Document Writer, App Starter to search something or something like that, it just show me the input very very delayed (For example I type “a”, it shows me the “a” on screen after a long waiting time). It’s also a mess to write here my problem with this annoying delays between my keyboard inputs.

I tried:

  • Refreshing the mirror lists (Arch & endeavourOS)
  • Updated my system (Pacman -Syu, flatpak update and yay)
  • Deleted Files and Apps I don’t need

My PC has not that old hardware, in it is an Intel Core i5-10400F with a RX 6600 and 16GB RAM. The PC is also just 5 months old (since I build it).
Until today, nothing of these worked out so I’m feeling helpless here.

if you do not mind pm me with the full boot journal… so i can have a look may i stumble upon something
journalctl -b -0 > ~/bootjournal.txt

To check the disk consumption, can you show the output of command

df -hT

Are you using any browser with a large number of open tabs?

can you show the output of command

Filesystem     Type      Size    Used Avail. Used% Mounted on
devtmpfs       devtmpfs  4,0M       0  4,0M    0% /dev
tmpfs          tmpfs     7,8G       0  7,8G    0% /dev/shm
tmpfs          tmpfs     3,2G    1,5M  3,2G    1% /run
/dev/sdb2      btrfs     459G    304G  153G   67% /
/dev/sdb2      btrfs     459G    304G  153G   67% /var/log
/dev/sdb2      btrfs     459G    304G  153G   67% /var/cache
/dev/sdb2      btrfs     459G    304G  153G   67% /home
tmpfs          tmpfs     7,8G    8,7M  7,8G    1% /tmp
/dev/sda1      ext4      458G    219G  216G   51% /gaming
/dev/sdb1      vfat      998M    207M  792M   21% /efi
tmpfs          tmpfs     1,6G    108K  1,6G    1% /run/user/1000

Note: /gaming is my second SSD which is automounted everytime I boot up.

Are you using any browser with a large number of open tabs?

I’m using Firefox and eventually Brave, on both I have not more open tabs than 5

How do you mount /gaming? Is the system faster if you do not mount /gaming?

Another idea is to check the package cache and if it contains lots of old packages, you could remove them e.g. like this:

sudo paccache -ruk0   # delete no more installed packages
sudo paccache -rk1    # here 1 is the number of latest versions to keep of each package

I mounted the /gaming like in this tutorial using fstab: https://www.techhut.tv/auto-mount-drives-in-linux-fstab/

I try out the commands and unmount /gaming

Okay, so I unmounted /gaming. It didn’t made any difference to the performance.

sudo paccache -ruk0   # delete no more installed packages
sudo paccache -rk1    # here 1 is the number of latest versions to keep of each package

These Commands saved me a bit space on the disk, and the shutdown and reboot sequence is a little bit faster for about 1-2 seconds. To the performance in General, nothing happened

I suggest

  • backup your personal data to an external drive
  • then TRIM the SSDs if not done in a while

Can you show the contents of file /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>
UUID=2DA6-F551                            /efi           vfat    defaults,noatime 0 2
UUID=8b0dd290-fb2a-417f-8ff4-6cf3a98fba1a /              btrfs   subvol=/@,defaults,noatime,>
UUID=8b0dd290-fb2a-417f-8ff4-6cf3a98fba1a /home          btrfs   subvol=/@home,defaults,noat>
UUID=8b0dd290-fb2a-417f-8ff4-6cf3a98fba1a /var/cache     btrfs   subvol=/@cache,defaults,noa>
UUID=8b0dd290-fb2a-417f-8ff4-6cf3a98fba1a /var/log       btrfs   subvol=/@log,defaults,noati>
UUID=c75d38f0-d5f0-47f1-9359-0fadb969269a swap           swap    defaults   0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 >

# Gaming /dev/sda1
UUID=c4dc2e22-4e51-479e-a622-135813e0e014       /gaming         ext4    defaults        0         0

Thanks!
Looks like trimming could help since /etc/fstab contains nothing to do that.
And if you haven’t done trimming manually, then trimming certainly should do something to help (although difficult to tell how much it helps).