Windows 10 reached EOS (end of support) on October 14, 2025. For more information, see this article.

Поиск в поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

What does dom.maxHardwareConcurrency 16 Mean

  • 13 ответов
  • 3 имеют эту проблему
  • 159 просмотров
  • Последний ответ от anon_private

дополнительные действия

What does dom.maxHardwareConcurrency 16 mean?

What does dom.maxHardwareConcurrency 16 mean?

Выбранное решение

Just leave the pref(s) at their default value. This is not an important feature and best is usually not to modify prefs unless there is a problem with some feature.

Прочитайте этот ответ в контексте 👍 1

Все ответы (13)

дополнительные действия
дополнительные действия

Thank you.

It looks like it means the number of threads that can be run at the same time. In my case 16. Presumably this means 1 to 16. Am I correct?

дополнительные действия

The pref defines a maximum of how many logical cores for workers are available. If you have a configuration that supports more logical cores then Firefox will report the maximum as set via the pref.

You can inspect the current setting via the navigator object in the Web Console.

  • window.navigator.hardwareConcurrency

If you regularly would visit website that makes excessive use or workers then you may want to set this pref to a lower value.


дополнительные действия

I do not see this (window.navigator...) in about:config

I see: dom.maxHardwareConcurrency 16

I do not co-work

дополнительные действия

window.navigator is not in about:config, but is JavaScript code that you can run in the Web Console like I wrote above.

дополнительные действия

I am lost

дополнительные действия

Are you able to open the Web Console (Ctrl+Shift+K)?

On its command line (>>) you can paste the JavaScript code. Press the Enter key to evaluate the code and see the result.

  • window.navigator.hardwareConcurrency

Изменено cor-el

дополнительные действия

I could not find the command line, but, with your help, I have found it >>.

I see: window.navigator.hardwareConcurrency 2

So, it looks like two people could work at the same time. However, I work alone. Does this mean the processor has two cores for independent processing?

Best wishes

PS. Does the command line look at all JavaScript code in the Firefox browser, or all JS code in kubuntu (my OS). Does this command line have other functions?

дополнительные действия

PS in about:config it is set to 16! (dom.maxHardwareConcurrency 16)

дополнительные действия

dom.maxHardwareConcurrency sets the maximum, so if you would have a very sophisticated CPU that would support 32 cores then websites can only use 16. What navigator.hardwareConcurrency reports is what websites detect and what is safe to use.

If you set dom.maxHardwareConcurrency to 1 and close and restart Firefox then you will see that navigator.hardwareConcurrency will report 1.

дополнительные действия

I have an old pc and the processor is basic. I believe that it is dual core,

Would you advise changing the HardwareConcurrency in about:config to 2, or leave it at 16.

Thanks

дополнительные действия

Выбранное решение

Just leave the pref(s) at their default value. This is not an important feature and best is usually not to modify prefs unless there is a problem with some feature.

дополнительные действия

Thank you for all the help.

Best wishes.