Subject: Re: Upgraded, CYGWIN *much* slower
From: "Matthew W. Roberts" <[email-masked]>
To: Elfyn McBratney <[email-masked]>
Cc: cygwin <[email-masked]>
Date: Fri, 25 Apr 2003 15:14:59 -0500

> ...but do you have any network paths in your PATH environment variable?

I've tried cutting my path to a minimum and it doesn't change
anything (see below).  The same delay at the end is noticeable.

% echo $PATH

/usr/bin:/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/WINNT/system32/nls:/cygdrive/c/WINNT/system32/nls/ENGLISH:/cygdrive/c/Program Files/Common Files/Autodesk Shared/:/cygdrive/c/matlab6p5/bin/win32:/qt/bin:"c:/program files/qt/bin":Z:.:/cygdrive/c/MSOffice/Office:/home/robermat/prog

% strace -o vim.strace vim -c ":q"
% sort vim.strace -n | tail -10 ; tail -1 vim.strace

86189 4499582 [main] vim 1936 readv: readv (6, 0x22EB90, 1) blocking, sigcatchers 19
89106 7178242 [main] vim 1936 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
90164 2575412 [main] vim 1936 readv: readv (4, 0x22F600, 1) blocking, sigcatchers 19
106064 7088540 [main] vim 1936 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
108794 2346946 [main] vim 1936 cwdstuff::get: posix /tmp/strace
248740 6878095 [main] vim 1936 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
286720 6047102 [main] vim 1936 readv: readv (5, 0x22F2B0, 1) blocking, sigcatchers 19
998465 1141863 [main] vim 1936 nanosleep: 0 = nanosleep (999, 0)
998861 2141050 [main] vim 1936 nanosleep: 0 = nanosleep (999, 0)
1165642 9936041 [main] vim 1936 cygwin_gethostname: name ottabcxyz
 6977 10110036 [main] vim 1936 _pinfo::exit: Calling ExitProcess 0

% setenv PATH /usr/bin\:/bin ; echo $PATH

/usr/bin:/bin

% strace -o vim.strace vim -c ":q"
% sort vim.strace -n | tail -10 ; tail -1 vim.strace

86315 4486567 [main] vim 1772 readv: readv (6, 0x22EB90, 1)
blocking, sigcatchers 19
89376 7215983 [main] vim 1772 readv: readv (5, 0x22F2B0, 1)
blocking, sigcatchers 19
89792 2571906 [main] vim 1772 readv: readv (4, 0x22F600, 1)
blocking, sigcatchers 19
108909 2342458 [main] vim 1772 cwdstuff::get: posix /tmp/strace
109892 7125997 [main] vim 1772 readv: readv (5, 0x22F2B0, 1)
blocking, sigcatchers 19
260061 6910258 [main] vim 1772 readv: readv (5, 0x22F2B0, 1)
blocking, sigcatchers 19
314448 6069873 [main] vim 1772 readv: readv (5, 0x22F2B0, 1)
blocking, sigcatchers 19
998864 2134082 [main] vim 1772 nanosleep: 0 = nanosleep (999, 0)
998894 1134893 [main] vim 1772 nanosleep: 0 = nanosleep (999, 0)
1176822 10047699 [main] vim 1772 cygwin_gethostname: name ottabcxyz
 4615 10215857 [main] vim 1772 _pinfo::exit: Calling ExitProcess 0

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/