vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Dev containers Triggers high CPU from security JAMF on Mac

Open ianfiske opened this issue 1 year ago • 1 comments

Type: Bug

My company uses JAMF for security on our mac laptops. We are seeing high CPU from the security app JAMF (process com.jamf.protect.security-extension) when this extension is active. CPU is normal only after the extension is disabled.

Extension version: 0.338.1 VS Code version: Code 1.86.1 (Universal) (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:09:01.236Z) OS version: Darwin arm64 23.3.0 Modes:

System Info
Item Value
CPUs Apple M1 Pro (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 6, 5, 6
Memory (System) 32.00GB (6.14GB free)
Process Argv --crash-reporter-id 0c6f6262-3aa1-493c-8354-ba5f223c8d5a
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
bf62j303:30959262
fegfb526:30961430
ccp1r6:30958156

ianfiske avatar Feb 13 '24 19:02 ianfiske

Do you have a way to find out what the extension does that triggers this? Are you seeing similar behavior with other extensions, e.g., the Docker extension?

chrmarti avatar Feb 15 '24 11:02 chrmarti

Unfortunately, I don't know of a way to inspect what about the extension is triggering this. JAMF is a rather opaque security app.

No, I am not seeing this from any other extensions.

ianfiske avatar Feb 21 '24 22:02 ianfiske

Maybe a CPU profile of the extensions would tell us, could you follow https://github.com/Microsoft/vscode/wiki/Performance-Issues#profile-the-running-extensions ?

chrmarti avatar Feb 27 '24 10:02 chrmarti

Here's a CPU profile collected while the Dev Containers extension is enabled. Once again, while the extension was enabled, the com.jamf.protect.security-extension process on my machine spun up a lot of CPU.

CPU-20240301T141347.932Z.cpuprofile

ianfiske avatar Mar 01 '24 14:03 ianfiske

FYI I'm seeing similar issue. Going to also open a ticket with Jamf

jpfeltracco avatar Mar 14 '24 20:03 jpfeltracco

Hey @chrmarti, this issue might need further attention.

@ianfiske, you can help us out by closing this issue if the problem no longer exists, or adding more information.

vscodenpa avatar Jul 13 '24 12:07 vscodenpa

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!