Re: [PATCH v2 0/5] Avoid expensive 'repack -ad' in gc --auto

2018-03-06 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > I'm pretty happy with this now. Like v1, this is about not touching > the giant base pack when doing background gc. This saves about 2/3 of > memory, which in turn should improve performance if you're under > memory pressure. Thanks. I've

[PATCH v2 0/5] Avoid expensive 'repack -ad' in gc --auto

2018-03-06 Thread Nguyễn Thái Ngọc Duy
I'm pretty happy with this now. Like v1, this is about not touching the giant base pack when doing background gc. This saves about 2/3 of memory, which in turn should improve performance if you're under memory pressure. v2 changes: - the core idea remains the same, mem_have is increased to half