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 1NVQ3X-0002cP-0S for garchives@archives.gentoo.org; Thu, 14 Jan 2010 13:48:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C10CE09DF; Thu, 14 Jan 2010 13:47:44 +0000 (UTC) Received: from mail-px0-f174.google.com (mail-px0-f174.google.com [209.85.216.174]) by pigeon.gentoo.org (Postfix) with ESMTP id 44895E09DF for ; Thu, 14 Jan 2010 13:47:44 +0000 (UTC) Received: by pxi4 with SMTP id 4so38880pxi.32 for ; Thu, 14 Jan 2010 05:47:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=8JIoDpjaACZSoiV2eESlk73qcE4ak2FV+y5KOge8o88=; b=kEUT4Cd4smegCoVc+BCzUutDz5Q00rctFCFgvpo9IKlg8npXYM9lNLOvtRuLKT/tn7 X5KP//HvV5bNvTPYX57dyfiO0RSSopnWfB52cdTwd0eodJREI5yX3cRwGSdFyHbgySMa hku0aZeiePLMAen3kvboV8NKT1yCpZ0cIBQno= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=heMpCZMzL2asMlLdeyEoNCz1JBE4pdeYbwaFVhE/w11sfrJTukFoVQCTJ0mTEo8fNs +xHI64txNN1uqx89Nmem9pbdjJgZibfpsTT0kETQyZeGjM7YQDUzv8mSHxMcM6CbPZYH ERdpRQ6caTPFEYB1mSODUQr1K/SkdKxwEvHPA= 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 Received: by 10.115.102.5 with SMTP id e5mr532971wam.210.1263476863707; Thu, 14 Jan 2010 05:47:43 -0800 (PST) In-Reply-To: <8b4c83ad1001140449k49995e0ra01eeca16167735a@mail.gmail.com> References: <201001112305.16532.hwoarang@gentoo.org> <201001122149.11091.hwoarang@gentoo.org> <201001131054.03953.vapier@gentoo.org> <8b4c83ad1001140449k49995e0ra01eeca16167735a@mail.gmail.com> Date: Thu, 14 Jan 2010 20:47:43 +0700 Message-ID: Subject: Re: [gentoo-dev] proxy maintainership and gentoo-x86 scm From: Nguyen Thai Ngoc Duy To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 682409b6-e2a0-4b8f-b714-cdded60a2065 X-Archives-Hash: dfef6f9ae2948a3694b2f606dd83fea2 On 1/14/10, Nirbheek Chauhan wrote: > On Wed, Jan 13, 2010 at 9:24 PM, Mike Frysinger wrote: > > i think our current work flows also significantly impede the smooth running of > > this. if we had were using a dscm (git) on gentoo-x86, i feel like 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. What you need is "git update-index --assume-unchanged". That feature was introduced exactly to reduce stat(). BTW, if you know you only work in certain directories, doing "git diff --stat ", "git diff --cached --stat " instead of "git status" would also help. Make aliases for them ("git dis" and "git dics" in my ~/.gitconfig) so you don't have to type full command every time. "git commit " and "git status " still do full tree lstat(). I can try to make a patch or two to reduce lstat() in such cases. Does that help? -- Duy