turn off/disable processes on windows that run in the background
Categories
(Testing :: General, task)
Tracking
(Not tracked)
People
(Reporter: jmaher, Assigned: jmoss, NeedInfo)
References
Details
Florian has found that we have processes that consume cpu/memory in the background on windows- both on perf tests (i.e. NUC hardware) and unittest (i.e. azure VM). For performance this could help make things more stable.
I am aware of a couple things:
- OneDrive
- Windows Defender
Potentially there are other things. I recall :padenot mentioning there might be some prior art/scripts on the web for cleaning up a win11 machine, that might give us ideas.
:florian, are there other process that you found from the FIrefox Profiles you collected to add to my list?
Comment 1•1 year ago
|
||
Tracking RelSRE work in https://mozilla-hub.atlassian.net/browse/RELOPS-1054.
Where are we seeing Windows Defender running? We do check for that in both the configuration tooling and integration testing, so it looks like we need to make some improvements there.
Comment 2•1 year ago
|
||
I'm planning to bridge existing bits of kit from the monitoring ecosystem to the Firefox Profiler and our test/benchmark harness to fish those out without having to write tons of code and adding lots of maintenance burden.
Since there are SREs CC-ed, maybe it's the right place to ask an important related question: are we more of a prometheus shop or a telegraf/influxdb shop?
Reporter | ||
Comment 3•1 year ago
|
||
specifically smartscreen.exe
is running in the background which maps to windows defender.
Comment 4•1 year ago
|
||
(In reply to Joel Maher ( :jmaher ) (UTC -8) from comment #0)
:florian, are there other process that you found from the FIrefox Profiles you collected to add to my list?
Here's 3 example profiles, that contain processes I find questionable:
https://share.firefox.dev/3XaGeWj
process — StartMenuExperienceHost.exe -ServerName:App.AppXywbrabmsek0gm3tkwpr5kwzbs55tkqay.mca
process — smartscreen.exe -Embedding
process — AppHostRegistrationVerifier.exe
process — backgroundTaskHost.exe -ServerName:SettingsUXHostApp.AppXbcemfss8fnwzwnsjec8qzh0c3jnkn6x0.mca
process — RuntimeBroker.exe -Embedding
backgroundTaskHost.exe -ServerName:Microsoft.MicrosoftOfficeHub.AppX54h2e8jwdm50fj5ha8987vz1etpx7czd.mca
backgroundTaskHost.exe -ServerName:microsoft.windowslive.mail.AppXck8wg1kmbyhcav4m1f20qdp9js3rp7e4.mca
msedgewebview2.exe --type=utility --utility-sub-type=unzip.mojom.Unzipper --lang=en-US --service-sandbox-type=service --video-capture-use-gpu-memory-buffer --noerrdialogs --user-data-dir=C:\Users\task_172367441140932\AppData\Local\Packages\MicrosoftTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView --webview-exe-name=msteams.exe --webview-exe-version=24193.1904.3031.6050 --embedded-browser-webview=1 --embedded-browser-webview-dpi-awareness=2 --field-trial-handle=1384,i,179526396981031598…
AUDIODG.EXE 0x0000000000000564
https://share.firefox.dev/4ctPEk5
OpenConsole.exe -Embedding
msteamsupdate.exe -RegisterComServerForEcsTask -Embedding
https://share.firefox.dev/3AxNWkD
OneDriveStandaloneUpdater.exe /reporting
msedgewebview2.exe --type=gpu-process --disable-gpu-sandbox --use-gl=disabled --gpu-vendor-id=32902 --gpu-device-id=42912 --gpu-sub-system-id=808943750 --gpu-revision=4 --gpu-driver-version=31.0.101.5186 --noerrdialogs --user-data-dir=C:\Users\task_172366362781596\AppData\Local\Packages\MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy\LocalState\EBWebView --webview-exe-name=Widgets.exe --webview-exe-version=524.13200.30.0 --embedded-browser-webview=1 --gpu-preferences=WAAAAAAAAADoAAAMAAAAAAAA…
These profiles have been collected by pushing https://phabricator.services.mozilla.com/D209036 to try.
(In reply to Paul Adenot (:padenot) from comment #2)
I'm planning to bridge existing bits of kit from the monitoring ecosystem to the Firefox Profiler and our test/benchmark harness to fish those out without having to write tons of code and adding lots of maintenance burden.
Since there are SREs CC-ed, maybe it's the right place to ask an important related question: are we more of a prometheus shop or a telegraf/influxdb shop?
Prometheus! If you have more specific questions, #obs-help on slack might be a good place to ask questions around integrating with prometheus, as there is a team working on observability.
Comment 6•11 months ago
|
||
:jmoss is it possible to get visibility into the prioritization of this task? Is there more data needed for justification?
(In reply to Frank Doty [:fdoty] from comment #6)
:jmoss is it possible to get visibility into the prioritization of this task? Is there more data needed for justification?
:fdoty I think Q1 of 2025 is a worthwhile. I will reach out to setup a meeting with you and my peer so we can get an idea of how to implement disabling additional process.
We have started to deploy windows 11 24h2 to our Windows NUC hardware. While upgrading to 24h2, I have been removing unnecessary services that include the services from above. :florian feel free to re-run the Firefox Profiles on this worker-pool which is gecko-t/win11-64-24h2-hw-alpha
. :jmaher can assist with crafting a try push that runs on this specific pool, as this pool is not currently configured to run any gecko tasks.
Description
•