For some time now, lets say a month, my laptop with endeavouros has gone from fast to laggy. I’ve postponed trying to fix the issue as I don’t have much experience with linux and hoped an update would take care of it at some point, but there doesn’t seem to be an end in sight.
Opening a project in vscode can take 20 seconds before vscode is usable. Once loaded it’s usually fairly fast, but it varies. Sometimes whatever I type can wait 3 seconds before it’s rendered, suggestions can be rendered slowly so it looks like it fades in.
Just loading a basic newpaper in firefox can take quite a while.
I realize I’ll have to post some logs here, but I don’t really know what is needed to diagnose the issue. Any help would be greatly appreciated
Hi @endeavourforums
First welcome to the wonderful world of EndeavourOS.
The first thing that came to my mind, I would like to have a look on your hardware, the basics, it can be lack of RAM (or others)
Is your drive SSD or HDD?
Can you post results of the command
If it was an all at once thing you may want to test your disk/RAM for failures AFTER making s backup. It could be software, but it kind of feels hardware related.
The welcome post should help you get started with a few basic logs to run and folks can ask more specifically after.
Workspace 1: Three firefox windows, total 11 tabs.
Workspace 2: Two firefox windows, total 4 tabs and vscode.
Workspace 3: Slack, paused spotify and teams PWA app
Boot / shutdown is normally very fast. I just rebooted and haven’t opened vscode again. Got the firefox windows, teams and slack open. Nothing “going on in either of them”
So basically nothing drawing cpu power, youtube still took over 13 seconds to load according to this extension:
Google search result page took 6 seconds to load while screen sharing with teams.
a youtube app or from the browser? “13 seconds to load” load the app? open youtube page? load the movie and play it? in browser ro app?
Test your internet speed anyway. I would suggest you try the LTS kernel, reboot to it and see how it goes.
Just curious, have you installed anything extra that might be running in the background? Antivirus?, Firewall?,
Something just popped up my mind, what if you uninstall “vscode”, no screen sharing, no networking… and see. I maybe wrong though. But I am assuming it is me who have this issue and think what would I do.
I am sure you will find help here in this wonderful forum.
I can’t think of anything I’ve installed that’s running in the background making such a mess of things.
I’ve tried re-installing vscode without that helping. I don’t think vscode is the bad guy here either way as it doesn’t have to run for the pc to be slow.
Thanks for your help
Maybe someone else have a trick up their sleeve
I’m linking another thread here. The user had a very similar experience to yours. I’ve listed all the steps here. Try those suggestions that might solve your problem.
You don’t have a swap partition/file. The creator of the post I linked also had vscode and it was eating his memory.
Please try the suggestion in that thread and see if your problem gets solved.
I found this on Reddit. This suggests more files you have open more RAM it takes + the addons. Seems vscode relies on Chromium which kind of explains the memory usage.
I took a look at the steps you mentioned in the other thread.
I’ve tried LTS kernel without noticing any difference in performance. I figured I might as well set it to default though, but there’s no line with GRUB_DEFAULT in /etc/grub/grun.cfg
Because of this I thought I might use systemd-boot as you mention, but I don’t have the /etc/kernel/cmdline file, so I guess not?
You mentioned above I’m not using a swapfile, is the suggestion you make about enlarging the swap file relevant for me? No swapfile in / on my system
As mentioned I don’t have a /etc/kernel/cmdline file.
I’m using xfce, and from my understanding wayland is not a part of that