Slow git pull and push from gitlab.com
I'm experiencing slow pull and push from gitlab.com.
I'm not sure how to report this, but I'm willing to provide more information if needed.
The logs of a GIT_TRACE on them are as follows:
$ GIT_TRACE=1 git pull
18:05:45.436891 git.c:439 trace: built-in: git pull
18:05:45.437637 run-command.c:663 trace: run_command: git merge-base --fork-point refs/remotes/origin/icpr-2020 icpr-2020
18:05:45.445263 run-command.c:663 trace: run_command: git fetch --update-head-ok
18:05:45.451227 git.c:439 trace: built-in: git fetch --update-head-ok
18:05:45.452653 run-command.c:663 trace: run_command: unset GIT_PREFIX; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL git@gitlab.com 'git-upload-pack '\''mipl/3d-reconstruction/article.git'\'''
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
18:07:57.830288 run-command.c:663 trace: run_command: git unpack-objects --pack_header=2,3
18:07:57.836858 git.c:439 trace: built-in: git unpack-objects --pack_header=2,3
Unpacking objects: 100% (3/3), 1.34 KiB | 23.00 KiB/s, done.
18:07:58.041404 run-command.c:663 trace: run_command: git rev-list --objects --stdin --not --all --quiet --alternate-refs
18:07:58.043307 git.c:439 trace: built-in: git rev-list --objects --stdin --not --all --quiet --alternate-refs
From gitlab.com:mipl/3d-reconstruction/article
134c83c..5290c80 icpr-2020 -origin/icpr-2020
18:07:58.045931 run-command.c:1616 run_processes_parallel: preparing to run up to 1 tasks
18:07:58.045952 run-command.c:1648 run_processes_parallel: done
18:07:58.046001 run-command.c:663 trace: run_command: git gc --auto
18:07:58.047640 git.c:439 trace: built-in: git gc --auto
18:07:58.048593 run-command.c:663 trace: run_command: git rebase --onto 5290c80d4855050da27fe762486d6a8b66c6a1e6 5290c80d4855050da27fe762486d6a8b66c6a1e6
18:07:58.049916 git.c:439 trace: built-in: git rebase --onto 5290c80d4855050da27fe762486d6a8b66c6a1e6 5290c80d4855050da27fe762486d6a8b66c6a1e6
First, rewinding head to replay your work on top of it...
Fast-forwarded icpr-2020 to 5290c80d4855050da27fe762486d6a8b66c6a1e6.
18:07:58.085716 run-command.c:663 trace: run_command: git gc --auto
18:07:58.087434 git.c:439 trace: built-in: git gc --auto
$ GIT_TRACE=1 git push
18:43:33.615737 git.c:439 trace: built-in: git push
18:43:33.617559 run-command.c:663 trace: run_command: unset GIT_PREFIX; ssh git@gitlab.com 'git-receive-pack '\''mipl/3d-reconstruction/article.git'\'''
18:45:44.576300 run-command.c:663 trace: run_command: git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset --progress
18:45:44.579219 git.c:439 trace: built-in: git pack-objects --all-progress-implied --revs --stdout --thin --delta-base-offset --progress
Note a gap of approximately 2 minutes in the git-receive-pack and git-upload-pack.