public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re performance cygwin (o.a.)
@ 2000-03-15 14:51 paul van der Meij
  2000-03-15 17:07 ` Charles Wilson
  0 siblings, 1 reply; 3+ messages in thread
From: paul van der Meij @ 2000-03-15 14:51 UTC (permalink / raw)
  To: Chris Faylor; +Cc: cygwin

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

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

* Re: Re performance cygwin (o.a.)
  2000-03-15 14:51 Re performance cygwin (o.a.) paul van der Meij
@ 2000-03-15 17:07 ` Charles Wilson
  0 siblings, 0 replies; 3+ messages in thread
From: Charles Wilson @ 2000-03-15 17:07 UTC (permalink / raw)
  To: paul van der Meij; +Cc: Chris Faylor, cygwin

paul van der Meij wrote:

<SNIP>
> - 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 ran into this problem as well, with bash-2.03. I do not know if there
are any special compile-time directives that will correct this problem;
I reverted to the cygnus-distributed bash-2.02, which fixed the problem.

<SNIP>
> - 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).

I haven't seen any of these problems, and I've built every perl from
5.5.640 to 5.6.0-RC1. Generating the initial perl.dll does take a long
time (3-4 minutes on my K6 200). Just let it run to completion?

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

Are you sure this is not related to the binmode pipe problem you
described earlier?

--Chuck

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

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

* Re: Re performance cygwin (o.a.)
@ 2000-03-16  5:17 Earnie Boyd
  0 siblings, 0 replies; 3+ messages in thread
From: Earnie Boyd @ 2000-03-16  5:17 UTC (permalink / raw)
  To: paul van der Meij, Chris Faylor; +Cc: cygwin

--- paul van der Meij <phjvdmeij@wxs.nl> wrote:
-8<-
> 
>   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
-8<-
>   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
> 


You have two versions of the cygwin1.dll.  DON'T COPY THE CYGWIN1.DLL TO THE
WINDOWS SYSTEM DIRECTORY.


=====
---
   Earnie Boyd: < mailto:earnie_boyd@yahoo.com >
            __Cygwin: POSIX on Windows__
Cygwin Newbies: < http://www.freeyellow.com/members5/gw32/index.html >
           __Minimalist GNU for Windows__
  Mingw32 List: < http://www.egroups.com/group/mingw32/ >
    Mingw Home: < http://www.mingw.org/ >

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

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

end of thread, other threads:[~2000-03-16  5:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-03-15 14:51 Re performance cygwin (o.a.) paul van der Meij
2000-03-15 17:07 ` Charles Wilson
2000-03-16  5:17 Earnie Boyd

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).