delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/17/16:25:27

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-list-only-lh AT cygwin DOT com>
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>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <http://cygwin.com/acronyms/#BLODA>.  I'd
also recommend that any future problem report that you make follow the
guidelines found here: <http://cygwin.com/problems.html>.


-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019