git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Samuel Abels <newsgroups@debain.org>
To: david@lang.hm
Cc: git@vger.kernel.org
Subject: Re: Performance impact of a large number of commits
Date: Sat, 25 Oct 2008 07:18:35 +0200	[thread overview]
Message-ID: <1224911915.7566.35.camel@localhost> (raw)
In-Reply-To: <alpine.DEB.1.10.0810241301430.27333@asgard.lang.hm>

On Fri, 2008-10-24 at 13:11 -0700, david@lang.hm wrote:
> > git commit explicitly (i.e., walking the tree to stat files for finding
> > changes is not necessary).
> 
> I suspect that your limits would be filesystem/OS limits more than git 
> limits
> 
> at 5-10 files/commit you are going to be creating .5-1m files/day, even 
> spread across 256 directories this is going to be a _lot_ of files.

The files are organized in a way that places no more than ~1.000 files
into each directory. Will Git create a directory containing a larger
number of object files? I can see that this would be a problem in our
use case.

> packing this may help (depending on how much the files change), but with 
> this many files the work of doing the packing would be expensive.

We can probably do that even if it takes several hours.

-Samuel

  reply	other threads:[~2008-10-25  5:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-24 19:02 Performance impact of a large number of commits Samuel Abels
2008-10-24 19:43 ` david
2008-10-24 19:56   ` Samuel Abels
2008-10-24 20:11     ` david
2008-10-25  5:18       ` Samuel Abels [this message]
2008-10-25  5:29         ` david
2008-10-25 15:12           ` Samuel Abels

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=1224911915.7566.35.camel@localhost \
    --to=newsgroups@debain.org \
    --cc=david@lang.hm \
    --cc=git@vger.kernel.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).