Force Chromium browser to use multiple processes

1

Several people complained here about multiple Chromium browser processes, I seem to have opposite problem.

I want (if I did not misunderstood something) to force Chromium to use separate process for each page.

My case: I browse some news aggregator, Twitter or a page and open some links in other pages for later reading. I noticed that after opening multiple pages scrolling becomes extremely sluggish (at least on some pages) and responsiveness of browser drops so it becomes barely usable.

In Chromium's task manager I see that some processes have separate dot on the left while others are joined with thick line. See screenshot

Cromium's task manager

The joined processes are those that I opened with Ctrl+Click or similar and are the ones whose pages are most sluggish. For example all tabs opened from Twitter are joined (including Twitter itself). I assume that those pages are all running in same process. I could not pinpoint rule for opening joined processes (sometimes Ctrl+Click does this sometimes opposite) - perhaps there's some internal heuristic for this. If I close a browser's window and reopen tabs with Ctrl+Shift+T the pages turn out to be separate and more responsive even after are all loaded.

I have 16GB of RAM so do not really care about memory consumption. My environment is Ubuntu 15.10 (Xubuntu, x64) but I think I've seen this behavior in previous versions. CPU is Intel i5 (2 cores, 4 threads, notebook).

Petr Gladkikh

Posted 2016-04-18T11:24:00.807

Reputation: 111

BTW, to set default command-line switches for chromium in Ubuntu add them to environment variable CHROMIUM_FLAGS in /etc/chromium-browser/default. – Petr Gladkikh – 2016-04-21T09:55:22.880

Answers

0

Matti Nescio

Posted 2016-04-18T11:24:00.807

Reputation: 364

The documentation for this switch is so annoying. Switch "--process-per-tab" implies that it forces process per tab and it doesn't. Docs say that model it enables is simpler and it isn't. The right switch seems to be "--process-per-site-instance" but it affects all sites I tried except Twitter which still opens shared processes. – Petr Gladkikh – 2016-04-21T09:46:13.947