Syncing Cygwin and GNU sources and some performance issue

Gilles-Claude Rajaobelina gilles.rajaobelina@wanadoo.fr
Thu Jun 22 16:53:00 GMT 2000


Hi all,
as Corinna Vinschen rightly suggested, I' m redirecting my questions to
the mailing list, so here they are.
I am a retired developper and as such, do portings as a hobby on my pc
box at home, and occasionnally submit bug reports to the free software
community.
Because I' m rich (plenty of free time), I' ve always tried to install
most of software I use from sources, and here come some problems. As I'
ve noticed your coordinates in the ChangeLogs.Cygnus file of fileutils
package, I'm wondering if you could indicate me some tips about *.exe
issues (I suppose), which make some tests fail when I tried to build
fileutils-4.0:

$ make -w && make -w check && make -w install

../..

Making check in install
make[4]: Entering directory `/obj/tests/install'
make  check-TESTS
make[5]: Entering directory `/obj/tests/install'
../../src/ginstall: `../../src/dd' and `dir/dd' are the same file
../../src/ls: dir/dd: No such file or directory
FAIL: basic-1

../..

More important, performance issues arise in some situations that make
cygwin almost unusable: when accessing files thru SAMBA (at least on my
particular environment). Following are the time it takes to list the
root directory of the remote machine (linux 2.2.15 running SAMBA 2.0.7
with NT drives SMBFS mounted), using different tools.


        (1)     (2)     (3)     (4)    (5)
real | 1.70 | 187.70 | 357.27 | 0.45 | 0.68
user | 0.05 |   0.04 |   0.10 | 0.00 | 0.00
sys  | 0.19 |   0.05 |   0.28 | 0.02 | 0.02


(1) As I have no idea of the equivalent of unix time command under NT, I
used at command prompt:

dir /N /-C /A L:\|f:\bin\time -p /bin/cat -

(2) This is what M$ "unix utilities" give. Not sure but I think that
it's MKS port of fileutils.

f:\bin\time -p /C/C-opt/fsu/shell/ls -la L:

(3) This is with cygwin-1.1.2

/bin/time -p /bin/ls -la $(cygpath -u L:)

(4) This is run on the Linux box.

time -p ls -la /

(5) Linux again accessing an smbfs mounted NT directory. The ls command
is run twice to account for equivalent number of entries in previous
examples. SAMBA overhead seems minimal.

time -p sh -c 'set -x && ls -la /VM/C/  2>/dev/null; ls -la /VM/C/
2>/dev/null'

I would greatly appreciate if you could have some comments about where I

should investigate for bottleneck in the following directions:

- cygwin1
- fileutils
- samba
- VMware (*)

(*) Windows NT is running in a virtual machine hosted in a Linux box.
Attached are console ouputs.

Regards



--
Gilles-Claude Rajaobelina \\\///    | mailto:gc.rajaobelina@tele-services.net |
GNU'ries                  (o  o)    | http://perso.wanadoo.fr/gcr \\\///      |
                       oOO--(_)--OOo| Tel:(33)01.xx.xx.xx.xx      (o  o)      |
78340 Les Clayes sous Bois, FRANCE  | Fax:(33)01.xx.xx.xx.xx  oOO--(_)--OOo   |




More information about the Cygwin mailing list