Question regarding slowdowns in PM (disk useage)

Support and discussions for the Apple Mac OS X builds of Pale Moon
Forum rules
Important note:
The Mac OSX version of Pale Moon is provided by various people and is not official or in any way organized at this moment. Your assistance in bringing this build to fruition is greatly appreciated, but you can expect there to be bugs and problems as long as we don't have a maintainer or official builds!

Any specific bugs you find that don't have their own topic yet: please make a new topic; one bug per topic please to keep things organized.

Please also note that these builds are currently created by various independent Mac OS X people and not by our core team; core devs will likely not be able to provide insight or assistance due to lack of Mac hardware and OS/build knowledge for Mac. You'll have to solve the issues among yourselves.
Post Reply
KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-09-22, 09:06

Throughout the years I was under the impression that browsers lag due to the browser itself, poorly coded websites, and my hard drive being old and close to full.

However, I checked the disk useage (never did before), and I am seeing this. So many gigabytes. Is this even normal?
(I am using the latest community build)
Attachments
Screen Shot 2020-09-22 at 05.01.01.png
Last edited by KlarkKentThe3rd on 2020-09-22, 10:28, edited 1 time in total.

User avatar
Moonraker
Board Warrior
Board Warrior
Posts: 1693
Joined: 2015-09-30, 23:02
Location: uk.

Re: Question regarding slowdowns in PM (disk useage)

Post by Moonraker » 2020-09-22, 09:20

cache build up.?.
Have you cleared the cache or have PM clear on exit.?
Xenial puppy linux 32-bit.

Pale moon 29.0.0.

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Re: Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-09-22, 09:24

I have limited the cache to be 350mb only. That, and (pics attached)
Attachments
Screen Shot 2020-09-22 at 05.21.31.png
Screen Shot 2020-09-22 at 05.23.21.png

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Re: Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-09-22, 10:27

Whoever moved my thread here, thanks.

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 839
Joined: 2012-09-04, 15:19
Location: Atlanta Georgia USA

Re: Question regarding slowdowns in PM (disk useage)

Post by billmcct » 2020-09-22, 10:34

Something's lying to you. No way you could use 132.9% CPU. CPU use can never get past 100%.
BACKUP - BACKUP - BACKUP
Three things in life are certain; Birth, Death and Loss of data.
You have no control over the first two, but you DO control the last.

Happy Pale Moon 29.x.x 32bit user on Win 7 x64 and Win 8.1 x64.

But hey y'all, I still ride everywhere with my "Chumpy Bear."

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29276
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Question regarding slowdowns in PM (disk useage)

Post by Moonchild » 2020-09-22, 10:40

The main question is: how long is your session? days? weeks? Judging by the CPU time used you haven't restarted the browser in forever, in which case the cumulative read/write numbers are quite normal.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Re: Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-09-22, 12:10

Good question. I have restarted the browser at least twice in the past 3 days. Unless quitting and re-opening in 30 minutes is not the same as restarting.

Whenever something causes PM to slow down and my CPU to heat up, it also corresponds with the heavy load disk writing, as I now discovered. And yes, the CPU does go above 100% in these cases. I still have no idea what causes this, since closing YT usually does nothing, even after several minutes. Perhaps someone's mining crypto, sounds crazy but not impossible.

Right now, I have 50% CPU, 700mb being written, and 2.3GB of RAM used. Now it's all fine. And despite 1 30min YT video playing in 720p.

User avatar
Andrew Herbert
Fanatic
Fanatic
Posts: 165
Joined: 2019-11-25, 21:46

Re: Question regarding slowdowns in PM (disk useage)

Post by Andrew Herbert » 2020-09-22, 13:04

It also happens to me (except the slowdowns part) when accessing JS-heavy websites, even after closing them.

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Re: Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-09-22, 14:55

You don't have slowdowns because you have a stronger CPU/more RAM, I can bet on it.

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Re: Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-09-25, 20:31

This might be coming from a non-developer, but would it be possible to write an extension that strips the browser from/stops any JS that is not coming from any currently opened window? If you visit a JS heavy site, and it slows down PM for many minutes later, even after you leave, then this might be a potential solution.

Alternatively, just stop all scripts currently running. Like, kill and delete all scripts. Less convoluted to program, could easily help with slowdown.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29276
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Question regarding slowdowns in PM (disk useage)

Post by Moonchild » 2020-09-26, 07:44

Extensions can do many things but they can't control SpiderMonkey internal runtimes.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8918
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Question regarding slowdowns in PM (disk useage)

Post by New Tobin Paradigm » 2020-09-26, 07:49

Even if a binary extension could issue commands to xpconnect to instruct the JS Engine that wouldn't stop or really affect DOM's direct usage of the JS API.
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

User avatar
The Squash
Fanatic
Fanatic
Posts: 213
Joined: 2020-03-25, 19:31
Location: A (server) farm in Illinois... not really...

Re: Question regarding slowdowns in PM (disk useage)

Post by The Squash » 2020-09-28, 01:50

billmcct wrote:
2020-09-22, 10:34
Something's lying to you. No way you could use 132.9% CPU. CPU use can never get past 100%.
It's called multi-core processors. Evidently OS X's process manager does not work in Solaris mode (which divides the CPU usage by the number of CPUs in the system), which makes sense because OS X was based partly on BSD, not at all on Solaris.
THE GRIM REAMER
THE LAST STOP IN THE LIFE OF A CITRUS FRUIT

"Full of juicy segments -- the film, not just the fruit!" -- Films Weekly
IN THEATERS NOW

Rated R -- for graphic content and expression of the peril of fruit.

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Re: Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-09-28, 15:27

I never thought I'd see the day Solaris being mentioned here.

User avatar
The Squash
Fanatic
Fanatic
Posts: 213
Joined: 2020-03-25, 19:31
Location: A (server) farm in Illinois... not really...

Re: Question regarding slowdowns in PM (disk useage)

Post by The Squash » 2020-09-28, 22:21

What's that supposed to mean? You mean you didn't expect that Solaris would be mentioned at all on an OS X-specific part of the board?

And, I'll admit, Solaris does not come to mind readily when thinking about this browser.
THE GRIM REAMER
THE LAST STOP IN THE LIFE OF A CITRUS FRUIT

"Full of juicy segments -- the film, not just the fruit!" -- Films Weekly
IN THEATERS NOW

Rated R -- for graphic content and expression of the peril of fruit.

KlarkKentThe3rd
Lunatic
Lunatic
Posts: 430
Joined: 2018-04-20, 20:31

Re: Question regarding slowdowns in PM (disk useage)

Post by KlarkKentThe3rd » 2020-11-28, 15:31

Looks like the magic bullet was realizing I was running too many add-ons that I wasn't actually using, some of them CPU-intensive and possibly conflicting with each other.

Half of those running right now are borderline passive, not doing anything until asked. nMatrix, uBlock, PureURL, arranged from most the least CPU using. This works, and now the excessive slowdowns are gone.
Attachments
Screenshot 2020-11-28 at 10.28.53.png

User avatar
dbsoft
Project Contributor
Project Contributor
Posts: 103
Joined: 2020-02-21, 17:35

Re: Question regarding slowdowns in PM (disk useage)

Post by dbsoft » 2020-11-28, 18:57

KlarkKentThe3rd wrote:
2020-11-28, 15:31
Half of those running right now are borderline passive, not doing anything until asked. nMatrix, uBlock, PureURL, arranged from most the least CPU using. This works, and now the excessive slowdowns are gone.
So it was 1 or more of those 3 you disabled?

User avatar
moonbat
Moon Magic practitioner
Moon Magic practitioner
Posts: 2777
Joined: 2015-12-09, 15:45

Re: Question regarding slowdowns in PM (disk useage)

Post by moonbat » 2020-11-28, 23:29

Why did you disable Pale Moon Commander? :shock:
It is purely a front end for some advanced settings to keep from having to mess manually with about:config, and it doesn't run in the background or interfere with anything else.
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
Advanced URL Builder(fork)|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

Post Reply