From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NVZmT-0002HY-SM for garchives@archives.gentoo.org; Fri, 15 Jan 2010 00:11:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A071E08D5; Fri, 15 Jan 2010 00:10:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 05B26E08D5 for ; Fri, 15 Jan 2010 00:10:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 906BB67A6A for ; Fri, 15 Jan 2010 00:10:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -0.092 X-Spam-Level: X-Spam-Status: No, score=-0.092 required=5.5 tests=[AWL=0.210, BAYES_00=-2.599, FORGED_YAHOO_RCVD=2.297] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FX5Ld+t-wJdf for ; Fri, 15 Jan 2010 00:10:32 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id A68DD67BD1 for ; Fri, 15 Jan 2010 00:10:28 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NVZlg-0005cp-SJ for gentoo-dev@gentoo.org; Fri, 15 Jan 2010 01:10:24 +0100 Received: from c-98-250-152-12.hsd1.mi.comcast.net ([98.250.152.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jan 2010 01:10:24 +0100 Received: from flowerysong00 by c-98-250-152-12.hsd1.mi.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 15 Jan 2010 01:10:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Paul Arthur Subject: [gentoo-dev] Re: proxy maintainership and gentoo-x86 scm Date: Thu, 14 Jan 2010 19:07:01 -0500 Organization: Fantasy... Message-ID: References: <201001112305.16532.hwoarang@gentoo.org> <201001122149.11091.hwoarang@gentoo.org> <201001131054.03953.vapier@gentoo.org> <8b4c83ad1001140449k49995e0ra01eeca16167735a@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-250-152-12.hsd1.mi.comcast.net X-No-Archive: yes X-No-Ahbou: yes User-Agent: slrn/0.9.8.1pl1 (Linux) Sender: news Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 260b3aa1-9468-43d9-8e3f-d3a6ca1f5057 X-Archives-Hash: 44c3911d32a69a36f7311ea4590900b5 On 2010-01-14, Nirbheek Chauhan wrote: > On Wed, Jan 13, 2010 at 9:24 PM, Mike Frysinger wro= te: >> i think our current work flows also significantly impede the smooth ru= nning of >> this. =C2=A0if we had were using a dscm (git) on gentoo-x86, i feel li= ke it'd be a >> much smoother ride for Gentoo devs to pull from a proxy maintainer and= push on >> their behalf. > > 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. > > Simple test: do a git init followed by git add && git commit -m > "Initial commit" in your portage dir (.gitignore packages/ and > distfiles/) > > Once this is done, you can test how it'll feel like to use a DSCM on > portage (without history). Unless you have a really fast SSD and > processor, you'll want to go back to the good old days of CVS with its > network-bound latencies on just 5-6 files in the current dir. Ouch. I wanted to test this in a fairly bad scenario, so I gave it a try on my old, low-spec fileserver. aravis-root /usr/portage # time git add . real 19m1.333s user 0m53.230s sys 1m9.350s aravis-root /usr/portage # time git commit -m "Initial commit" real 19m44.700s user 0m23.740s sys 0m49.320s Then, with no changes whatsoever: aravis-root /usr/portage # time git status real 4m26.454s user 0m2.090ssys 0m6.380s Finally, a ray of hope: aravis-root /usr/portage/app-emulation # time git add xen-tools-gdbserver= / real 0m0.978s user 0m0.400s sys 0m0.180s But no: aravis-root /usr/portage/app-emulation # time git commit -m "Commit 2" real 3m18.502s user 0m1.830s sys 0m7.530s Now, this is fairly close to a worst-case scenario, being an old computer with a slow drive. A new computer with faster drives (in RAID 1+0) is much more reasonable. lasaraleen portage # time git add . real 0m26.002s user 0m6.256s sys 0m6.572s lasaraleen portage # time git commit -m "Initial commit" real 0m27.371s user 0m3.704s sys 0m3.856s lasaraleen app-emulation # time git commit -m "Commit 2" real 0m1.374s user 0m0.468s sys 0m0.904s --=20 Having to infer what Unix is solely from a copy of the GNU Manifesto is not really an exercise you want to undertake.=20 --AdB