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: mkdir is too slow


Ä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


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