Timeline for Why does Cygwin execute shell commands very slowly?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 22, 2020 at 9:25 | comment | added | Alex Quinn | @dotz PyCharm advice is a different issue. Code that you are actively developing changes a lot, so antivirus (AV) caching can't save you. Once an AV has scanned a file, it won't be scanned again, unless the AV is updated or reconfigured. Needless AV exclusions make it easier for sophisticated viruses to evade your defenses. | |
Nov 20, 2020 at 16:36 | comment | added | dotz | @AlexQuinn Windows version of PyCharm suggest adding source directories of Python projects to Windows Defender excluded paths exactly because of better performance, possibly basing on the fact that you could scan for malware on many earlier steps (download, unzip). Same for Cygwin - files get downloaded from the web, so they could be scanned by the AV software at that point, then they could be left as they are. So, TBH I'm not exactly sure if your advice is valid and I'm not exactly sure what is the threat level. | |
Aug 5, 2020 at 15:54 | comment | added | Alex Quinn | Unsafe and unnecessary! … Antivirus programs cache known files to prevent needless rescanning and avoid performance drain. Cygwin is great—I use it every day—but there are security risks in any system that comprises executables and scripts that are user-writable and unsigned. If the Cygwin repository maintainers missed an infected update, you would be infected and unprotected by your antivirus. Even if the script is not malicious, it could be vulnerable to attacks using compromised external servers or malicious data files. | |
Feb 18, 2020 at 3:26 | comment | added | dotz | @Wappenull, configure does caching | |
Oct 13, 2019 at 13:37 | comment | added | Wappenull | Wow I ran cygwin ./configure on some project and already took half an hour. Found this answer, and I had bitdefender running, add exception to it and it finished like 1 sec :/. BRAH... | |
May 22, 2018 at 14:36 | comment | added | Derek Greer | In my case, I had a really poor performing PS1 (custom prompt) variable set. Once I removed it, everything was really fast. | |
Mar 24, 2016 at 4:09 | comment | added | Florin Andrei | I use Avast antivirus. Cygwin is excruciatingly slow to do any operation. Disabling the Avast shield makes Cygwin very fast. | |
Jan 1, 2015 at 9:59 | comment | added | dotz | As far as I know, the downloaded packages folder is used only for caching downloaded packages and installatin/reinstallation with Cygwin setup. Those files are not being used when running cygwin. I think that c:\cygwin64 should be sufficient. I'd check Windows system folders for cygwin DLLs too. Not that I'd suggest adding vital Windows folders to AV exceptions :) | |
Jan 1, 2015 at 0:29 | comment | added | Steam |
Should I also add the folder to which cygwin downloads all its packages ? That is, the one with the weird name like - ftp%3a%2f%2fftp.harvard.univ.edu%2fpub%2fcygwin%2f
|
|
Jan 1, 2015 at 0:22 | comment | added | Steam | Which paths are cygwin paths ? I excluded this one - C:\cygwin64. Btw, for some antiviruses such as norton, you can find the "exceptions" option somewhere and add this folder to the exceptions list. | |
Mar 7, 2014 at 10:57 | history | answered | dotz | CC BY-SA 3.0 |