Help us understand the problem. What is going on with this article?

Firefoxでマルチプロセスを有効化するメモ

More than 1 year has passed since last update.

これはFirefoxでe10sを強制的に有効化してメモリ節約よりも快適化を優先してヒャッハーするための備忘録です。

この手の資料はネット上にごろごろ転がっているので改めて作る必要もなかったのですが、、。
微妙に資料が古かったり知りたいパラメータが欠けていて複数ページみたりと大変だったので、自分の欲しい範囲でひとまずまとめました。

設定

Firefoxのアドレスバーに about:config と入力して設定画面を開く。

以下のように各項目の値を設定します。設定名が見当たらない場合は新規で作ります。

設定名
extensions.e10sBlocksEnabling 真偽値 false
extensions.e10sBlockedByAddons 真偽値 false
dom.ipc.processCount 整数値 4 ~ 8程度
browser.tabs.remote.autostart 真偽値 true
browser.tabs.remote.autostart.1 真偽値 true
browser.tabs.remote.force-enable 真偽値 true

Firefox51から browser.tabs.remote.autostartbrowser.tabs.remote.force-enable は不要になったようです。

dom.ipc.processCountの補足

dom.ipc.processCount はパソコンに搭載しているCPUのコア数と同数~半分くらいがよさそうでした。
多くすればその分多くのページを同時に開くのに有利ですが、その分メモリも食うので様子を見ながら調整です。

このプロセス数以上にページを開くと、1つのプロセスが複数のページのレンダリングを受け持つようになるようです。
そのため、たまたま豪華な作りのページのレンダリングに引っ張られて、他方のページ表示がもたつくような場合もあります。

およそ、1プロセスあたり200MB~300MB位のメモリを食う感じです。

確認

Firefoxのアドレスバーに about:support と入力してサポートページを開く。

マルチプロセスウィンドウの項目が「1/1」になっていればマルチプロセスが機能しています。

※Firefox53ベータ版での画面ショット
about_support.png

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away