[p4] Spaces in directories? [OT]

Kevin Wang rightsock at gmail.com
Wed Mar 9 13:51:42 PST 2005


You assume that once the plain text checkpoint is processed that the
db also contains full strings in the form of //depot/foo/bar/file

I wouldn't be so sure.  but I could be wrong.  Just pointing out assumptions.

buy more memory. that'll make it more responsive.

   - Kevin

On Thu, 10 Feb 2005 10:45:38 -0800, Grills, Jeff <jgrills at soe.sony.com> wrote:
> 
> Funny you mention path lengths.  I'm still poking at our perforce server
> trying to get it to be more responsive.  I've mentioned before that our
> db.have is large (currently holding at 25gb).  Last night I wrote a
> small perl script to process the db.have lines in a checkpoint and do
> some analysis and came up with the following:
> 
>         3706911 unique depot files seen in db.have
>         378289330 (360.76mb) total characters in unique depot paths
> 
>         88788498 total client files
>         9163714192 (8.53gb) total characters in depot paths
>         10503326005 (9.78gb) total characters in client paths
> 
> The average length of a //depot-style path in our repository is about
> 102 characters.   The average //client-style path is 118 characters.
> 
> So just the //depot and //client paths in our depot consume 18.32gb of
> space, which is already well above what most people would consider a
> reasonable db.have size.
> 
> While I'm not yet going to advocate it, it seems like we could do a fair
> amount to reduce our depot size by sticking to shorter names.  Probably
> the easiest to justify would be shorter client names, since that
> wouldn't really impact any of the projects.  We currently have 264
> clients, and the average client name length is 20 characters.  If the
> client average was 2 characters instead of 20, we could save about 1.5gb
> of db.have size.
> 
> j
> 
> 
> -----Original Message-----
> From: perforce-user-bounces at perforce.com
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of Ivey, William
> Sent: Thursday, February 10, 2005 10:11 AM
> To: Perforce list (E-mail)
> Subject: RE: [p4] Spaces in directories? [OT]
> 
> > -----Original Message-----
> > From: Johan Nilsson [mailto:johan.nilsson at esrange.ssc.se]
> > Sent: Thursday, February 10, 2005 1:46 AM
> >
> > > While you are at it, insist that any word more that eight
> > > charctrs is forbiden in filnames as they are obviusly an
> > > invntion of the evil MS empire, too. =)
> >
> > I'm sure all Java developers from the evil Sun empire would love that
> > too ... ;-)
> 
> Heh, we're in the process of reining in our java developers.
> They keep creating filenames so long that our packaging
> system rejects them. (It has a 60-char limit per path
> element.) Sometimes I really miss the old 8.3 days... -Wm
> _______________________________________________
> Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
> Learn more: http://www.perforce.com/conf
> 
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
> 
> _______________________________________________
> Come to the 2005 Perforce User Conference, April 14 & 15 in Las Vegas.
> Learn more: http://www.perforce.com/conf
> 
> perforce-user mailing list  -  perforce-user at perforce.com
> http://maillist.perforce.com/mailman/listinfo/perforce-user
>



More information about the perforce-user mailing list