Project

General

Profile

Actions

Bug #5670

closed

git.osmocom.org: cloning via https:// is slow

Added by fixeria 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/31/2022
Due date:
% Done:

100%

Spec Reference:

Description

I just noticed that cloning from git.osmocom.org via https:// is significantly slower than cloning from Gitea or Gerrit.

$ time git clone https://gerrit.osmocom.org/libosmo-sccp
Cloning into 'libosmo-sccp'...
remote: Counting objects: 127, done
remote: Total 5302 (delta 0), reused 5302 (delta 0)
Receiving objects: 100% (5302/5302), 1.94 MiB | 37.49 MiB/s, done.
Resolving deltas: 100% (3049/3049), done.

real    0m0.204s
user    0m0.211s
sys     0m0.056s

$ time git clone https://gitea.osmocom.org/osmocom/libosmo-sccp 
Cloning into 'libosmo-sccp'...
remote: Enumerating objects: 5302, done.
remote: Counting objects: 100% (5302/5302), done.
remote: Compressing objects: 100% (2149/2149), done.
remote: Total 5302 (delta 3134), reused 5102 (delta 2984), pack-reused 0
Receiving objects: 100% (5302/5302), 1.74 MiB | 36.38 MiB/s, done.
Resolving deltas: 100% (3134/3134), done.

real    0m0.244s
user    0m0.242s
sys     0m0.034s

$ time git clone https://git.osmocom.org/libosmo-sccp 
Cloning into 'libosmo-sccp'...
Fetching objects: 5302, done.

real    0m14.780s
user    0m1.147s
sys     0m1.166s

Note that even the output looks different when cloning from git.osmocom.org.


Files

https.git.osmocom.org.clone.log https.git.osmocom.org.clone.log 216 KB fixeria, 08/30/2022 08:01 PM
https.git.osmocom.org.clone.curl.log.gz https.git.osmocom.org.clone.curl.log.gz 6.39 MB fixeria, 08/30/2022 08:12 PM
git.osmocom.org git.osmocom.org 13.3 KB config file with laforge, 08/30/2022 08:25 PM
git.osmocom.org git.osmocom.org 14.3 KB updated config file with new regex map. laforge, 08/31/2022 09:33 AM

Related issues

Related to Cellular Network Infrastructure - Bug #5658: sporadic failures when cloning from https://git.osmocom.org/Newlaforge08/23/2022

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)