NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox resource hog



I find that firefox 105 or 107 are almost unusable on a laptop running
NetBSD 10.0 BETA.

Following is a top snapshot:

 1615 guest     85    0  3223M  414M poll/0      0:47 58.46% 54.35% firefox
 2344 guest     85    0  2556M  130M poll/3      0:01  0.00%  0.00% firefox
 4005 guest     85    0  2533M  105M poll/3      0:00  0.00%  0.00% firefox
 1333 guest     85    0  2530M   98M poll/2      0:00  0.00%  0.00% firefox
 1811 guest     85    0  2483M   65M poll/1      0:00  0.00%  0.00% firefox
 1792 guest     85    0  2483M   65M poll/3      0:00  0.00%  0.00% firefox
 2482 guest     85    0  2483M   65M poll/3      0:00  0.00%  0.00% firefox
 1816 guest     85    0   355M   40M poll/0      0:00  0.00%  0.00% firefox

The laptop has 4G RAM which may sound less to some. But on Linux I can use
the same laptop with firefox 107 without any problems.

[ I have yet another laptop with 2G RAM, on which also firefox works fine
on Linux. On yet another laptop with 8G RAM, with amdgpu, on NetBSD 10
BETA, firefox simply crashes sometimes taking down the OS. (PR already
logged). ]

Can the difference have something to do with drm not working properly on
NetBSD. (There is a different thread "i915 observations" on these issues.
Linux uses SNA acceleration which is somehow not working on NetBSD.)

On the other hand, wonder why firefox has to start so many processes and
occupy so much of RAM in the first place. This is just a pristine
installation without any extensions or plugins and top snapshot when
nothing is opened in the browser as yet - just a single and blank tab.

And are there ways to trim its memory and CPU footprint, at compilation
time or using config or CLI options?

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index