X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-Authority-Analysis: v=1.0 c=1 a=w4F1_rgZ2XkA:10 a=M5nHsyvj-sAA:10 a=w_pzkKWiAAAA:8 a=xe8BsctaAAAA:8 a=oZyF-DsYknF9ediH2T4A:9 a=CCqqa9ENxjTyZEcsAdgdhNR4BQQA:4 a=eDFNAWYWrCwA:10 a=rPt6xJ-oxjAA:10 Message-ID: <4805403B.9090801@byu.net> Date: Tue, 15 Apr 2008 17:54:35 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080213 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com, grosensteel AT gmail DOT com Subject: Re: Possible Defect: Long delay in some progam executions References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com -----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 AT byu DOT 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/