Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2004 20:30:32 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        John Kennedy <jk@jk.homeunix.net>, freebsd-current@freebsd.org
Subject:   Re: FreeBSD CVS Question (answered!)
Message-ID:  <p0602046fbc2a4a50e4dd@[128.113.24.47]>
In-Reply-To: <20040114004632.GB80120@memnoch.jk.homeunix.net>
References:  <20040112132544.D54803@pooker.samsco.home> <20040113225632.GA80120@memnoch.jk.homeunix.net> <200401140029.27160.max@love2party.net> <20040114004632.GB80120@memnoch.jk.homeunix.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 4:46 PM -0800 1/13/04, John Kennedy wrote:
>  > From: Garance A Drosihn <drosih@rpi.edu>
>>
>  > It depends on what you mean by "a local CVS checkout".  On the
>>  machines which are doing a CVS checkout, how are they getting
>>  to your local copy of the CVS repository?  If that repository
>>  is NFS-mounted, then you are probably in good shape.  If your
>>  machines are doing a CVS checkout over RSH or SSH, then your
>>  server may be doing a LOT more work than you realize.
>
>   Right now it is just on the same machine.  You're right that
>SSH would probably involve extra overhead such as the encryption
>(at least for SSH).

That is not the problem.  The problem is how CVS itself works
with a remote repository.  If you're on machine A, and the
repository is on machine B, then CVS will build a lot of
information in /tmp on machine B when machine 'A' does a
cvs-checkout of the entire tree.  The issue is the same if
you do that over 'rsh' instead of 'ssh'.  I do not mind the
overhead from encrypting the connection.

This is not much of an issue for small repositories, but it
becomes a major issue when working with a repository as large
as those for freebsd src or ports.  I have nearly crashed
servers by doing a cvs-checkout of the freebsd repository,
because the server-machine ran out of disk space.

It is *much* cheaper if the server is giving out the repository
via cvsup, instead of cvs clients.

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0602046fbc2a4a50e4dd>