Petrovic Posted November 10, 2016 Share Posted November 10, 2016 Mozilla revealed yesterday that it plans to enable multiple content processes in Firefox Nightly, the cutting edge development version of the web browser. Firefox's multi-process architecture is not yet enabled for all users of the stable version of the browser, currently on version 49.x, but plans are already underway to improve multi-process Firefox. Tip: Check out our Firefox multi-process guide for general information on the new functionality. The guide helps you find out whether multi-process is enabled, provides you with information on enabling it if it is not, Mozilla's initial version of Firefox's multi-process architecture used one browser process and one content process. This is different from Chrome's implementation which uses one process for each content process instead. This is one reason why Chrome uses more memory than Firefox (you can reduce Chrome's memory hunger a bit by using one process per site). Multiple content processes in Nightly One disadvantage of using one content process for all sites is that a bug in one may take down the whole process. Since there is only one, it may crash all sites open in Firefox. While that should not affect the browser core, as it runs in its own process in multi-process Firefox, it is far from ideal. Mozilla will enable a second content process in Firefox Nightly soon. You can verify the number of content process in the following way: Load about:config in Firefox's address bar. Confirm that you will be careful if a warning prompt is displayed. Search for dom.ipc.processCount. The value of the preference indicates the number of content processes. The value you see there is the number of content processes that Firefox may use at most. If you check the Task Manager, you should see value+1 firefox.exe processes running (the +1 is the browser process). You can change the number of processes that Firefox uses by changing the value. I have run Firefox Nightly with eight content processes for the past months and never ran into any issues. You should expect a higher RAM usage of the browser due to the number of extra processes and overhead, but if you have plenty of RAM, that is more than made up for by increased stability and performance. Bugs are to be expected, and there are already some that Mozilla is working on. DOM Storage for instance does not properly propagate between processes which could cause some sites to misbehave. The change landed in Firefox 52 Nightly, but multiple content processes won't be part of Firefox 52 Stable. It is unclear yet when this is going to happen. Article source Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.