public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cd slows down on local drive when another network drive gets connected
@ 2011-02-06 21:18 Paul Maier
  2011-02-07  3:07 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 7+ messages in thread
From: Paul Maier @ 2011-02-06 21:18 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-02-08 21:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-06 21:18 cd slows down on local drive when another network drive gets connected Paul Maier
2011-02-07  3:07 ` Larry Hall (Cygwin)
2011-02-07 17:33   ` Christopher Faylor
2011-02-08  4:22     ` Larry Hall (Cygwin)
2011-02-08  0:25   ` AW: " Paul Maier
2011-02-08  4:21     ` Larry Hall (Cygwin)
2011-02-08 21:30       ` AW: " Paul Maier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).