Re: gc --aggressive

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

 



Jeff King <peff@xxxxxxxx> writes:

> ...
> I wonder where the memory is going. In theory, the memory consumption
> for packing comes from keeping all of the objects for a given window in
> memory (so we are looking for a delta for object X, and we have a window
> of Y[0]..Y[$window] objects that we will consider). And for a
> multi-threaded pack, that's per-thread.
>
> How many cores are there on this box? Have you tried setting
> pack.windowMemory to (12 / # of cores) or thereabouts?

Hrm, from the end-user's point of view, it appears that pack.windowMemory
ought to mean the total without having to worry about the division of it
across threads (which the implementation should be responsible for).

> ... But it seems lame that git _can't_
> do a full repack on such a beefy machine. You don't want to do it all
> the time, but you might want to do it at least once.

True.

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