delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type; q=dns; s=default; b=qB9s+IH | |
efuuYxYFPcO//xBqakYb42oBSSelYXIxmX0IxAMJDeZiI4kYCU6lZnQg3o1Ytock | |
MMFCakJonLhnX9VfrUmEu6enmm+6z53Js95bnq/3F9NLQ9M1j2ADSKf7ItD/JV49 | |
PyChmApA0U919/AIfyFgqm1mDhF2xDPJiUKU= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:mime-version:in-reply-to:references:from:date | |
:message-id:subject:to:content-type; s=default; bh=oJWuETjlVpCXX | |
Dca9j3mGNjECqE=; b=P4LYXu3oOHQhvJYAjnzJFjit9lr0veP0gbX7swvpZYJWf | |
us3tSe7nPnwaTDA72dC2Z/oSPWpuKi1C/hC1LjjkUfz0CNtWUPiK7hpSYfgal0XV | |
2mU55488sGPz12fa6MtWGzLBQ1Ug4RTh7AFoOxz2EVQa1jnj9jL0tnvGlop9EE= | |
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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=0.5 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=HDD, DVD, chanibal, ssd |
X-HELO: | homiemail-a86.g.dreamhost.com |
X-Gm-Message-State: | AEkoouvghJtGZsaBtr/wm0mQSKR7aZidblaOWQ/ek30npktGR7w4cYCY6KS9HT0Hz4T0gB+m1iTZ4XRtRgvreA== |
X-Received: | by 10.55.180.2 with SMTP id d2mr27842732qkf.69.1469525960561; Tue, 26 Jul 2016 02:39:20 -0700 (PDT) |
MIME-Version: | 1.0 |
In-Reply-To: | <1ac989d9-2c0c-e3de-7453-38aabbe4434c@gmail.com> |
References: | <CAB+S=LhrvgQLw4L1ik=2Hs=A0+7D-0JswNuUKKE5UxfWnZw_TA AT mail DOT gmail DOT com> <30e49013-7019-0d49-addb-ecd49256b127 AT gmail DOT com> <CAB+S=LheiHxeK75qw47dSzpf4y--we0tOfJDWmy7voa8eQqgoA AT mail DOT gmail DOT com> <CAB+S=Ljj2SqoPfQPdKjqp2RTiPMMQ4+9P_s0wifzkh1ooEj-QQ AT mail DOT gmail DOT com> <CAB+S=LhJL7BJ13NZhTXQAHuP8Qx8KOqFhnKuB3tkz6j319yAMA AT mail DOT gmail DOT com> <c9d4a004-f745-0559-a65d-262bef09d406 AT gmail DOT com> <CAB+S=LiUer_RpgnQm-fwRydK-6gLxFS5kp87aKLu-FgOQFemqw AT mail DOT gmail DOT com> <1ac989d9-2c0c-e3de-7453-38aabbe4434c AT gmail DOT com> |
From: | Krzysztof Bociurko <chanibal AT chanibal DOT pl> |
Date: | Tue, 26 Jul 2016 11:39:01 +0200 |
X-Gmail-Original-Message-ID: | <CAB+S=Lgdw_FAGPVgCEra=x1DFjtGNNt=toup7szW_7kJ3ejVdg AT mail DOT gmail DOT com> |
Message-ID: | <CAB+S=Lgdw_FAGPVgCEra=x1DFjtGNNt=toup7szW_7kJ3ejVdg@mail.gmail.com> |
Subject: | Re: Midnight Commander is very slow when starting and changing directories |
To: | cygwin AT cygwin DOT com |
Tried to list all drive letters (with help of http://serverfault.com/questions/62578/how-to-get-a-list-of-drive-letters-on-a-system-through-a-windows-shell-bat-cmd) and: PS C:\Users\chanibal> wmic logicaldisk get caption,providername,drivetype,volumename Caption DriveType ProviderName VolumeName C: 3 SSD D: 3 HDD E: 5 <------------ this is a DVD drive not used for months (years?) And it took close to the 4 seconds - similar to the issue I am experiencing: PS C:\Users\chanibal> Measure-Command { wmic logicaldisk get caption,providername,drivetype,volumename } (...) TotalSeconds : 5,0886857 (...) Disabling the DVD drive with Device Manager changed the above time to 0.063s, changed `ls /cygdrive` time to 0.015s and Midnight Commander STARTED FINALLY WORKING IN REAL TIME. Thank you! All right, now the question is WHY did this fail - I think it might be considered Cygwin bug material, almost none windows app has failed this way (with the exception of this windows mc build). 2016-07-26 8:55 GMT+02:00 David Macek <david DOT macek DOT 0 AT gmail DOT com>: > On 25. 7. 2016 17:34, Krzysztof Bociurko wrote: >> I have found this issue in a new incarnation - and this time it is NOT >> with midnight commander but basic gnu utils. >> Again it's the 4 seconds lost. >> >> $ time ls /cygdrive/ >> c d >> >> real 0m4.065s >> user 0m0.000s >> sys 0m0.015s >> >> `ls /cygdrive/c` or `ls /cygdrive/d` take around 0.013s. > > Is it possible there's another -- unavailable -- drive letter, and the driver needs to wait 4 seconds before declaring it unavailable/disconnected? > > -- > David Macek > -- Krzysztof Bociurko -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |