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]

Re performance cygwin (o.a.)


hello chris,

I have been playing with the cygwin toolkit since last october, (B20,
and a number of the snapshots)
and have a few observations to offer which I can not explain:
- the problem of 100% cpu after completion of (most) a command in 'bash'
has been solved since the recent
  snapshots, but I notice a serious performance degradation compared to
say  january.
  A generation of perl 5.5.660 took 11 minutes (tar, some scripting,
make, make test, make install), and
  now only the tar takes already 15 minutes, while my system becomes
sluggish.
- the CYGWIN="binmode" environment variable seems to have no effect,
probably caused by bash 2.03,
  which I generated without changing anything after the 'configure'.
Should it have anything special for cygwin?? 
  I start my bash by a C-wrapper-program, compiled with cygwin.
- I changed to mounting all partitions in 'binary' mode, and since then
'cat' works fine. Before a
	cat cat.exe >a.a
  would terminate after ~2000 characters.
- Since these binary mounts the perl generation (make) comes in a loop
during 'dllwrap' and 'dlltool'. I see
  a growing number of ds01.0 ds02.o ..... files, and have to kill the
'dll' processes.
  I did goto version 5.5.670 of perl, and made sure that there were no
text files with embedded CR/LF,
  since these behave strangely with binary mounts (at least sh scripts).
- the tar executable distributed with the recent snapshots does not
behave well despite the binary mounts.
    	tar -cf - . | tar -tf -
  produces a error, that disappears if I re-make the tar.exe from the
distibuted cygwin-src

I hope this does not sound too negative, because I like the cygwin
product.

greetings
	Paul van der Meij,	Hengelo,the Netherlands

-----------------------------------------------------------------------------------------------------------
 cygcheck -r -v -s

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Mar 15 23:08:29 2000

WinNT Ver 4.0 build 1381 Service Pack 4

Path:   /usr/bin
        /opt/gnu/b20/h-i586-cygwin32/bin
        /bin
        /winnt/system32
        /winnt

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

CYGWIN = `notty binmode ntea'
HOME = `/work/user/paul'
MAKE_MODE = `UNIX'
PWD = `/work/user/paul'

CC = `gcc'
COMPUTERNAME = `PC2'
COMSPEC = `C:\WINNT\system32\cmd.exe'
GNU_PATH = `/opt/gnu/b20/h-i586-cygwin32'
HOMEDRIVE = `j:'
HOMEPATH = `\user\paul'
HOSTNAME = `PC2'
HOSTTYPE = `i386'
LOGONSERVER = `\\PC2'
MACHTYPE = `i386-pc-cygwin32'
NUMBER_OF_PROCESSORS = `1'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin32'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0501'
'HELL = `/bin/sh
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\TEMP'
TERM = `cygwin'
TMP = `C:\TEMP'
USERDOMAIN = `PC2'
USERNAME = `paul'
USERPROFILE = `C:\WINNT\Profiles\paul'
WINDIR = `C:\WINNT'
XARCH = `x86.nt'
_ = `/opt/gnu/b20/h-i586-cygwin32/bin/cygcheck'
TZ = `RST-1RDT-2,M3.5.0/2,M10.5.0/3'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `c:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/opt
  (default) = `i:/opt'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/work
  (default) = `j:'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin B20\B20.1
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL setup\b15.0
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0E
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0F
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\10
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\11
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\12
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\13
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\14
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\15
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\16
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\17
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\18
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\19
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1A
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1B
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1C
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1D
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\GNUPro\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus
Solutions\GNUPro\i586-cygwin32\i586-cygwin32\
  (default) = `i:\opt\gnu\b20\cygwin-b20'
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Cygnus
Cy
  (default) = `C:\WINNT\IsUninst.exe
-fi:\opt\gnu\b20\cygwin-b20\Uninst.isu'
  DisplayName = `Cygwin B20'

a:  fd           N/A    N/A
c:  hd  NTFS     596Mb  71% CP CS UN PA FC     WNT-1
d:  hd  FAT      101Mb   8% CP    UN           DOS
e:  hd  FAT     2039Mb  45% CP    UN           AUDIO
f:  hd  FAT     2039Mb  38% CP    UN           BACKUP
i:  hd  FAT     2039Mb  55% CP    UN           OPT
j:  hd  FAT     2039Mb  66% CP    UN           WORK
r:  cd           N/A    N/A
s:  cd           N/A    N/A
z:  hd           N/A    N/A

i:\opt  /opt     system  binmode
c:    /        system  binmode
j:    /work    system  binmode

Found: c:\usr\bin\bash.exe
Found: c:\bin\bash.exe
Warning: c:\usr\bin\bash.exe hides c:\bin\bash.exe
Found: c:\usr\bin\cat.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\cat.exe
Warning: c:\usr\bin\cat.exe hides
i:\opt\gnu\b20\h-i586-cygwin32\bin\cat.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\cpp.exe
Found: c:\usr\bin\find.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\find.exe
Warning: c:\usr\bin\find.exe hides
i:\opt\gnu\b20\h-i586-cygwin32\bin\find.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\gcc.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\gdb.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\ld.exe
Found: c:\usr\bin\ls.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\ls.exe
Warning: c:\usr\bin\ls.exe hides
i:\opt\gnu\b20\h-i586-cygwin32\bin\ls.exe
Found: c:\usr\bin\make.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\make.exe
Warning: c:\usr\bin\make.exe hides
i:\opt\gnu\b20\h-i586-cygwin32\bin\make.exe
Found: c:\bin\make.exe
Warning: c:\usr\bin\make.exe hides c:\bin\make.exe
Found: c:\usr\bin\sh.exe
Found: i:\opt\gnu\b20\h-i586-cygwin32\bin\sh.exe
Warning: c:\usr\bin\sh.exe hides
i:\opt\gnu\b20\h-i586-cygwin32\bin\sh.exe
Found: c:\bin\sh.exe
Warning: c:\usr\bin\sh.exe hides c:\bin\sh.exe

  592k 2000/03/12 C:\WINNT\System32\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/3/11 17:13
  371k 1998/12/01 i:\opt\gnu\b20\h-i586-cygwin32\bin\cygtcl80.dll -
os=4.0 img=1
                  "cygtcl80.dll" v0.0 ts=1998/12/1 9:25
    5k 1998/12/01 i:\opt\gnu\b20\h-i586-cygwin32\bin\cygtclpip80.dll -
os=4.0 im
   10k 1998/12/01 i:\opt\gnu\b20\h-i586-cygwin32\bin\cygtclreg80.dll -
os=4.0 im
                  "cygtclreg80.dll" v0.0 ts=1998/12/1 9:25
  600k 1998/12/01 i:\opt\gnu\b20\h-i586-cygwin32\bin\cygtk80.dll -
os=4.0 img=1.
                  "cygtk80.dll" v0.0 ts=1998/12/1 9:28
  592k 2000/03/12 i:\opt\gnu\b20\h-i586-cygwin32\bin\cygwin1.dll -
os=4.0 img=1.
                  "cygwin1.dll" v0.0 ts=2000/3/10 22:58

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