public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Bradshaw <daniel@the-cell.co.uk>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] proxy maintainership and gentoo-x86 scm
Date: Thu, 14 Jan 2010 22:32:32 +0000	[thread overview]
Message-ID: <4B4F9B80.4070506@the-cell.co.uk> (raw)
In-Reply-To: <8b4c83ad1001141421y22e416b8q4e5e4c9d47f4821f@mail.gmail.com>

On 01/14/2010 10:21 PM, Nirbheek Chauhan wrote:
> On Fri, Jan 15, 2010 at 2:01 AM, Daniel Bradshaw<daniel@the-cell.co.uk>  wrote:
>    
>> On 01/14/2010 12:49 PM, Nirbheek Chauhan wrote:
>>      
>>> In theory, yes. In practice, git is too slow to handle 30,000 files.
>>> Even simple operations like git add become painful even if you put the
>>> whole of portage on tmpfs since git does a stat() on every single file
>>> in the repository with every operation.
>>>
>>>        
>> My understanding is that git was developed as the SCM for the kernel
>> project.
>> A quick check in an arbitary untouched kernel in /usr/src/ suggests a file
>> [1] count of 25300.
>>
>> Assuming that my figure isn't out by an order of magnitude, how does the
>> kernel team get along with git and 25k files but it is deathly slow for our
>> 30k?
>> Or, to phrase the question better... what are they doing that allows them to
>> manage?
>>
>>      
> My bad. I did the tests a while back, and the number "30,000" is
> actually for the no. of ebuilds in portage. The no. of files is
> actually ~113,000 (difference comes because every package has a
> manifest+changelog+metadata.xml+patches). OTOH, the no. of directories
> is "just" ~20,000, so  if git would only do a stat() on directories,
> it would get into the "usable" circle.
>
> Also, since git does a stat on directories as well as files, you can
> say that every command has to do ~133,000 stats, which is damn slow
> even when cached.
>
>    

Ah, so one side is off by a fair bit.
Thanks for the clarification.

Regards,
Daniel



  parent reply	other threads:[~2010-01-14 22:32 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 21:05 [gentoo-dev] Last rites: net-nntp/inn Markos Chandras
2010-01-11 22:31 ` Mike Frysinger
2010-01-12  1:00   ` Jeroen Roovers
2010-01-12 20:31     ` Mike Frysinger
2010-01-11 23:30 ` [gentoo-dev] " Arnaud Launay
2010-01-12  1:02   ` Jeroen Roovers
2010-01-12  2:22     ` Jeroen Roovers
2010-01-12  5:03       ` [gentoo-dev] Thanks for the rescue! Was: " Duncan
2010-01-12 16:32       ` [gentoo-dev] " Markos Chandras
2010-01-12 18:21         ` Jeroen Roovers
2010-01-12 18:30           ` Markos Chandras
2010-01-12 19:07             ` Richard Freeman
2010-01-12 22:37               ` Duncan
2010-01-13  1:18                 ` Arnaud Launay
2010-01-13  5:52                   ` Jeroen Roovers
2010-01-13 15:06                     ` Arnaud Launay
2010-01-13 16:31                       ` Richard Freeman
2010-01-13  5:48                 ` Jeroen Roovers
2010-01-13  8:05                   ` Duncan
2010-01-12 19:40             ` Arnaud Launay
2010-01-12 19:49               ` Markos Chandras
2010-01-12 20:35                 ` Ben de Groot
2010-01-12 22:24                   ` Duncan
2010-01-13 15:54                   ` [gentoo-dev] proxy maintainership and gentoo-x86 scm Mike Frysinger
2010-01-13 21:02                     ` Ben de Groot
2010-01-13 21:18                       ` justin
2010-01-13 22:03                         ` [gentoo-dev] " Christian Faulhammer
2010-01-14 13:30                       ` [gentoo-dev] " Markos Chandras
2010-01-14 16:35                         ` Ben de Groot
2010-01-14 12:49                     ` Nirbheek Chauhan
2010-01-14 13:47                       ` Nguyen Thai Ngoc Duy
2010-01-14 22:10                         ` Nirbheek Chauhan
2010-01-15 13:17                           ` Nguyen Thai Ngoc Duy
2010-01-14 16:24                       ` Ben de Groot
2010-01-14 17:04                       ` "Paweł Hajdan, Jr."
2010-01-14 19:46                         ` Pacho Ramos
2010-01-14 22:53                         ` Nirbheek Chauhan
2010-01-14 20:31                       ` Daniel Bradshaw
2010-01-14 22:21                         ` Nirbheek Chauhan
2010-01-14 22:29                           ` Nirbheek Chauhan
2010-01-14 22:54                             ` Robin H. Johnson
2010-01-14 23:25                               ` Petteri Räty
2010-01-15  8:32                                 ` Mike Frysinger
2010-01-14 23:28                               ` Nirbheek Chauhan
2010-01-19 22:29                               ` Arun Raghavan
2010-01-14 22:32                           ` Daniel Bradshaw [this message]
2010-01-15  0:07                       ` [gentoo-dev] " Paul Arthur
2010-01-15  0:47                         ` Robin H. Johnson
2010-01-15  7:53                         ` [gentoo-dev] " Max Arnold
2010-01-15 15:50                   ` [gentoo-dev] Re: Last rites: net-nntp/inn Victor Ostorga
2010-01-15 16:09                     ` Ben de Groot
2010-01-17 20:20                       ` Thilo Bangert
2010-01-17 20:44                         ` Richard Freeman
2010-01-17 21:12                         ` Mike Frysinger
2010-01-17 22:25                           ` Thilo Bangert
2010-01-18  1:23                             ` Ben de Groot
2010-01-18  2:17                               ` Richard Freeman
2010-01-20 13:49                                 ` Petteri Räty
2010-01-12  1:10   ` Duncan
2010-01-12  1:36   ` Richard Freeman
2010-01-12  3:43     ` Jeremy Olexa
2010-01-12 18:01       ` Richard Freeman
2010-01-12 20:33       ` Mike Frysinger
2010-01-12 20:51         ` Tomáš Chvátal
2010-01-12 21:39           ` Denis Dupeyron
2010-01-13  5:45           ` Jeroen Roovers
2010-01-13 14:24           ` Mike Frysinger
2010-01-13 16:27             ` Richard Freeman

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=4B4F9B80.4070506@the-cell.co.uk \
    --to=daniel@the-cell.co.uk \
    --cc=gentoo-dev@lists.gentoo.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