Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Windows Defender really SUCKS, eating up unreasonable amount of HDD res

views
     
TSCKKwan
post Jun 15 2017, 08:13 AM, updated 9y ago

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
A newly installed Win 10 Pro in Hyper-V (4GB Ram, 32GB HDD) with all latest updates and NOT a single software had been installed yet! Except these two tools:

1. Classic Shell
2. 7zip

Both of them were downloaded from official site.

After installing, the windows were cleaned using cleanmgr to release all the HDD space.

And that stupid windows defender had been running and scanning since yesterday night. Non stop.

Luckily it was not installed on my SSD, otherwise it will generate > 1TB of write in less than 3 hours. (I used to have this problem on the host, and that is the reason why I have disabled windows defender)


WTH is Windows Defender doing? If it is scanning, it shouldn't write too extensively to the HDD.

Furthermore there is NOTHING To scan. I have only a 32GB HDD, and with less than 10GB of files installed (including the OS)

This post has been edited by CKKwan: Jun 15 2017, 08:15 AM


Attached thumbnail(s)
Attached Image
TSCKKwan
post Jun 15 2017, 08:51 AM

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
QUOTE(delang @ Jun 15 2017, 08:48 AM)
im using it without issues, not sure bout ur case.
*
Because you are not monitoring its performance.
TSCKKwan
post Jun 15 2017, 12:45 PM

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
QUOTE(abubin @ Jun 15 2017, 12:40 PM)
how sure are you it's windows defender? From your screenshots can only see hdd thrashing. It could be pagefile swap due to insufficient memory or file indexing running or cortana indexing.
*
If you goto the Process tab, it will shows "Antimalware Service Executable" is the one that hogging the HDD.

Besides, all the CPU and HDD activities drop to near zero (0) once I have disabled Windows Defender using gpedit.
TSCKKwan
post Jun 16 2017, 02:40 PM

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
QUOTE(horns @ Jun 16 2017, 12:24 PM)
the allocated virtual ram is not 4gb. from screenshot it's 2. running w10 with 2gb ram might trigger swap use more often, causing 100% cpu usage also.

i run w10pro on virtualbox. (4gb ram; 40gb hdd) i only have brief moments of high ram usage sometimes, not always.
*
The Allocated RAM is 4GB. Hyper-V will dynamically increase / decrease the RAM available.

Besides, there isn't any software running at the moment. Only Windows Defender was running at the background.
TSCKKwan
post Jun 16 2017, 04:19 PM

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
QUOTE(horns @ Jun 16 2017, 03:45 PM)
dynamically allocated ram is a nice feature in hyper-v in theory, but sometimes it doesn't work as expected. in general, a w10 vm with static 2gb runs better than a vm with 4gb dynamic ram in hyper-v. (just try it out if you want)

however, i agree that windows defender is the most common app that causes full disk usage (especially if the os/vm is on hdd). for relatively optimal use, run vm on ssd, and do some manual tweaks to it.
*
But in this case, I do not think that the high HDD usage is caused by the dynamically allocated RAM.
TSCKKwan
post Jun 16 2017, 05:48 PM

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
QUOTE(horns @ Jun 16 2017, 04:29 PM)
maybe; but it contributes to overall sluggishness due to much lower iops. looking at that high cpu usage, i suspect swap file on hdd was in action.
*
Besides dynamically allocation of Memory, Hyper-V also dynamically scale back the CPU time allocated to the VM. That is why a lot of time you will notice CPU usage is very high.

Windows Defender shouldn't use so much memory that it causes the OS to start swapping into HDD. When memory is not sufficient, Hyper-V should first allocate more from the host (until its limit is hit) before telling the OS that there is no sufficient memory and triggered a swap. Besides, Windows Defender is (the only) actively running, if the OS wish to swap some thing out of memory, it should have swap something (which is idle) else instead of Windows Defender.
TSCKKwan
post Jun 16 2017, 07:09 PM

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
QUOTE(horns @ Jun 16 2017, 07:03 PM)
er what you said are ok, in general, on paper. problems lie in behaviors of hyper-v during actual applications. maybe dig a little deeper on common issues and best practices of hyper-v.

i understand that your main point is about how bad windows defender is. however i run w10pro vms for some times now (virtualbox and hyper-v; fixed 4gb ram; 4 cpu vcores). windows defender doesn't give me  high cpu/disk/mem issues so far.
*
The theory (deep inside) will basically affect all applications running inside hyper-v. Which is a MORE serious problem than just Windows Defender alone.

If whatever you said is true, then you should have noticed that your VM is behaving unexpectedly.
TSCKKwan
post Jun 16 2017, 07:26 PM

Enthusiast
*****
Senior Member
886 posts

Joined: Dec 2004
QUOTE(horns @ Jun 16 2017, 07:23 PM)
the thing is that i don't have such a problem smile.gif
*
That is fine, I only disagree with your weird theory

 

Change to:
| Lo-Fi Version
0.1066sec    0.59    7 queries    GZIP Disabled
Time is now: 13th December 2025 - 05:36 AM