You are not logged in.

#1 2021-10-25 13:00:58

notprash
Member
Registered: 2021-10-02
Posts: 12

Applications like firefox, vscode loading slowly on bspwm

I am have using bspwm. Most of the apps expect of alacritty take about 6 seconds to start. Alacritty also takes 2 seconds to render it. I don't know why this is happening, help is needed.

Pc specs:

Intel i5 10th gen
8gb ram
1tb hardisk (arch linux is on this)
256 gb SSD (windows is on this)

Offline

#2 2021-10-25 13:04:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,331

Re: Applications like firefox, vscode loading slowly on bspwm

A HDD is slow, opening huge programs like 2 web browsers (... vscode is one as well) is going to be slow, why do you think this is out of the ordinary? The single best thing you can do to help application loading times is put the applications you need often on an SSD. If you have Arch as a whole on the HDD there's plain not much you can do to inherently speed up this initial loading time, and browsers are in essence a second operating system you are starting.

Last edited by V1del (2021-10-25 13:06:36)

Offline

#3 2021-10-25 13:07:37

notprash
Member
Registered: 2021-10-02
Posts: 12

Re: Applications like firefox, vscode loading slowly on bspwm

so HDD is the issue.

Offline

#4 2021-10-25 13:09:35

notprash
Member
Registered: 2021-10-02
Posts: 12

Re: Applications like firefox, vscode loading slowly on bspwm

But when I was using Kubuntu, everything started fast. Is there any particular reason?

Offline

#5 2021-10-25 13:16:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,331

Re: Applications like firefox, vscode loading slowly on bspwm

On the same HDD? With the same general environment? There are some smaller things that might help like if you already use a lot of GTK tools there's a chance that a lot of the accompanying libs are already loaded and can be fetched from RAM. If you use bspwm and the browser are the first "fat" clients starting then that's the first time all of these libs that aren't in use on  bspwm need to be loaded. There's also a possibility that Kubuntu enables some form of preloading or so

Offline

#6 2021-10-25 14:03:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,441

Re: Applications like firefox, vscode loading slowly on bspwm

Most of the apps except of alacritty

is not a conclusive list. Is it "Most of the apps except of alacritty" or "firefox, vscode"?

bspwm

Did you try a different environment?

Alacritty also takes 2 seconds to render it.

Only on the first run or also a subsequent one?

strace -o /tmp/alacritty.strace -f -tt alacritty

and paste /tmp/alacritty.strace (see eg. the 1st link below)

Offline

Board footer

Powered by FluxBB