mkdir is too slow

İsmail Dönmez ismail@namtrac.org
Sun Jul 19 15:49:00 GMT 2009


On Fri, Jul 17, 2009 at 11:19 PM, Larry Hall
(Cygwin)<reply-to-list-only-lh@cygwin.com> wrote:
> İ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.

This only happens when zsh is used, that might be a clue.

Regards.

-- 
İsmail DÖNMEZ

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



More information about the Cygwin mailing list