delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/04/21:31:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Server-Uuid: 062D48FB-9769-4139-967C-478C67B5F9C9
MIME-Version: 1.0
Subject: Why is cygwin cvs client so slow?
Date: Tue, 4 Jan 2005 18:29:50 -0800
Message-ID: <C5FA6B1CBA6EE2448F459A5B8692E9040178AFD7@nt-sjca-0741.brcm.ad.broadcom.com>
From: "Christopher Warth" <csw AT broadcom DOT com>
To: cygwin AT cygwin DOT com
X-OriginalArrivalTime: 05 Jan 2005 02:29:51.0345 (UTC) FILETIME=[6F0BDE10:01C4F2CE]
X-WSS-ID: 6DC58EA92347483370-01-01
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j052V2Jc031676

Can anyone speculate as to why cygwin cvs is so much slower than their
native windows equivalents?  

In short, 'cvs update' using cygwin cvs takes 7-9 times as long to do
the same task as a non-cygwin port of cvs from www.cvshome.org/.

To update a missing directory that contains almost 3000 files, cygwin
cvs takes more than 21 minutes.  The 'native' cvs from cvshome.com takes
just under 3 minutes to do the same thing on the same file system, from
the same server.  Details are below.

Am I missing some environment variable, like export CVS_GO_FAST="yes"?
I hope 700% degradation in performance is too steep a price to pay for
unix-like tools.

-csw at well dot com



# all filesystems are mounted in text mode.
#
$ mount
C:\cygwin\bin on /usr/bin type system (textmode)
C:\cygwin\lib on /usr/lib type system (textmode)
C:\cygwin on / type system (textmode)
c: on /cygdrive/c type system (textmode,noumount)
p: on /cygdrive/p type system (textmode,noumount)
z: on /cygdrive/z type system (textmode,noumount)

# current directory is on am SMB share (served by Samba, I believe)
#
$ pwd
/cygdrive/z/home/user/tot/src/wl

# I am using pserver served by a linux box
#
$ echo $CVSROOT
:pserver:user AT somemachine:/projects/cvsroot

# I have up-to-date packages
$ cygcheck -c 
Cygwin Package Information
Package              Version            Status
[...]
base-files           3.1-4              OK
[...]
coreutils            5.2.1-5            OK
[...]
cvs                  1.11.17-1          OK
cygutils             1.2.5-1            OK
cygwin               1.5.12-1           OK
[...]


# the cvs from cygwin is version 1.11.17
$ cvs -v

Concurrent Versions System (CVS) 1.11.17 (client/server)
[...]

# remove a directory and let cvs update it again.
$ rm -rf locale
$ time cvs update -d locale
[...2982 files...]
real    21m20.478s
user    0m7.765s
sys     0m38.546s


# the cvs from cvshome.com is also version 1.11.17
$ cyclic-cvs -v

Concurrent Versions System (CVS) 1.11.17 (client)
[...]

# remove a directory and let cvs update it again.
$ rm -rf locale
$ time cyclic-cvs update -d locale
[...2982 files...]
real    2m55.287s
user    0m0.015s
sys     0m0.000s





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019