I have been using Ubuntu Mate 20.04 LTS on my Lenovo Ideapad L340 17API (Ryzen 7 3700U based, with integrated VEGA Radeon graphics) since I bought it in summer of 2020 (maintaining the system up-to-date, though only about a year ago the laptop has become my the only PC for everyday use, before this I used it about several days a year). I've noticed that sometimes the system runs slow and also 20.04 goes to the end of its lifecycle, so I decided to install Ubuntu Mate 22.04.3 instead. I've saved only /home partition, all others were formatted before installing new version. And in several days I've recognized that the system sometimes become extremely slow (GIMP takes about a minute to start, applications like Double Commander started from click on icon on my desktop starts in a minute or so after click, even simple command in terminal like "sudo su" can require several seconds; after launching many applications work slow or freeze and then unfreeze time after time). Also some operations (like opening a directory containing ~400 .7z files by file browser of DeadBeef player) takes huge time (say, 15-20 seconds).
First of all, I've checked simple things. There was absolutely no system overload when my system freezes as described above (htop shows less than 20% (usually 5-10%) of load for each thread, less than half of available RAM is used, no swap is used). There was no overheat (CPU temperature is less than 60 degrees Centigrade according to Psensor, keyboard over CPU isn't hot, command line tools show normal CPU frequency, i.e. no throttling). I've checked CPU by CPU-Z. All's OK. I've checked RAM by Memtest86Free. All's OK. I've checked S.M.A.R.T. data of both SSD (there are /boot/efi (exfat), /boot (ext3), swap and /mnt/ssd (ext4) filesystems) and HDD (there are / (ext4) and /home (ext4) filesystems) - all's excellent. I've checked dmesg logs - nothing critical. Yeah, Ubuntu 22.04 Mate as well as Ubuntu 20.04 Mate takes about 1 minute to boot, IMHO it's not good, though OK, this is not critical.
I haven't tuned the system after installation except setting dirty bytes value (unsetting doesn't help though). Kernel version is 6.2.0-36-generic, with latest linux-firmware from Ubuntu repository.
Then I noticed that if I just boot my system and use some applications like LibreOffice, Double Commander, music players, GIMP, all's OK. But if I start Google Chrome with about 20 tabs (still more than half of system RAM is available, no mentionable CPU load, no swap is used), all the problems described above appeared after minutes of browsing and after 2 hours my system becomes really slow). Firefox with about 60 tabs also make system slow (but not in such extent!).
I've installed IceWM and tried it. Similar thing (though slowing due to Firefox is not so mentionable, slowing due to Chrome is not of such extent). I've tried to boot from live media (Ubuntu Mate 22.04, Xubuntu 22.04, Slackware 15.0 live), and all was OK (after installing Google Chrome and opening about 20 tabs there was no problems).
Any ideas about the reasons of such slowing down? Of course, there's a simple idea just not to use Google Chrome, but anyway I want to understand why does this happen!