Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the DevPod gui causes Microsoft Defender to consume large amounts of CPU! #956

Open
Gaff opened this issue Mar 11, 2024 · 4 comments

Comments

@Gaff
Copy link

Gaff commented Mar 11, 2024

What happened?

Running the DevPod gui causes Microsoft Defender Antivirus Software to consume large amounts of CPU!

Quiting devpod causes the CPU from Microsoft Defender to go back down.

What did you expect to happen instead?

I'd expect it to use little CPU!

How can we reproduce the bug? (as minimally and precisely as possible)

For me it was as simple as starting the GUI. No running devpod pods or other docker containers.

Local Environment:

  • DevPod Version: 0.54
  • Operating System: windows
  • ARCH of the OS: AMD64

DevPod Provider:

  • Cloud Provider: docker
  • Kubernetes Provider: NA
  • Local/remote provider: docker | ssh
  • Custom provider: provide imported provider.yaml config file

Anything else we need to know?

Seems like minimusing to the system tray causes it to reduce CPU losd

@89luca89
Copy link
Member

Hi @Gaff do you have any special setup for defender? On my test machine this does not happen and I can't reproduce

@Gaff
Copy link
Author

Gaff commented Mar 11, 2024

ok - it's definitely weird. I don't think I have anything special going on. I'm using windows 10 and operating on fairly old hardware (i5-4670). Though I don't see how that's particularly relevant.

I see Defender Antivirus at 20-40% CPU with the GUI open and a workspace created 2-5% without. Seems if no workspaces are created there's no load - so check that?

If nobody else can reproduce then I guess I'll chalk it up to software-rot on my machine; it's certainly strange though!

@89luca89
Copy link
Member

Got it, my test machine is a plain W11 machine, maybe something to do with W10

Will try to reproduce 👍

@Gaff
Copy link
Author

Gaff commented Mar 11, 2024

image

Seems to correspond with the visibility of the GUI. I must say there's a lot of process churn when the GUI widget is visible (pictured) that goes away when it's minimised to the system tray.

@deniseschannon deniseschannon added the bug Something isn't working label May 8, 2024 — with Linear
@deniseschannon deniseschannon removed bug Something isn't working kind/bug labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants