Firefox - Change Number Of Content Processes

It turns out that you can choose the number of processes that Firefox will use for managing all of your tabs. This is much more efficient in terms of resources than using one process per tab like chrome.

Steps

Go to about:config and search for dom.ipc.process. The value should be 4 by default, but I found it was just 1 on my computer. Click on the value field and set the value to what you want in the dialogue box.

The tradeoff with increasing this number is increased memory utilization, so I recommend setting the number to the number of threads your CPU can handle. This is 4 in most cases but could be up to 16 on a Ryzen 7 1700.

I made sure to test this worked by opening a heavy webpage four times in quick succession (middle-mouse-click) and checking the output of htop. Firefox is indeed using four processes as shown below:

Author

Programster

Stuart is a software developer with a passion for Linux and open source projects.

comments powered by Disqus
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites. More info.