From: Linus Torvalds Date: Wed, 21 Jun 2006 03:54:01 GMT Subject: Re: packs and trees Message-ID: In-Reply-To: <46a038f90606201241x3dec242dicde245a24c3ab9ab@mail.gmail.com> On Wed, 21 Jun 2006, Martin Langhoff wrote: > > If you are asking about the ext3 performance problems, I think Linus > discussed that a while ago, why unpacked repos are slow (in addition > to huge), and there were some suggestions of using hashed directory > indexes. Yes. I think most distros still default to nonhashed directories, but for any large-directory case you really want to turn on hashing. I forget the exact details, it's somethng like tune2fs -O dir_index or something to turn it on (if I remember correctly, that will only affect any directories then created after that, but you can effect that by just doing a "git repack -a -d" which will remove all old object directories, and now subsequent directories will be done with indexing on). Personally, I just ended up using packs extensively, so I think I'm still running without indexing on all my machines ;) Linus