Re: how to speed up "git log"?

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

 



"Shawn O. Pearce" <spearce@xxxxxxxxxxx> writes:

> Junio C Hamano <junkio@xxxxxxx> wrote:
>> I doubt it -- sliding mmap() in the current git, while is a good
>> change overall for handling really huge repos, would most likely
>> perform poorer than the fixed mmap() in 1.4.4 series on
>> platforms with slow mmap(), most notably on MacOS X.
>> 
>> It _might_ be possible that turning some sliding mmap() calls
>> into pread() makes it perform better on MacOS X.
>> 
>> I wonder what happens it git is compiled with NO_MMAP there...
>
> So I ran three trials, v1.5.0-rc4-26-gcc46a74 with and without
> NO_MMAP against v1.4.4.4 on a freshly repacked git.git.

I do not think freshly repacked git.git is a good test case for
a real-world workload where this really matters.  Doesn't your
default pack window large enough to cover it with a single
window, or perhaps two at most?



-
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]