This is the mail archive of the
mailing list for the Cygwin project.
Re: Possible Defect: Long delay in some progam executions
-----BEGIN PGP SIGNED MESSAGE-----
According to Gregory Rosensteel on 4/15/2008 1:46 PM:
| I performed a fresh install of cygwin on windows XP. I am seeing
| that some commands take a really long time to execute, I was wondering
| if anyone else is experience this. For example, the 'which' command
| takes 2s while the 'pwd' command runs just fine. Please see my sample
| output below and if you have encountered this before, let me know
| what's up!
Windows is notoriously slow at path searching (particularly if there is a
network path or heavily populated directory encountered during the search)
and process spawning (at least, when emulating fork on top of windows
API). Remember, 'pwd' is a shell builtin, while 'which' is an external
executable, so in your example, you are only doing a PATH search for
'which'. One other thing to check is if you have any
http://cygwin.com/acronyms/#BLODA interfering with process creation.
Don't work too hard, make some time for fun as well!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html