On 17/04/18 06:26 AM, Liam Proven wrote:
On Mon, 16 Apr 2018 20:04:33 -0400 Anton Aylward <opensuse@antonaylward.com> wrote:
Well, yes. The FF model is to have one process, no matter how many windows, no matter how many tabs.
This has not been true for about a year.
Thank you for the update and the references.
Firefox switched to a multiprocess model in about April 2017:
https://developer.mozilla.org/en-US/Firefox/Multiprocess_Firefox
As far as I can see it is still like old IBM CICS in that even if the CPU has multiple cores that can be managed, resource allocated within FF, it is the one address space. I'd view these as process threads but here Linux different, it seems, from Windows. Threads are just another entry in the process table and are deal with by the main scheduler. Or has that changed too? It's been a while since I read the scheduler code. What I consider to be multiprocessing is complete process separation. Not just separate entries in the proc table but their own address space as well. For example, when I run Thunderbird and Dolphin. They may make calls toe shared libraries, send messages to the various layers of the X display via my desktop, but they are separate processes. I suppose the ultimate definition of a separate process is 'can you run it on a physically separate machine?' Use SSH and IO redirection ... And this mail editor window in Thunderbird? I think it is a 'thread' since if i kill the main Thunderbird process this dies too. But I'll have to 'look under the hood' to confirm it and that can wait for a few more cups of coffee and for me to clear more on today's bucket list.
It is called Project Electrolysis:
https://wiki.mozilla.org/Electrolysis/Multiple_content_processes
1 process shows the app and spawns up to 3 background processes for rendering tab content. Thus it can effectively use up to 4 cores, which is still as many as is common on most PCs, but doesn't eat all the resources it can get, as Chrome does.
Never the less, that's better than, as they say, a poke in the eye with a blunt stick. I think I'll stick with FF until further notice :-) Certainly upgrade this machine's memory and a new machine with the capability for more and faster memory to page 8 of my budget. -- "Too many preachers use the bible as a stepladder for their soapbox." -- John Tandervold -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org