Re: Git is not scalable with too many refs/*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 Sep 2011 10:20:29 +0200, Sverre Rabbelier wrote:
Heya,

On Tue, Sep 27, 2011 at 01:26, Julian Phillips
<julian@xxxxxxxxxxxxxxxxx> wrote:
Back when I made that change, I failed to notice that get_ref_dir was
recursive for subdirectories ... sorry ...

Hopefully this should speed things up.  My test repo went from ~17m user
time, to ~2.5s.
Packing still make things much faster of course.

Can we perhaps also have some tests to prevent this from happening again?

Um ... any suggestion what to test?

It has to be hot-cache, otherwise time taken to read the refs from disk will mean that it is always slow. On my Mac it seems to _always_ be slow reading the refs from disk, so even the "fast" case still takes ~17m.

Also, what counts as ok, and what as broken?

--
Julian
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]