This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Possible Defect: Long delay in some progam executions


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Gregory Rosensteel on 4/15/2008 1:46 PM:
| Hello,
|   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             ebb9@byu.net
-----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

iEYEARECAAYFAkgFQDsACgkQ84KuGfSFAYAVRgCgzzz9ftmH9HZxDvx+pi7YCeSK
UOQAn3c1dLKPTePs6Wso0T0QgJwDdtBS
=jiU6
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]