On Fri, 4 Aug 2006, Jon Smirl wrote: > > Could repack-objects be modified to take the objects on stdin as I > generate them instead of me putting them into the file system and then > deleting them? That model would avoid many gigabytes of IO. I'd suggest against it, but you can (and should) just repack often enough that you shouldn't ever have gigabytes of objects "in flight". I'd have expected that with a repack every few ten thousand files, and most files being on the order of a few kB, you'd have been more than ok, but especially if you have large files, you may want to make things "every <n> bytes" rather than "every <n> files". You _could_ also decide to create packs very aggressively indeed, and if you do them quickly enough, the raw objects never even get written back to disk before you delete them. That will leave you with a lot of packs, but you could then "repack the packs" every once in a while. That said, it's obviously not _impossible_ to do what you suggest, it's just major surgery to pack-objects (which I'm not going to have time to do, since I'll be going on a vacation this weekend). Linus - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html