All browsers use only 1 core (super slow browsing)

If none of the more specific forums is the right place to ask

All browsers use only 1 core (super slow browsing)

Postby RebelCoder » 2019-10-31 17:38

Hello.

I have been using Debian (Stable and Testing) for 3+ years now. Recently (about a month ago) I started having this odd behavior where all browsers use just one core (thread), and for some reason specifically number 7, and even resizing browser windows is super slow. Browsing/Scrolling is super slow. I have tried Firefox (70-71), latest Chromium, Brave, Opera. All act exactly the same. Just use thread/Core 7 and are super slow. Watching a video on YT or any animated content just kills PC performance. This was not the case at all until about a month ago.

Today I have reinstalled Debian Stable and I still have the same behavior.

FIREFOX:
Image


BRAVE:
Image

Here is some extra output:

Image

inxi -G:
Code: Select all
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915 v: kernel
           Device-2: NVIDIA GK106M [GeForce GTX 765M] driver: N/A
           Display: x11 server: X.Org 1.20.4 driver: modesetting unloaded: fbdev,vesa resolution: 2560x1440_60.00~60Hz
           OpenGL: renderer: Mesa DRI Intel Haswell Mobile v: 4.5 Mesa 18.3.6


Any advise would be a great help.
User avatar
RebelCoder
 
Posts: 11
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: All browsers use only 1 core (super slow browsing)

Postby stevepusser » 2019-10-31 19:17

Does the same thing happen with a kernel that uses a different scheduler, such as the current 5.3 Liquorix kernel?

A little off-topic, but is your machine an Optimus laptop, and do you have GPU switching working on it?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: All browsers use only 1 core (super slow browsing)

Postby RebelCoder » 2019-10-31 19:24

Does the same thing happen with a kernel that uses a different scheduler, such as the current 5.3 Liquorix kernel?


I have not tried it yet. Will try now.

A little off-topic, but is your machine an Optimus laptop, and do you have GPU switching working on it?


Yes. And it is working with bumblebee driver as it should. I run GPU apps with primusrun.

But the strange thing is this: I was always on Stable or Testing, With stable kernel (4.19) and never had this issue. Now, as I mentioned, all browsers have this issue and just scrolling search results has effect on a video in VLC for example. Fan is always on as machine gets to hot. I am on the same setup for 3+ years now and all was just fine.
User avatar
RebelCoder
 
Posts: 11
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: All browsers use only 1 core (super slow browsing)

Postby RebelCoder » 2019-10-31 19:30

Does the same thing happen with a kernel that uses a different scheduler, such as the current 5.3 Liquorix kernel?


Same result + bumblebee (optimus) drivers do not work. So I need to figure out why it suddenly has this issue and a very peculiar one, where it uses core/thread 7 specifically. It happened exactly when I need to do a lot of work, damn....
User avatar
RebelCoder
 
Posts: 11
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: All browsers use only 1 core (super slow browsing)

Postby stevepusser » 2019-10-31 23:00

I've had the 435.21 Nvidia driver backports for MX Linux running with Bumblebee and 5.3 kernels, so maybe your driver just won't build with that newer kernel. The last time I pulled the source, they were still in Experimental.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: All browsers use only 1 core (super slow browsing)

Postby Zjho » 2019-11-01 08:46

Noticed in list of tried browsers Chromium is mentioned but not Chrome ?
User avatar
Zjho
 
Posts: 43
Joined: 2016-09-15 17:46

Re: All browsers use only 1 core (super slow browsing)

Postby andre@home » 2019-11-01 10:28

Try this combi, ultimately it worked. Adapt it to the drivers you have.

https://askubuntu.com/questions/351404/ ... s-unclamed

managed to get it going by following the solution here, in other words by using:
https://askubuntu.com/questions/135932/ ... ny-sources
Code: Select all
cd /etc/apt/sources.list.d/
   sudo rm xorg-edgers-ppa-trusty.list
   sudo reboot


And this for additional tips?
https://www.bleepingcomputer.com/forums ... in-ubuntu/
andre@home
 
Posts: 347
Joined: 2011-10-02 08:00

Re: All browsers use only 1 core (super slow browsing)

Postby Deb-fan » 2019-11-01 10:40

Never heard the like of this. It's outside my ken, being gnu/Linux uber-geeks have designed and developed stuff capable of doing just about anything/everything imaginable on a pc and plenty a mere mortal such as myself would have no idea existed too no doubt. :D

Taking a shot in the dark, going to assume this is something self inflicted and something you'd done in terms of config'ing that'd be the culprit. Do know there are ways to set cpu(processor)affinity for stuff. Would look at stuff along these lines. Never really got into it but do know there are ways to tell whichever processes to use this or that core, also junk like cgroups-etc. Again, only ever briefly read up on that topic. May be something else to investigate. Dang fellow nixer, weird situation, hope you get it under control. Such would drive me nutz and tempt me to pull out handfuls of hair. Good thing I got a buzz cut I guess. Plenty of other gnu/Nix related stuff already makes me wanna, yanno ? :D

Dumb afterthought, was thinking apparmor ( which was one of the first services I disabled with systemctl on my new Buster install. When reached the fiddling with autostart services phase of the process.) Anyway, mentioned was dumb to think of it and adding this cause it might help ya out and also I now want to dork with cpu pinning sometime too, so this will be a handy self reminder to screw with it whenever. :)
Deb-fan
 
Posts: 445
Joined: 2012-08-14 12:27

Re: All browsers use only 1 core (super slow browsing)

Postby Deb-fan » 2019-11-01 12:26

Random but I think it's related(also nother self note too :) .) Needs to be a utility which tracks user edited system files, marks them for easy pull-up review on an OS. However ... will bet money some kickbutt geek has already done such or that there's more than one way to do it already in gnu/Linux. Again ... what have you been fiddling with that you can recall which may be responsible for this weirdness ? What were you setting up, playing with and/or installed prior to noticing this odd browser behavior ?

Not pointing fingers but can't see how stuff like this could just happen out of the blue. Errrr so make that I am pointing fingers I guess @ you OP. :) Could very well be wrong too and would investigate the cpu pinning and affinity angle. Never heard of anything like what you're describing and wish you luck in getting it fixed. When ya do ... please let us know what went on ?

Also while kinda dumb, may in fact look over apparmor. Never really learned much about it either but believe it can/does somewhat control what can access what, under which conditions it's allowed, perhaps amount of resources granted too etc and so forth. I have no use for the thing and noted, I've disabled it and generally compile it out of kernel's when doing a custom one. Been meaning to look into it but it's just one thing on a longggggg list of junk I've meant to research about. Might check out some of these search results ?
Deb-fan
 
Posts: 445
Joined: 2012-08-14 12:27

Re: All browsers use only 1 core (super slow browsing)

Postby stevepusser » 2019-11-01 22:23

andre@home wrote:Try this combi, ultimately it worked. Adapt it to the drivers you have.

https://askubuntu.com/questions/351404/ ... s-unclamed

managed to get it going by following the solution here, in other words by using:
https://askubuntu.com/questions/135932/ ... ny-sources
Code: Select all
cd /etc/apt/sources.list.d/
   sudo rm xorg-edgers-ppa-trusty.list
   sudo reboot


And this for additional tips?
https://www.bleepingcomputer.com/forums ... in-ubuntu/


Why the heck are you advising the OP to make a mess of their system with six year old Ubuntu PPA solutions when the 435.21 driver should solve the problem? Brand new kernels need brand new (or patched) drivers much of the time--it's no mystery!
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Clipgrab 3.8.6, Hedgewars 1.0.0, PulseEffects 4.6.8, Telegram-desktop 1.8.15, Pale Moon 28.7.2, KeepassXC 2.5.1
User avatar
stevepusser
 
Posts: 11254
Joined: 2009-10-06 05:53

Re: All browsers use only 1 core (super slow browsing)

Postby andre@home » 2019-11-02 01:40

Why the heck are you advising the OP to make a mess of their system with six year old Ubuntu PPA solutions

Please read well..... :mrgreen:
. Adapt it to the drivers you have.
andre@home
 
Posts: 347
Joined: 2011-10-02 08:00

Re: All browsers use only 1 core (super slow browsing)

Postby RebelCoder » 2019-11-02 14:47

I have re-installed Debian and Netrunner Linux. Tired both with Stable and Testing. After few hours of use this issue comes right back and never goes away again. This browser, using single core issue is slowing down the whole PC. And again, it started a month + ago after some update. So Debian Stable/Testing is somehow not working correctly on a system that it worked amazingy well for a few years. And the problem is, I don't want to switch to non-Debian distro. Damn!
User avatar
RebelCoder
 
Posts: 11
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: All browsers use only 1 core (super slow browsing)

Postby andre@home » 2019-11-02 16:43

Just to be sure: Is your power supply for the CPU OK? Itself but also the extra connector thats often mounted close the the CPU?
As the CPU may limit itself in the amount of active cores... because of that... and in that case you are looking for the wrong solution.
andre@home
 
Posts: 347
Joined: 2011-10-02 08:00

Re: All browsers use only 1 core (super slow browsing)

Postby RebelCoder » 2019-11-02 18:58

It is a laptop I have (using the same one for 3+ years on Debian). I think I might have found the issue. This seems to happen after sleep/restore. Will do some more tests. But it clearly happened after latest updates from a month ago.
User avatar
RebelCoder
 
Posts: 11
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Re: All browsers use only 1 core (super slow browsing)

Postby RebelCoder » 2019-11-02 19:20

This seems to happen after sleep/restore


Nope. Not the case. Anyway. Will try moving this laptop to Fedora or KDE Neon and see if this issue is on those distros even though I prefer Debian as I run it on many other PCs around.
User avatar
RebelCoder
 
Posts: 11
Joined: 2018-01-30 10:49
Location: Moscow/London/Riga

Next

Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable