This is the mail archive of the cygwin@sourceware.cygnus.com 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]

long pause before programs start


I have just been looking into installing one of the later versions of
cygwin1.dll (to overcome the bug with the doubling up of .. and . file name
components which was screwing up the install of the grep 2.3 package).
However, all the recent snapshots that I've tried, including as far back as
July, have a serious problem with a long (2+ seconds) pause before many
programs run.  This doesn't happen at all with the .dll dated 1/16/99.  Bash
internal commands (like cd) don't have the pause problem and with some
programs the pause is shorter. 

In fact, things are so screwed up under the 9/14 snapshot that vim needs to
get several key presses before it will finish painting the terminal window
and each command needs a few keypresses after it before it appears to be
performed.

I wrote a short script:

#!/bin/ksh
ls | cat | cat | cat | cat | cat | cat | cat | cat >/dev/null

When I run it in a directory with 21 plain files, it takes 5 seconds to
return to the prompt.  With the 1/16 .dll, it takes less than 1 second.

How can I diagnose what's going on?

BTW, I looked in the 5/23 cyginw-inst tarball (which I had previously
downloaded) for strace but only found strace.h.  Where is strace.exe to be
found?

I'm including cygcheck -s -v output.  I notice that the mount info seems to
be screwed up.  Could this be the problem?  However, when I do a mount
command, I get:

   Device           Directory           Type        Flags
   D:               /                   user        binmode
   A:               /a/a                user        binmode
   C:               /c                  user        binmode

Why would cygcheck's mount information be different than mount's?

----------------------------------------------------------------------------
-----------------
Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Sep 15 13:54:12 1999

WinNT Ver 4.0 build 1381 Service Pack 5

Path:	/jrw/jrw/mdst/sh
	/jrw/binu
	/opt/cygwin/local/bin
	/opt/cygwin/bin
	/opt/cygwin/bin
	/jrw/binw
	/winnt/system32
	/winnt
	.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `  notitle tty nostrip_title binmode glob'
GCC_EXEC_PREFIX = `/opt/cygwin/lib/gcc-lib/'
HOME = `/jrw'
MAKE_MODE = `UNIX'
PWD = `/jrw'

!D: = `D:\jrw'
CDPATH = `.:..:/jrw'
COLUMNS = `80'
COMPUTERNAME = `AA-06025'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CYGWIN_PATH_BUG =
`/jrw/jrw/mdst/sh:/jrw/binu:/usr/local/bin:/bin:/opt/cygwin/bin:/jrw/binw:/w
innt/system32:/winnt:.'
DIR_DATA = `/jrw/jrw/mdst/data'
DIR_JRW = `/jrw/jrw'
DIR_JW = `/jrw/jrw/jw'
DIR_LISTS = `/jrw/jrw/mdst/lists'
DIR_MAB = `/jrw/jrw/mdst/mab'
DIR_MABSI = `/hmrdev/mab'
DIR_MDST = `/jrw/jrw/mdst'
DIR_PL = `/jrw/jrw/mdst/pl'
DIR_PRT = `/jrw/prt'
DIR_SH = `/jrw/jrw/mdst/sh'
DIR_SQL = `/jrw/jrw/mdst/sql2sql'
HOMEDRIVE = `C:'
HOMEPATH = `\users\default'
HOSTNAME = `AA-06025'
HOSTTYPE = `i586'
INFOPATH = `/usr/info:/usr/local/info'
LANG = `C'
LC_ALL = `C'
LESS = `-iMn'
LINES = `61'
LISTSDIR = `/jrw/jrw/jw'
MACHTYPE = `i586-pc-cygwin32'
MANPATH = `/usr/man:/usr/local/man'
NUMBER_OF_PROCESSORS = `1'
NWUSERNAME = `jrw32982'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin32'
PATHEXT = `.COM;.EXE;.BAT;.CMD'
PATH_ORIG = `/usr/gnu/bin:/usr/local/bin:/usr/ucb:/bin:/usr/bin'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0501'
PROMPT = `$P$G'
PS1 = `$PWD> '
ROOTDIR = `d:/opt/mks'
SHELL = `/bin/bash'
SHLVL = `1'
SQLANY50 = `d:\opt\supmagic\sqlany50\win'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TCLLIBPATH = `/jrw/jrw/mdst/mab/pkg'
TEMP = `C:\TEMP'
TERM = `linux'
TERM_ORIG = `linux'
TMP = `C:\TEMP'
TMPDIR = `C:/TEMP'
TZ = `EST5DST'
USERDOMAIN = `MDST-AA1'
USERNAME = `jrw32982'
USERPROFILE = `C:\WINNT\Profiles\jrw32982'
VISUAL = `vi'
WINDIR = `C:\WINNT'
_ = `/bin/cygcheck'

Use `-r' to scan registry

a:\ fd           N/A    N/A                    
c:\ hd  FAT     2044Mb  34% CP    UN           
d:\ hd  NTFS    4104Mb  32% CP CS UN PA FC     
e:\ cd           N/A    N/A                    
f:\ net NWFS     900Mb  44% CP                 SYS
h:\ net NWFS   29281Mb  51% CP                 MEDSTAT
m:\ net NWFS   29281Mb  51% CP                 MEDSTAT
n:\ net NWFS   30393Mb  58% CP                 MEDSTATN
o:\ net NWFS   24897Mb  74% CP                 MEDSTAT
s:\ net NWFS   34688Mb  75% CP                 MEDSTATS
t:\ net NWFS   30393Mb  58% CP                 MEDSTATN
x:\ net NWFS     900Mb  44% CP                 SYS
y:\ net NWFS     900Mb  44% CP                 SYS

C:    /c       user    binmode
C:    /c       user    binmode
C:    /c       user    binmode

Found: D:\opt\cygwin\bin\bash.exe
Found: D:\opt\cygwin\bin\cat.exe
Not Found: cpp (good!)
Found: D:\opt\cygwin\bin\find.exe
Found: D:\opt\cygwin\bin\gcc.exe
Found: D:\opt\cygwin\bin\gdb.exe
Found: D:\opt\cygwin\bin\ld.exe
Found: D:\opt\cygwin\bin\ls.exe
Found: D:\opt\cygwin\bin\make.exe
Found: D:\opt\cygwin\bin\sh.exe

  371k 1998/12/01 D:\opt\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1998/12/1 3:25
    5k 1998/12/01 D:\opt\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 1998/12/01 D:\opt\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1998/12/1 3:25
  600k 1998/12/01 D:\opt\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1998/12/1 3:28
  506k 1999/09/15 D:\opt\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1999/9/15 0:16
Use -h to see help about each section

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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