Bug 1266060

Summary: fedora-easy-karma is very slow when connecting to the internet
Product: [Fedora] Fedora Reporter: Christian Stadelmann <fedora>
Component: fedora-easy-karmaAssignee: Till Maas <opensource>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 31CC: alick9188, kparal, opensource, randy, renault
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1425272 (view as bug list) Environment:
Last Closed: 2019-12-10 14:29:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Christian Stadelmann 2015-09-24 12:05:45 UTC
Description of problem:
Whenever f-e-k is making a network connection, it is _very_ slow. Fetching the updates page from Bodhi takes ~60 seconds on a 50 MBit/s internet connection.
I made sure it is not my internet connection to make it that slow.
Logging in on FAS takes another ~20 seconds. CPU load is low.

Version-Release number of selected component (if applicable):
fedora-easy-karma-0-0.26.20150921gitc932687a.fc22.noarch

Comment 1 Ralph Bean 2015-09-29 19:55:38 UTC
We pushed out some optimizations[1] to the bodhi2 server on Monday, Sept 28th which should have made things faster.

Can you confirm?  If so, can we close this bug?

[1] - https://github.com/fedora-infra/bodhi/pull/612

Comment 2 Till Maas 2015-09-29 21:28:53 UTC
Getting the update took 2 minutes here and logging in to FAS was slow as well. However it is nothing that f-e-k can improve afaics, since it is the servers that are slow.

Comment 3 Christian Stadelmann 2015-09-29 22:09:04 UTC
I have the impression that it is even slower. At least it is not faster. Still takes >20 seconds for the first update page to fetch and >60 seconds in total.

Comment 4 Ralph Bean 2015-09-30 01:07:29 UTC
I just added the f-e-k query to the 'perf-test' script we're using to benchmark new code that gets added.  Hopefully we can use that to zero in on what's making it so slow.  https://github.com/fedora-infra/bodhi/commit/7fc1092030aad93dc50e710499f78fa5d6f4782e

Comment 5 Ralph Bean 2016-04-04 15:56:56 UTC
An update:  I checked today and it currently takes ~30s per page.

Comment 6 Fedora End Of Life 2016-07-19 19:57:08 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 7 Christian Stadelmann 2016-07-19 20:06:39 UTC
Still present.

Comment 8 Christian Stadelmann 2016-09-19 14:10:28 UTC
It might be useful to have f-e-k show the dialog for updates as they come in and not wait until info about all updates are downloaded from Bodhi.

Comment 9 Christian Stadelmann 2017-05-17 15:11:23 UTC
(In reply to Christian Stadelmann from comment #0)
> Description of problem:
> Whenever f-e-k is making a network connection, it is _very_ slow. Fetching
> the updates page from Bodhi takes ~60 seconds on a 50 MBit/s internet
> connection.

This is still present.

> I made sure it is not my internet connection to make it that slow.
> Logging in on FAS takes another ~20 seconds. CPU load is low.

Still takes long, but not that long any more I think.

Comment 10 Fedora End Of Life 2018-05-03 08:50:04 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 11 Christian Stadelmann 2018-10-06 10:42:50 UTC
f-e-k still takes >2 minutes to load updates pages (12 pages in my case).

Comment 12 Ben Cotton 2019-10-31 19:05:27 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Ben Cotton 2019-11-27 22:58:00 UTC
Fedora 29 changed to end-of-life (EOL) status on 2019-11-26. Fedora 29 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 14 Christian Stadelmann 2019-12-05 20:10:57 UTC
This issue is still present with fedora 31.

Comment 15 Kamil Páral 2019-12-10 14:29:19 UTC
I'm afraid this is more about Bodhi server speed and less about fedora-easy-karma speed. I'll look into f-e-k internals, but I don't think this will be considerably improved. I interacted with Bodhi a lot in the past and some operations are just slow.

I'd like to close this bug, because this is not a packaging-related issue. If you believe that this deserves to have a long-standing reminder ticket, can you please file it at f-e-k upstream [1]? Thanks.

[1] https://pagure.io/fedora-easy-karma/issues