git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Incremental cvsimports

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
May 24, 2006, 08:21 UTC
Message-ID
<46a038f90605240121o117fadb6vf3ce910a3ad3e90@mail.gmail.com>
In-Reply-To
<93c3eada0605240046t10e00119n4cfc39ec33fe1d92@mail.gmail.com>
On 5/24/06, Geoff Russell <geoffrey.russell@gmail.com> wrote:
> Dear Git,
Dear Geoff,

if you look at the list archive for the last couple of days, you'll see there's been quite a bit of activity in tuning cvsimport so that it scales better with large imports like yours. We have been playing with a gentoo cvs repo with 300K commits / 1.6GB uncompressed.

Don't split up the tree... that'll lead to something rather ackward. Instead, fetch and build git from Junio's 'master' branch which seems to have collected most (all?) of the patches posted, including one from Linus that will repack the repo every 1K commits -- keeping the import size down.

You _will_ need a lot of memory though, as cvsps grows large (working on a workaround now) and cvsimport grows a bit over time (where is that last leak?!). And a fast machine -- specially fast IO. I've just switched from an old test machine to an AMD64 with fast disks, and it's importing around 10K commits per hour.

You will probably want to run cvsps by hand, and later use the -P flag.
cheers,
martin
Previous: Geoff RussellNext: Martin Langhoff
Message 2 of 10 in “Incremental cvsimports”
  1. Geoff RussellMay 24, 2006
  2. Martin LanghoffMay 24, 2006
  3. Martin LanghoffMay 24, 2006
  4. Geoff RussellMay 24, 2006
  5. Jeff KingMay 24, 2006
  6. Geoff RussellMay 24, 2006
  7. Jeff KingMay 24, 2006
  8. Geoff RussellMay 24, 2006
  9. Jeff KingMay 24, 2006
  10. Junio C HamanoMay 24, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.