delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/06/16:18:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_MK,TW_RW,TW_WX,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
From: "Paul Maier" <svn-user AT web DOT de>
To: <cygwin AT cygwin DOT com>
Subject: cd slows down on local drive when another network drive gets connected
Date: Sun, 6 Feb 2011 22:17:41 +0100
Message-ID: <8A94798A2EE045A0A1B87AF404A8EA4B@sulzer.de>
MIME-Version: 1.0
X-Sender: svn-user AT web DOT de
X-IsSubscribed: yes
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

Hello,

can I do some setting to work around this immense slow down?

Any cd command on local hard disk drive slows extremely down when I connect another
drive letter to a network drive.

Look at how I took the time:


Example 1:
Drive Q: is connected to a network drive, connection is via a slow VPN mobile phone (GPRS) line.
All the example below is only on local hard disk drive C:\.
The slow drive Q: is not involved, but it's presence slows down any cd command on local drive C:.
My $PATH does involve ".", some paths on C:, but nothing on Q:.
Shell is tcsh.
The cd command on the local drive C: takes 5.8 seconds (!) to complete:

/cygdrive/c/Dokumente und Einstellungen/Test2/Desktop/cy>mkdir x
/cygdrive/c/Dokumente und Einstellungen/Test2/Desktop/cy>l
drwxr-xr-x+ 1 Test2 mkgroup 0 05.02.2011 20.39 x/
/cygdrive/c/Dokumente und Einstellungen/Test2/Desktop/cy>time cd x
0.015u 0.046s 0:05.80 0.8%      0+0k 0+0io 1203pf+0w


Example 2:
Same situation, but now Q: is disconnected.
The cd command on the local drive C: now completes in 0.01 seconds:

/cygdrive/c/Dokumente und Einstellungen/Test2/Desktop/cy>mkdir x
/cygdrive/c/Dokumente und Einstellungen/Test2/Desktop/cy>l
drwxr-xr-x+ 1 Test2 mkgroup 0 06.02.2011 00.16 x/
/cygdrive/c/Dokumente und Einstellungen/Test2/Desktop/cy>time cd x
0.015u 0.000s 0:00.01 100.0%    0+0k 0+0io 1253pf+0w



I am running cygwin-1.7.7-1 (downloaded 2010-11-02) on a Windows XP SP 3.

Does anybody have an advice?

Thanks
Paul


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