Thread (23 messages) flat view 23 messages, 4 authors, 2018-09-07

Antw: Re: non-smooth progress indication for git fsck and git gc

From: Ulrich Windl <hidden>
Date: 2018-08-20 08:27:14

quoted
quoted
Duy Nguyen [off-list ref] schrieb am 16.08.2018 um 17:18 in Nachricht
[ref]:
On Thu, Aug 16, 2018 at 1:10 PM Ulrich Windl
[off-list ref] wrote:
quoted
Hi!

I'd like to point out some minor issue observed while processing some 
50000-object repository with many binary objects, but most are rather small:
quoted
Between the two phases of "git fsck" (checking directories and checking 
objects) there was a break of several seconds where no progress was 
indicated.
quoted
During "git gc" the writing objects phase did not update for some seconds, 
but then the percentage counter jumped like from 15% to 42%.
quoted
I understand that updating the progress output too often can be a 
performance bottleneck, while upating it too rarely might only bore the 
user... ;-)
quoted
But maybe something can be done. My git version is 2.13.7 (openSUSE 42.3).
Is it possible to make this repository public? You can also use "git
fast-export --anonymize" to make a repo with same structure but no
real content (but read the man page about that option first)
Hi!

Actually I tried that locally, but with the resulting repository both, fsck and gc are very fast. So I guess it won't be very useful. Also the original .git directory uses 5.3G, while the anonymous .git just used 4.3M...

I tried to capture the behavior as screencast, but it seems the screencast optimized the little cahnges away, and in the result git almost had no delay on any operation 8-(

Regards,
Ulrich
quoted
Regards,
Ulrich

-- 
Duy

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help