On Tue, Nov 13, 2018 at 05:20:28PM -0800, Kevin Fenzi wrote:
> Hey everyone.
> 
> A while back we had reports from folks particularly in Brno that
> operations to pagure.io were very slow. We put in place a workaround
> while we worked on the issue with network providers and tried various
> things. I'd like to know if any of those things have fixed (or at least
> made better) the issue.

> So, if you had slow pagure connections in the past, can you:
 
Not in Brno but I've seen it before
 
> * do some initial tests:
> 
> time git clone https://pagure.io/pagure.git
 
$ time git clone https://pagure.io/pagure.git
 
Cloning into 'pagure'...
remote: Counting objects: 47800, done.
remote: Compressing objects: 100% (10562/10562), done.
remote: Total 47800 (delta 37425), reused 47244 (delta 36945)
Receiving objects: 100% (47800/47800), 23.15 MiB | 1.63 MiB/s, done.
Resolving deltas: 100% (37425/37425), done.
git clone https://pagure.io/pagure.git  5.08s user 1.10s system 32% cpu 18.866 
total
 
> time curl https://pagure.io/pagure/issue/3714
 
$ time curl https://pagure.io/pagure/issue/3714 -o /dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 40031  100 40031    0     0  13343      0  0:00:03  0:00:03 --:--:-- 11777
curl https://pagure.io/pagure/issue/3714 -o /dev/null  0.03s user 0.01s system 
1% cpu 3.409 total
 
> time curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi
  
$ time curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi -o 
/dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 52.9M  100 52.9M    0     0  60038      0  0:15:24  0:15:24 --:--:-- 88878
curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi -o   0.95s 
user 1.84s system 0% cpu 15:24.42 total

Second attempt (after removing the line in /etc/hosts):
$ time curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi -o 
/dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 52.9M  100 52.9M    0     0   199k      0  0:04:31  0:04:31 --:--:--  145k
curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi -o   0.84s 
user 1.01s system 0% cpu 4:31.53 total
 

> * then add:
> 140.211.169.204 pagure.io
> to your /etc/hosts file
 
> time git clone https://pagure.io/pagure.git
 
$ time git clone https://pagure.io/pagure.git
Cloning into 'pagure'...
remote: Counting objects: 47800, done.
remote: Compressing objects: 100% (10562/10562), done.
remote: Total 47800 (delta 37425), reused 47244 (delta 36945)
Receiving objects: 100% (47800/47800), 23.15 MiB | 163.00 KiB/s, done.
Resolving deltas: 100% (37425/37425), done.
git clone https://pagure.io/pagure.git  6.12s user 1.75s system 5% cpu 2:29.54 
total

Curious about the result, I tried a second time after running the commands below
and the result is even worse :(
$ time git clone https://pagure.io/pagure.git                                   
        
Cloning into 'pagure'...
remote: Counting objects: 47800, done.
remote: Compressing objects: 100% (10562/10562), done.
remote: Total 47800 (delta 37425), reused 47244 (delta 36945)
Receiving objects: 100% (47800/47800), 23.15 MiB | 89.00 KiB/s, done.
Resolving deltas: 100% (37425/37425), done.
git clone https://pagure.io/pagure.git  5.31s user 1.74s system 2% cpu 4:29.58 
total
 
> time curl https://pagure.io/pagure/issue/3714

$ time curl https://pagure.io/pagure/issue/3714 -o /dev/null                    
        
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 40031  100 40031    0     0  40031      0  0:00:01  0:00:01 --:--:-- 21464
curl https://pagure.io/pagure/issue/3714 -o /dev/null  0.02s user 0.01s system 
1% cpu 1.878 total
 
> time curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi

$ time curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi -o 
/dev/null
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 52.9M  100 52.9M    0     0   123k      0  0:07:17  0:07:17 --:--:--  142k
curl https://releases.pagure.org/virt-viewer/virt-viewer-x86-7.0.msi -o   1.21s 
user 2.06s system 0% cpu 7:17.54 total


Honestly, I'm not sure what to conclude from this.

Pierre

Attachment: pgpbkd44bzLdN.pgp
Description: PGP signature

_______________________________________________
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org

Reply via email to