From: "Jon Smirl" <jonsmirl@gmail.com>
To: "Linus Torvalds" <torvalds@osdl.org>
Cc: git <git@vger.kernel.org>
Subject: Re: svn to git, N-squared?
Date: Sun, 11 Jun 2006 23:39:08 -0400 [thread overview]
Message-ID: <9e4733910606112039p7aff60c7w7a074d0e35c7b0f@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0606112028010.5498@g5.osdl.org>
On 6/11/06, Linus Torvalds <torvalds@osdl.org> wrote:
>
>
> On Sun, 11 Jun 2006, Jon Smirl wrote:
> >
> > I have Mozilla CVS in a SVN repository. I've been using git-svnimport
> > to import it. This time I am letting it run to completion; but the
> > import has been running for four days now and it is only up to 2004.
> > The import task is stable at 570MB and it is using about 50% of my
> > CPU. It is constantly spawning off git write-tree, read-tree,
> > hash-object, update-index. It is not doing excessive disk activity.
>
> This sounds like _exactly_ what happens if you don't repack occasionally.
> Expecially if you are using a filesystem without hashed filename lookup,
> but it's true to some degree even with that - the filesystem tends to end
> up spending tons of time in kernel space, trying to find a place to put
> new objects.
>
> I don't think git-svnimport has the repack logic in it, so that would be
> it.
>
> You can probably stop it with ^Z, do a "git repack -a -d", and then let it
> continue.
I have it stopped and I am running the repack.
There are 1.27M files in my .git directory
I ordered 2GB more RAM which should be here Tuesday.
> (The only reason for stopping it is actually to let "git repack" remove
> most of the object directories - many filesystems, including ext3, don't
> even speed up all that much if the directories are emptied after they've
> grown big, and it's much better if the object directories get totally
> removed and re-created)
>
> Linus
>
--
Jon Smirl
jonsmirl@gmail.com
next prev parent reply other threads:[~2006-06-12 3:39 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-12 2:02 svn to git, N-squared? Jon Smirl
2006-06-12 3:31 ` Linus Torvalds
2006-06-12 3:39 ` Jon Smirl [this message]
2006-06-12 4:02 ` Linus Torvalds
2006-06-12 19:04 ` Yakov Lerner
2006-06-12 19:17 ` Linus Torvalds
2006-06-12 16:18 ` Randal L. Schwartz
2006-06-12 16:25 ` Randal L. Schwartz
2006-06-12 4:29 ` Eric Wong
-- strict thread matches above, loose matches on Subject: below --
2006-06-12 4:39 linux
2006-06-12 15:32 ` Jon Smirl
2006-06-12 15:45 ` Linus Torvalds
2006-06-12 15:55 ` Jon Smirl
2006-06-12 16:12 ` Linus Torvalds
2006-06-12 16:22 ` Jon Smirl
2006-06-12 16:32 ` Jon Smirl
2006-06-12 16:57 ` Linus Torvalds
2006-06-12 16:41 ` Linus Torvalds
2006-06-12 16:44 ` Jon Smirl
2006-06-12 17:08 ` Linus Torvalds
2006-06-12 18:06 ` Jon Smirl
2006-06-12 19:00 ` Jon Smirl
2006-06-12 16:16 ` Jon Smirl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e4733910606112039p7aff60c7w7a074d0e35c7b0f@mail.gmail.com \
--to=jonsmirl@gmail.com \
--cc=git@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).