Re: Excessive mmap [was Git server eats all memory]

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

 



On Mon, Aug 9, 2010 at 1:45 PM, Tomas Carnecky <tom@xxxxxxxxxxxxx> wrote:
> On 8/9/10 6:50 PM, Avery Pennarun wrote:
>> On the other hand, perhaps a more important question is: why does git
>> feel like it needs to generate entirely new packs for each person
>> doing a clone on your system?  Shouldn't it be reusing existing ones
>> and just streaming them straight out to the recipient?
>
> Isn't that something that the rev cache is supposed to fix?

I wouldn't think so - at least not when cloning a repository from
scratch.  The whole idea of a clone is you ought to be able to copy
the pack contents verbatim since you should want "all" the objects.
Though maybe I've missed something... I've never read the code for
that stuff.

Have fun,

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