Compiling is really slow even with antivirus turned off

Scholar

Compiling is really slow even with antivirus turned off

Compiling is really slow in all development environments I'm using. Mostly GCC for ARM and AVR. Creating (building) and deleting (cleaning) seems what is slowing the processes down. Simple projects takes many minutes to compile. Arduino projects, too, which I guess is GCC.

 

I've uninstalled F-Secure antivirus and disabled Windows Defender real-time scanning. I've run Windows Defender Offline scan to check for malware and other problems. Something is hogging the process still, and I'm seeing no improvement. How do I go about to find out with delays file-creation and deletion?

 

EDIT: Computer is fairly quick i7-5600U @ 2.60 GHz, 16GB ram and 64-bit Windows 10. While compiling there is not much physical memory or cpu used, almost nothing.

EDIT: This code takes 46 seconds to compile using AVR-GCC:

 

#undef F_CPU
#define F_CPU 3686400UL
#include <avr/io.h>
#include <util/delay.h>

int main(void) {
    DDRB = 0xFF;
    while(1) {
        PORTB ^= 0xFF;
        _delay_ms(100);
    }
}
1 ACCEPTED SOLUTION

Accepted Solutions
Superuser

Re: Compiling is really slow even with antivirus turned off

Hello,

 

Sorry for my reply. I am only an F-Secure user (their home solutions).

 

So, since trouble is still there even with uninstalled F-Secure solution - maybe it is good to try reach out any specialized communities or forums of the used tools / compilers?  I think that trouble with compiling is a pretty common - but there always different reasons. And, maybe, it is discussed somewhere already; or, maybe, someone could to detect / suggest something.

Additionally, are there any ways to optimize compilation? If so - did you try different options?

 

Otherwise, as a F-Secure customer (or F-Secure user) - you could try to reach out their official Support Channels (for example, chat):

And, maybe, their staff with abilities to find any traces of advanced threats. Or, perhaps, they with any instructions how to "clean up" system a bit.

 

By the way, you wrote that scanned system by Windows Defender (Offline as a real live cd? or so). But did you try common Full scan by F-Secure? Although, it does not matter, I think.

 

Windows 10 also with more advanced protection layers. Not only "real-time scanning" can be a reason for some sorts of impact. For example, there can be "exploit protection" (features of EMET). But, perhaps, default settings should be with enough state for avoid troubles and impact.

Reference article is:

https://docs.microsoft.com/en-gb/windows/security/threat-protection/microsoft-defender-atp/exploit-p...

about Enterprise(?) Windows 10 edition - but such a thing (part of features) is available for Home builds too. It is also possible to navigate / find via Windows Security center.

 

Thanks!


Thanks!

View solution in original post

1 REPLY 1
Superuser

Re: Compiling is really slow even with antivirus turned off

Hello,

 

Sorry for my reply. I am only an F-Secure user (their home solutions).

 

So, since trouble is still there even with uninstalled F-Secure solution - maybe it is good to try reach out any specialized communities or forums of the used tools / compilers?  I think that trouble with compiling is a pretty common - but there always different reasons. And, maybe, it is discussed somewhere already; or, maybe, someone could to detect / suggest something.

Additionally, are there any ways to optimize compilation? If so - did you try different options?

 

Otherwise, as a F-Secure customer (or F-Secure user) - you could try to reach out their official Support Channels (for example, chat):

And, maybe, their staff with abilities to find any traces of advanced threats. Or, perhaps, they with any instructions how to "clean up" system a bit.

 

By the way, you wrote that scanned system by Windows Defender (Offline as a real live cd? or so). But did you try common Full scan by F-Secure? Although, it does not matter, I think.

 

Windows 10 also with more advanced protection layers. Not only "real-time scanning" can be a reason for some sorts of impact. For example, there can be "exploit protection" (features of EMET). But, perhaps, default settings should be with enough state for avoid troubles and impact.

Reference article is:

https://docs.microsoft.com/en-gb/windows/security/threat-protection/microsoft-defender-atp/exploit-p...

about Enterprise(?) Windows 10 edition - but such a thing (part of features) is available for Home builds too. It is also possible to navigate / find via Windows Security center.

 

Thanks!


Thanks!

View solution in original post