如何让所有Chrome线程都以高CPU优先级运行?

joh*_*why 6 windows cpu google-chrome priority windows-10

正常运行,所有Chrome进程都有正常优先级。各种线程代表各种选项卡、扩展等。

在此输入图像描述

但是,然后我启动了具有高 CPU 优先级的 Chrome。我在用着:

cmd.exe /c start "" /high "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
Run Code Online (Sandbox Code Playgroud)

然后一些线程以高优先级运行,一些线程以正常优先级运行,其他线程以低优先级运行。

在此输入图像描述

为什么?

是否可以让所有chrome子线程以高优先级运行?

也许我可以通过在单进程模式下运行 chrome 来实现它,但这并不理想。

Windows 10

Chrome 73.0.3683.103(官方版本)(64 位)

joh*_*why 4

这是部分解决方案。通过我的测试,它似乎可以防止任何 chrome 进程进入“低”优先级,尽管它不会阻止“正常”优先级。

使用 --disable-renderer-backgrounding镀铬启动开关。 https://peter.sh/experiments/chromium-command-line-switches/#disable-renderer-backgrounding

start "" /High "chrome.exe" --disable-renderer-backgrounding

我注意到 Chrome 性能通过此开关立即得到改善。我相信它允许非活动选项卡以正常优先级加载,而不是获得低优先级。我没有注意到对活动选项卡有任何负面影响。

在此输入图像描述