[cvsnt] Re: Repository TAG behavior

Randy McCharles RandyMcCharles at smarttech.com
Tue Feb 7 00:24:31 GMT 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


For me tag did time-out when I had binary RCS files of size 800 MB (I know, I Know. When I asked the developers why they put rapidly changing 10 MB binaries under source control they looked pretty sheepish.) Making a copy of the file for tagging makes sense, but I wonder what else is going on or how the copy is being made. We have fast disks. I can copy a 800 MB file using Windows explorer in under 2 seconds. I am wondering if the entire atomic operation is causing the time-out. That 800 MB file was being tagged along with 4000 other files. Another client trying to check out files would check out some files, then hit a wall and time-out after 20 seconds. In other cases the tagging would time out if another client was doing a checkout (or different tagging operation.) Much of our code is cross-platform and a Windows client and Mac client can be tagging the same files at the same time.

Our largest RCS file is now 20 MB and we no longer have time-outs. (We now have very few RCS files > 1 MB)

Randy McCharles

SMART Technologies Inc.

Senior Software Developer

Tel. 403.802.3347  Fax 403.229.2531
randymccharles at smarttech.com
http://www.smarttech.com

Bringing people and ideas together.(tm)



-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Tony Hoyle
Sent: Monday, February 06, 2006 5:08 PM
To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
Subject: Re: [cvsnt] Re: Repository TAG behavior


Bo Berglund wrote:
> But any operation involving one of our binary files (exe files with
> about 100-200 revisions) will take a *long* time, be it tag or log or
> anything else. It seems like CVSNT must wade through everything in the
> 200+ Mb RCS file to just check the log (which sits at the top of the
> file). Tag is the same.

cvs log loads the entire file, because it calculates statistics about 
the revisions too.  log is the slowest operation cvs can do.

Tag is reasonably fast... it still needs to create a copy of the file 
with the tag in though so your disk speed matters a lot.

Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook