X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A60DCDD.507@cygwin.com> Date: Fri, 17 Jul 2009 16:19:41 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: mkdir is too slow References: <19e566510907171016q453bdd44j5bd4f6c20697334a AT mail DOT gmail DOT com> In-Reply-To: <19e566510907171016q453bdd44j5bd4f6c20697334a@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 İsmail Dönmez wrote: > Hi, > > I got a weird problem with Cygwin. I am using Cygwin 1.7 on Windows 7 > RC (x64) and noticed that configure scripts are real slow and tried > some simple tests and to my surprise > > mkdir /foo > > takes up to 18 seconds! But interestingly time(1) is lying to me : > > [~]> time mkdir /foo > mkdir /foo 0.00s user 0.01s system 20% cpu 0.074 total > > while waiting for this to finish I was able to count to 20. > > Any idea why would be the reason for such slowdown? Not based on information so far. Unless the problem is platform or architecture dependent, which would surprise me, it's likely a problem local to your machine. I cannot reproduce it on WinXP x86. You could try running 'strace' on it and look at the numbers on the left to see where the big jump happens. That would at least give you some insight into what call is taking the time. BTW, I'm not suggesting you send the 'strace' output to the list. Just if you want to see if there's something there that supports your findings so far and what may be involved. My WAG would be . I'd also recommend that any future problem report that you make follow the guidelines found here: . -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple