From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 08:22:11 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09EFB16A4CE; Wed, 14 Jan 2004 08:22:11 -0800 (PST) Received: from saturn.criticalmagic.com (saturn.criticalmagic.com [68.213.16.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A864743D5D; Wed, 14 Jan 2004 08:22:09 -0800 (PST) (envelope-from richardcoleman@mindspring.com) Received: from mindspring.com (titan.criticalmagic.com [68.213.16.23]) by saturn.criticalmagic.com (Postfix) with ESMTP id D307F3BD2A; Wed, 14 Jan 2004 11:22:08 -0500 (EST) Message-ID: <40056CB0.7080703@mindspring.com> Date: Wed, 14 Jan 2004 11:22:08 -0500 From: Richard Coleman Organization: Critical Magic, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: John Kennedy cc: Tim Kientzle Subject: Re: FreeBSD CVS Question X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: richardcoleman@mindspring.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 16:22:11 -0000 Robert Watson wrote: >>I have a FreeBSD box that's on all of the time (my NFS and Samba >>server), so I just run cvsup from cron on that to copy the CVS repo, >>then do a cvs checkout over NFS onto local work machines. > > > FYI, I've often found that tunneling CVS over SSH is substantially faster > than NFS. This appears to be a property of CVS doing some sort of > explicit pipelining, whereas with NFS, it spends a lot of time blocked on > synchronous stat() operations against the CVS repository. Of course, last > time I used CVS over NFS seriously was on 10mbps ethernet, so this well be > a non-event with gigabit. :-) Setting up the SSH connection is slightly > more expensive, but the reduced apparent latency makes a big difference. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Senior Research Scientist, McAfee Research If you are using NFS, why do a cvs checkout on the clients at all? Just do the checkout once (on the NFS master) and mount /usr/src on the clients. I'm doing this for both src and ports using the procedures outlined in the development(7) man page. But I do agree with Robert that if you want to do an actual cvs checkout, use ssh instead. Once you've created ssh keys and defined CVS_RSH, it's just as convenient as NFS and faster. Richard Coleman richardcoleman@mindspring.com