High CPU usage when doing barely anything
-
I'm experiencing similar problem with any activity being responded with a long time of a single core overload. No Mail, Feed or Calendar, as I did never use any of these, Task Manager shows Browser going at 100% or more, Network Utility Service at 40%. Will take another look and review other ideas from this thread, but opening just few tabs kills performance - I have to restart and then close tabs after viewing them, this is the only way to maintain somewhat responsive browser. Considering that mere weeks ago I was able to open ~50 tabs to consume them in LIFO order without any glitch, this is a considerable deterioration.
-
@szczurnik
Hi, try the internal task manager, one tab or a extension can cause such a high CPU usage.
Open with Shift+Esc.Cheers, mib
-
@szczurnik just to be sure, have you unchecked the option "Enable Mail, Calendars and Feeds" ?
-
@megosu yes, I went to all these and made sure nothing is enabled.
Task Manager shows Browser going at 100% or more, Network Utility Service at 40%.
Adding to the above, tabs almost never exceed 30%, most common range for "loading in progress" tabs is 20% to 25%; extensions are not even shown as processes, at least when sorting by CPU (considering the problem, I don't care that much for the tails).
Edit: adding another observation: when a single tab is active, it can go to the top with something like 60 or 80%, but when I open several tabs - they don't need to be heavy - none of them seem to manage a lot, as if they were throttling each other, while Browser and Network Service at least triple their activity.
-
@szczurnik
Thought you meant the Windows task manager.
The Vivaldi task manager 100% is one core/task, so my i5 had to show 800% on full load.
But 100% and 40% network is way to much anyway, I have maybe 5% CPU and 0% network if I do nothing with 15 open tabs.
Can you test to add--disable-features=UseEcoQoSForBackgroundProcess
to your desktop shortcut instead of the extension switch:EDIT: You can test the extension switch too:
--disable-extensions
-
The latter option is the same in effect as a private window, right? I have checked it and no problem at all, I could open a whole lot of tabs without a glitch or hiccup.
-
@szczurnik
Yes, same profile but no extensions loaded, except you allow it in the extension settings.
The switch disable the loading of any extension, quite different to simply disable them.
The UseEco switch disable the power save feature in Windows, this help some user with this issue.
The windows task manager shows a green leave if it is enabled. -
The windows task manager shows a green leave if it is enabled.
I use Process Explorer and have no idea, how to access this information.
I'm done with testing
--disable-features=UseEcoQoSForBackgroundProcess
; no heavy load, the only wait is on network to receive response from server, though this does not impact performance of GUI.Edit: to make the point clear - yes, it seems this flag has solved the issue for me.
-
@szczurnik said in High CPU usage when doing barely anything:
I use Process Explorer and have no idea, how to access this information.
The process CPU state will show as Suspended.
Also in the process Threads view, all threads will have a state of Wait:Suspended.
-
Looks like the above flag offers only a partial improvement, as its presence does help, but Vivaldi is not as fast as it once was. Is it possible that extensions are performed within standard processes, not standalone as suggested? I don't see them in Task Manager, thus my guess.
-
@szczurnik Extension processes will show up as
--extension-process
In this case, PID 7968 is uBlock Origin, as seen in the Vivaldi Task Manager:
-
I see such processes now, only they don't do much, really. I have compared and the processes that bug out are consistently
Browser
andNetworkService
, in fact the new report seems to be an extension of the older, caused by the same two. -
Hi!
Maybe this could help for somebody:
Originally I had an issue, that the Favicons stopped showing on tabs (95% of the time just default icon, instead of actual page icon).
But I noticed that I had 10% CPU at idle, with one page opened only, and also, after closing Vivaldi, 1 vivaldi.exe process remained with constant 10% CPU usage (afterwards restarting Vivaldi showed me "Vivaldi is not closed yet, [Force start]" popup, and after clicking, nothing happened (but the process disappeared), and needed to click on the Vivaldi shortcut again to start it).So my theory was, that my Favicon problem and this are related somehow.
So I tried many things from this forum:- Starting with disabled extensions - no success
- Enabling and disabling "mail, calendar and feeds" (originally I had them off) - no success
- Deleting "Favicons" and "Favicons-journal" file manually - no success.
- Clearing cache from the browser option from "Tools"
Oh, and renaming "C:\Users\username\AppData\Local\Vivaldi\User Data\Default" folder solved the issue, so I knew that something in there was the cause.
What I did, that I made a copy of the folder, and started deleting one by one something from there, starting Vivaldi to see if helped, then closing Vivaldi, and opened "Resource monitor" on the stucked "vivaldi.exe", listed the "Associated Handles" on the "CPU" tab, and looked only for the "Type = File" entries. Then, repeat, I just selected something from the entries that pointed to the "Default" profile directory, and deleting.... repeat.
What is weird, that for me what did the trick, was:
Deleting the "History" and the "History-journal" file! Afterwards starting Vivaldi no 10% CPU usage on idle, and after closing, no stucked vivaldi process, and also fixed my original Favicon problem! Without loosing anything from my Vivaldi profile and config! (Well, I did loose my browsing history, but that wasn't important for me.)I confirmed this by restoring my original untouched "Default" folder, and deleting only these two files.
I have no clue why the history cache could cause this, maybe corrupt data in there, but this is definitely a bug
Cheers
-
@PulP3R
Hi and thank you for the feedback, interesting.
We had issues if the users choose "Forever" for history file, this could create hundreds of MB big files.
Did you choose this setting?
Anyway, it is easy to move the files out of Vivaldi to test it.Cheers, mib
-
@mib2berlin
Hi, now I know that there is a setting for this So mine was/is sitting on "Three months".
Also, I kept my "bad backup" of the "Default" folder, so my file sizes was:- "History": 29408 KB
- "History-journal": 634 KB
That's why I assumed some type of data corruption in them, or maybe a bug in the parser, because the file sizes are not that huge. It stucked in an infinite loop for some reason without doing any Disk I/O, I checked.
What just came to my mind, that I used an "Easy Auto Refresh" (by ksoft) extension a day before I noticed the error, which was set to 4 seconds for one page (tab), sitting for a few hours. I'm not sure about the connection, not the first time that I used that extension, also loading a page every 4 seconds should not be that big of a deal for a browser