Re: Big project, slow access!
- From
Nicolas Pitre <nico@fluxnic.net>
- Date
- Sep 18, 2009, 20:19 UTC
- Message-ID
- <alpine.LFD.2.00.0909181612040.24133@xanadu.home>
- In-Reply-To
- <a4c8a6d00909181205x6b8c348ct270fba6d27df5604@mail.gmail.com>
On Fri, 18 Sep 2009, Thiago Farina wrote:
Show 22 quoted lines
> On Fri, Sep 18, 2009 at 3:38 PM, Toan Pham <tpham3783@gmail.com> wrote: > > Hi, > > > > I use git to maintain a project that is at least 8 gigs in size. > > The project is a Linux from Scratch repository that includes source > > codes to approximately 2000 open source projects, > > gcc tool-chain, 1000+ configurations for different software packages, > > source code for different kernel versions, > > and many linux distributions/flavors resulted from this LFS build environment. > > > > The git's object repository is now 4.6 gigs and consists of approx. > > 610,000 files and folders. > > The speed of git is now terribly slow. Each time I use basic commands > > like 'git status' or 'git diff', > > it would take at least 5 minutes for git to give me back a result. > > Again, the machine that i run git on is a P4 3.2 gig-hertz with HT. > > > > would someone please recommend on how i can optimize git's performance? > > Git is so slow, are there better ways to manage a project like this? > Git is so slow? What you expect with 4.6 gigs? It take some time to do > the things. And it is not slow. It is very fast, and it was created > with this goal, to be more fast than others VCS.
I wrote some piece of the code in Git and I do know how it is possible for git to become very slow. Denying it is not the way to go.
Nicolas