Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] scm next steps

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "Jeremy Blosser (emrys)" <jblosser-smgl AT firinn.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] scm next steps
  • Date: Mon, 8 May 2006 22:10:51 -0500

On Apr 27, Jeremy Blosser (emrys) [jblosser-smgl AT firinn.org] wrote:
> Sizes
> =====
> First, some numbers for those who are worried about disk space of having
> the repository history on your disk:
>
> ~/smgl/scm/p4/sgl/grimoires $ du -chs devel test stable-rc/0.4 stable/0.3
> 113M devel
> 110M test
> 110M stable-rc/0.4
> 98M stable/0.3
> 430M total
>
> ~/smgl/scm/git/smgl/grimoire $ du -chs .
> 127M grimoire
> ~/smgl/scm/git/smgl/grimoire $ git branch
> devel
> * master
> origin
> stable-0.3
> stable-rc-0.4
>
> So that means the git grimoire repository, with all branches, is around
> 1/4th - 1/3rd the size of what you get checked out from p4 right now to get
> the same. Yes, that doesn't include history yet, but you can fit a fair
> amount of history in that much space. More on those branches later...

An update on this, here are svn's numbers for just the current stable
branch:

~/scm/svn# du -chs repo checkout
16M repo
532M checkout
548M total

That much per branch is several GB total, which seemed completely nuts, so
I tried again on a 1k block fs instead of the 4k I was on. That brought
the checkout down some:

~/scm/svn# du -chs repo checkout
16M repo
146M checkout
162M total

The morale: if we use svn (and svk), you'll want a small block size on your
scm fs, and still might need around a GB locally. svn gurus, is there
something else I might be missing here?



Of course, git on the same 1k block fs is smaller as well:

~/scm/git# du -chs grimoire
40M grimoire
40M total
~/scm/git# du -chs grimoire/.git
9.1M grimoire/.git
9.1M total

The data I'm importing:
~/scm# du -chs stable
31M stable
31M total

No history or branches in that one, but one of the git devs has written a
p4->git importer for us; I'll be trying that soon hopefully and will be
able to see how much disk our entire commit history requires.

I also have to mention: alley_cat reported what looked like a git bug
yesterday regarding an operation taking too long to run, and it got fixed
for us today. Oh, and the guy that downloaded our grimoire tree and
found/fixed the bug for us minutes after hearing of the issue was one Linus
Torvalds. :-)

Attachment: pgpAqCSZ9yUBb.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page