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

performance questions



Hi,

I have a couple of performance questions.  Mostly due to access
through cygwin to data stored on a linux machine shared via SMB.


I tried an experiment.  I have //cardano/anm mounted at /anm in my
cygwin posix system.  Cardano is a unix machine and /anm is smb exported
(as well as nfs exported to various unix machines).

  time find /anm/sw/cvsroot -name ',*,'

took 38 seconds,

  time find //cardano/anm/sw/cvsroot -name ',*,' 

took 27 seconds.

This seems a little strange to me.  Can anybody give me a good
explanation.

Further if I run the windows file searcher it takes about 3/4 second. 

Even further, if I copy the tree to a local disk and run

  time find /tmp/cvsroot -name ',*,'

it takes 13 seconds.

WHY????  I love what cygwin gives us.  Complete portability of our
development environment, but the speed penalty is almost
insufferable. 

Hoping someone can help.
Mark.

NB I have attached cygcheck

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Wed Oct 17 10:39:03 2001

WinNT Ver 5.0 build 2195 

Path:	/bin
	/usr/bin
	bin
	bin/win_msvc
	/home/mark/work/bin
	/home/mark/work/bin/win_msvc
	/anm/sw/dev/bin
	/anm/sw/dev/bin/win_msvc
	/anm/usr/bin
	/anm/usr/teTeX/bin
	/anm/sw/instd/bin/win_msvc
	/usr/local/bin
	/usr/bin
	/bin
	/cygdrive/d/vs6/common/msdev98/BIN
	/cygdrive/d/vs6/VC98/BIN
	/cygdrive/d/vs6/common/TOOLS/WINNT
	/cygdrive/d/vs6/common/TOOLS
	/cygdrive/d/external/MiKTeX/miktex/bin
	/cygdrive/c/WINNT/system32
	/cygdrive/c/WINNT
	/cygdrive/c/WINNT/System32/Wbem
	.
	/cygdrive/d/Program Files/Purify/Purify
	/cygdrive/d/Program Files/Purify/Purify/cache
	/usr/bin
	/cygdrive/d/external/html-hw
	/anm/sw/external/bin

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

PWD = `/home/mark'
LD_LIBRARY_PATH = `lib:lib/win_msvc:/home/mark/work/lib/win_msvc:/anm/sw/dev/lib/win_msvc:/anm/sw/dist/lib/win_msvc:/anm/sw/external/lib/win_msvc:/anm/sw/instd/lib/win_msvc:/anm/usr/lib'
USER = `mark'
MAKE_MODE = `UNIX'
HOME = `/home/mark'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS    2094Mb 100% CP CS UN PA FC     
d:  hd  NTFS    7671Mb  33% CP CS UN PA FC     
e:  cd           N/A    N/A                    
f:  net NTFS   13156Mb  70% CP CS    PA        mark

\\cardano\mark  /home/sw/mark  user    textmode
\\cardano\anm  /anm     user    binmode
d:\cygwin\bin  /usr/bin  system  binmode
d:\cygwin\lib  /usr/lib  system  binmode
d:\cygwin  /        system  binmode

Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\cygwin\bin\sh.exe

   56k 2000/12/03 d:\cygwin\bin\cygbz21.0.dll
   45k 2000/12/07 d:\cygwin\bin\cygform5.dll
   18k 2000/10/23 d:\cygwin\bin\cyggdbm.dll
   17k 2001/01/07 d:\cygwin\bin\cyghistory4.dll
   14k 2000/10/23 d:\cygwin\bin\cygintl.dll
   81k 2000/12/05 d:\cygwin\bin\cygitcl30.dll
   35k 2000/12/05 d:\cygwin\bin\cygitk30.dll
   45k 2000/10/22 d:\cygwin\bin\cygjbig1.dll
  119k 2000/10/23 d:\cygwin\bin\cygjpeg6b.dll
   26k 2000/12/07 d:\cygwin\bin\cygmenu5.dll
  159k 2000/12/07 d:\cygwin\bin\cygncurses++5.dll
  225k 2000/12/07 d:\cygwin\bin\cygncurses5.dll
   15k 2000/12/07 d:\cygwin\bin\cygpanel5.dll
  162k 2000/10/23 d:\cygwin\bin\cygpng2.dll
  108k 2001/01/07 d:\cygwin\bin\cygreadline4.dll
  390k 2000/12/05 d:\cygwin\bin\cygtcl80.dll
    5k 2000/12/05 d:\cygwin\bin\cygtclpip80.dll
   10k 2000/12/05 d:\cygwin\bin\cygtclreg80.dll
  243k 2000/10/23 d:\cygwin\bin\cygtiff3.dll
  623k 2000/12/05 d:\cygwin\bin\cygtk80.dll
   41k 2000/11/20 d:\cygwin\bin\cygXpm-noX4.dll
   45k 2000/11/20 d:\cygwin\bin\cygXpm-X4.dll
   49k 2000/10/23 d:\cygwin\bin\cygz.dll
  611k 2000/12/25 d:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 7
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 31
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix: 
        build date: Mon Dec 25 12:39:48 EST 2000
        shared id: cygwin1S3

Use -h to see help about each section

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

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