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]

cd slows down on local drive when another network drive gets connected


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


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