Investigate consequences of using PROCESS_MODE_BACKGROUND_BEGIN/END when setting Windows process priorities
Categories
(Core :: IPC, enhancement, P3)
Tracking
()
People
(Reporter: alexical, Unassigned)
References
Details
Updated•7 years ago
|
![]() |
||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
![]() |
||
Updated•6 years ago
|
![]() |
||
Updated•6 years ago
|
Updated•2 years ago
|
Comment 3•2 years ago
|
||
bug 1366356 is fixed and I can't find non-test, non-installer/setup uses of PROCESS_MODE_BACKGROUND_BEGIN
in chromium src - https://source.chromium.org/search?q=PROCESS_MODE_BACKGROUND_BEGIN&ss=chromium - and I did find https://bugs.chromium.org/p/chromium/issues/detail?id=1396155 .
This isn't really a frontend perf bug despite the fxperf tag - but perhaps it can just be closed out at this point? Doug, is there still something useful we can/should be doing here?
Comment 4•1 year ago
|
||
For the purpose of clarity Chrome recently removed usage of PROCESS_MODE_BACKGROUND_BEGIN:
https://chromium-review.googlesource.com/c/chromium/src/+/4894757?tab=comments
An extensive write-up on the issue can be found here:
https://randomascii.wordpress.com/2023/10/01/32-mib-working-sets-on-a-64-gib-machine/
The summary quote from the article is:
“if your process uses more than 32 MiB of memory then [PROCESS_MODE_BACKGROUND_BEGIN] may make your program run 250 times slower and it won’t really save memory so maybe use THREAD_MODE_BACKGROUND_BEGIN instead
Comment 5•1 year ago
|
||
Looks like we probably shouldn't do this, because running 250x slower sounds like a bad idea.
Updated•1 year ago
|
Updated•11 months ago
|
Description
•