Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Nov 2020 05:29:45 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Tomasz CEDRO <tomek@cedro.info>
Cc:        Mario Lobo <lobo@bsd.com.br>, FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Firefox memory usage
Message-ID:  <20201109052945.6fcfaf70.freebsd@edvax.de>
In-Reply-To: <CAM8r67ATXU==emMG=C1dQ1tL2%2BfPuO1eyp_2RV%2BCJpd0uK42VA@mail.gmail.com>
References:  <CA%2ByoEx9rAmDP0xoqqDsn6_a5_anRmf=6Y6nKWCxDaoza1F_o5Q@mail.gmail.com> <CAM8r67ATXU==emMG=C1dQ1tL2%2BfPuO1eyp_2RV%2BCJpd0uK42VA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Nov 2020 23:46:06 +0100, Tomasz CEDRO wrote:
> yuupp i even close it quite often and clean up tabs but my Atari was faster
> :-(
>
> welcome to the brave new world where first better website is probably more
> complex (in terms of frameworks and dependencies and memory footprint) than
> the OS itself ;-)

Don't confuse modern web browser with "programs that display
web pages" - their complexity is like a whole operating system,
as they share concepts and implementation of those.

That is the _first_ complexity - and on top, as you mentioned,
is the _second_ complexity of websites taking advantage of all
that power: primarily JS, its many frameworks, external resources
and dependencies, lots of local computation and storage.

It's quite funny that all the disadvantages associated with
"Flash" now have become even more significant with JS. Many
years ago, I tried opening 70+ tabs in Opera with "Flash",
each one playing some video. That was on a dual-core machine
with 2 GB RAM. With the 75th tab open, swapping started, but
Opera still was responsive (albeit sluggish), so I could
close the tabs, and system came back to normal. Funny thing:
It seemed to be more I/O load than CPU load, and looked
like this (copied from a terminal - yes, this was still
possible):

  1  [||||                      7.9%]     Tasks: 73, 0 thr; 1 running
  2  [|                         2.6%]     Load average: 0.38 0.70 0.42 
  Mem[|||||||||||||||||||1601/1990MB]     Uptime: 00:52:33
  Swp[|||||               275/2047MB]

Now try _that_ today - with today's resource-intensive
websites, with today's resource-intensive web browsers.
Use a recent PC, put 64 GB RAM in them. Probably you won't
even reach 50 tabs open... :-)



> also ~80+ Firefox introduced some nasty ideas such as "profile downgrade
> protection" so i can only imagine what kind of team took over the project
> :-)

Combine this with "use our online services and store your stuff
in our cloud"-mentality... "our customers"... yes, definitely
what I want from a "simple" program that displays web pages... ;-)



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201109052945.6fcfaf70.freebsd>