Re:Windows 10 vs. Ubuntu Linux Performance on a $199 AMD Ryz...
by for_xyz on Monday February 03, 2020 @09:51AM
(#22224576)
Defender does the scanning on CloseHandle() calls in untrusted code which can block the thread for even up to ~10ms (including other NTFS filter drivers) which is significant if you do open() close() pairs a lot.
More info about the similar issue and solution is apparently to sign the application [1]
[1] https://github.com/rust-lang/rustup/issues/1540#issuecomment...
Re:Windows 10 vs. Ubuntu Linux Performance on a $199 AMD Ryz...
by ahartmetz on Monday February 03, 2020 @05:44PM
(#22230187)
I wonder if my former Windows using coworkers knew about that! They were quite good though so if there was something to know at the time, they probably did.
Common knowledge in the office was that Windows small file I/O performance is about 1/10th of Linux, probably due to NTFS and ACLs being expensive to evaluate.
This came to our attention when we found one of our programs ran dramatically better on Windows 7 than 10 and we traced it back to the 7 machine not having Defender installed. We ended up optimizing our IO behavior to avoid triggering Defender and it made a huge difference.
This leads me to wonder how many of these benchmarks suffer on Windows from similar problems or if Defender was disabled how much of a difference it would make.