delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/07/26/06:03:53

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Nt+xhkeaFOrpSKEp
KCbhMUOfjrEwHzk0FqtacqfzeBcB87rsAKEi1EVUkJRLaIl39MyH6BgXaT9wuUiV
VILg7UwPPDvjKwD6fy9PtrLHA1bFFESnV7v8ACw2ihAoO8A26F++YfHEVxsHjwuN
ODCdb7uflIhsj+kZw5ctdGqIyqY=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=Dx1XLvBH11QJQ9HghAJry3
+8R8o=; b=Os4yCQBO1sCyVbECYQs8QwWze370p814sfT0sNYn82Ma8didP4C9YA
L4p94s155MthpZkm1qWfpG7l54Y1iPoNOZ2QvNEthSB3asBzTV+nnLEoqBsutaKd
eVPzgi7CtGtuJ7uX0tzpsoiIlF+EAtrLYgGPSWL/dS5ZMg/iFqJjM=
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=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Tried, system32, System32, wbem
X-HELO: mail-wm0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=4rQiACv4YczZvgIcGEaaPuT+szu8UXk8fMe1Jyhkmww=; b=M1Fx8NmeukWf7RUs7+e+gXx6NJMuuew89YgScoZ57jBFosyKpM5EhDdx583Ny4JtvM AaJHwrqWLKkk/x4ZDAfiKPzODcUBB9RV0glsBVaJhdv73g5BrNyxol1zG28Cccnu/doQ h4yizoDr2rGqEkIDO1IRIeV8dagLzBFiCMdOxJl6OtwkyHGVgqM5rrehlQTZ+GBbrz6X 6xJyXPgAoRROrWTAAHVe+yb8wLVWy0T8rnmYBpaJDmq9G9sA87rCqeviE3U4Jy7blBGO +XD61NVUA3ySNmacmvZ8ty0wX/CpOusouyyDDolcdgBRex6pd3XNmrA9PGJtd8da+GUp u8Lg==
X-Gm-Message-State: AEkoous58M1fNRCk8xIxcWZSn6s47Vuafo9MdO0yuocK6OH0Yd3nC07nn8iBxISQPApczA==
X-Received: by 10.28.216.67 with SMTP id p64mr25657604wmg.56.1469527401916; Tue, 26 Jul 2016 03:03:21 -0700 (PDT)
Subject: Re: Midnight Commander is very slow when starting and changing directories
To: cygwin AT cygwin DOT 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> <CAB+S=Lgdw_FAGPVgCEra=x1DFjtGNNt=toup7szW_7kJ3ejVdg AT mail DOT gmail DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <9b0cc47e-5ba5-bb0d-c48d-1477a03520fd@gmail.com>
Date: Tue, 26 Jul 2016 12:03:10 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CAB+S=Lgdw_FAGPVgCEra=x1DFjtGNNt=toup7szW_7kJ3ejVdg@mail.gmail.com>
X-IsSubscribed: yes

On 26/07/2016 11:39, Krzysztof Bociurko wrote:
> 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).
>

If both version of MC are stacked as also wmic, it is because all
asked the same thing to windows and it took 4 seconds
to receive and answer.

Not cygwin bug. Eventually of your DVD driver.

My DVD D: takes no time

  $ time /cygdrive/c/windows/System32/wbem/WMIC.exe logicaldisk get 
caption,providername,drivetype,volumename
Caption  DriveType  ProviderName  VolumeName
C:       3
D:       5
E:       3                        HD-Atzeri3

real    0m0.156s
user    0m0.015s
sys     0m0.062s





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