Re: [PATCH 0/9] caching loose objects
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Nov 12, 2018, 16:02 UTC
- Message-ID
- <7f0dd0f6-ea74-9e8a-5bf9-936529d665cf@gmail.com>
- In-Reply-To
- <20181112144627.GA2478@sigill.intra.peff.net>
On 11/12/2018 9:46 AM, Jeff King wrote:
Show 13 quoted lines
> Here's the series I mentioned earlier in the thread to cache loose > objects when answering has_object_file(..., OBJECT_INFO_QUICK). For > those just joining us, this makes operations that look up a lot of > missing objects (like "index-pack" looking for collisions) faster. This > is mostly targeted at systems where stat() is slow, like over NFS, but > it seems to give a 2% speedup indexing a full git.git packfile into an > empty repository (i.e., what you'd see on a clone). > > I'm adding René Scharfe and Takuto Ikuta to the cc for their previous > work in loose-object caching. > > The interesting bit is patch 8. The rest of it is cleanup to let us > treat alternates and the main object directory similarly.
This cleanup is actually really valuable, and affects much more than this application.
I really think it is a good idea, and hope it doesn't cause too much trouble as the topic is cooking.
Thanks, -Stolee