user21158: I am a lichess user who would like to be able to use my 8C/16T processor to the best of my ability, and yet when I start up a chess engine only one of my cores is working on stockfish the rest are either doing very very little of just nothing at all. Why is this happening and how can I fix it?
I am using Linux (Ubuntu 18.04 LTS)
This is what I was told on lichess forums:
Both javascript.options.shared_memory and dom.postMessage.sharedArrayBuffer.withCOOP_COEP have to be set to true.
As a very new linux user... how do I actually implement this?

user19877: I will have to take them at their word that just setting those settings will fix your problem, but here is how you do that.

In the URL bar, type "about:config" (without the quotes) and hit enter.
Click "Accept the Risk and Continue" (this is just because your local computer does not have an SSL certificate from an accepted authority)
You will get a warning "Changing these preferences can impact Firefox performance or security", but click "Show all" which will bring up the "Advanced Preferences" page.
You can either scroll down until you find those settings, or you can use the search function, but find them, and change them to "True" using the button to the very right that looks something like opposite arrows.
Restart the browser just in case, and try again.

Good luck.
P.S. Although I doubt it, what you see may be a bit different since I just did that on a Windows version of Firefox, so adapt as necessary. This has less to do with being a Linux user than the browser itself.
P.P.S. It appears that this only works on certain operating systems. @Chromatix determined that it does not work on a Mac, but does on Ubuntu.  I determined that it does not work on Windows 10, and the slider for the number of cores is missing. I then installed Chrome, and it did work on Windows 10. We both determined that it appears to limit you to four cores, regardless of how many your PC has.

user19281: Those appear to be options to set in your Web browser, which is effectively the platform that LiChess runs on.  You don't mention which browser you're using…
Chrome uses multiple cores and thereby searches many more nodes per second, without any special attention.
On my Mac, Firefox uses only one core, even after entering the settings you mention (using about:config).  However, the Linux version responds well to these settings.
Obviously, a native chess engine would be more efficient still.  This wouldn't integrate with LiChess, however.

21158: <p>I am a lichess user who would like to be able to use my 8C/16T processor to the best of my ability, and yet when I start up a chess engine only one of my cores is working on stockfish the rest are either doing very very little of just nothing at all. Why is this happening and how can I fix it?</p>

<p>I am using Linux (Ubuntu 18.04 LTS)</p>

<p>This is what I was told on lichess forums:</p>

<p>Both javascript.options.shared_memory and dom.postMessage.sharedArrayBuffer.withCOOP_COEP have to be set to true.</p>

<p>As a very new linux user... how do I actually implement this?</p>
 19877: <p>I will have to take them at their word that just setting those settings will fix your problem, but here is how you do that.</p>

<ol>
<li>In the URL bar, type "about:config" (without the quotes) and hit enter.</li>
<li>Click "Accept the Risk and Continue" (this is just because your local computer does not have an SSL certificate from an accepted authority)</li>
<li>You will get a warning "Changing these preferences can impact Firefox performance or security", but click "Show all" which will bring up the "Advanced Preferences" page.</li>
<li>You can either scroll down until you find those settings, or you can use the search function, but find them, and change them to "True" using the button to the very right that looks something like opposite arrows.</li>
<li>Restart the browser just in case, and try again.</li>
</ol>

<p>Good luck.</p>

<p>P.S. Although I doubt it, what you see may be a bit different since I just did that on a Windows version of Firefox, so adapt as necessary. This has less to do with being a Linux user than the browser itself.</p>

<p>P.P.S. It appears that this only works on certain operating systems. @Chromatix determined that it does not work on a Mac, but does on Ubuntu.  I determined that it does not work on Windows 10, and the slider for the number of cores is missing. I then installed Chrome, and it did work on Windows 10. We both determined that it appears to limit you to four cores, regardless of how many your PC has.</p>
 19281: <p>Those appear to be options to set <em>in your Web browser,</em> which is effectively the platform that LiChess runs on.  You don't mention which browser you're using…</p>

<p>Chrome uses multiple cores and thereby searches many more nodes per second, without any special attention.</p>

<p>On my Mac, Firefox uses only one core, even after entering the settings you mention (using <code>about:config</code>).  However, the Linux version responds well to these settings.</p>

<p>Obviously, a native chess engine would be more efficient still.  This wouldn't integrate with LiChess, however.</p>
