Bug 883661

Summary: Yast package manager is very slow
Product: [openSUSE] openSUSE 13.1 Reporter: Max Breev <knuckster>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P4 - Low CC: bkbin005, mfilka
Version: FinalFlags: lslezak: needinfo? (knuckster)
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE 13.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Max Breev 2014-06-21 14:17:00 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0

Yast package manager is very, very slow. All package filtering actions (filtering by name, switching between package groups or repositories, etc) take  way much time (up to several seconds) and mostly freeze the whole UI while in process. Even after it handles the text input it takes again some more time to apply the filter. And it starts to slowly hide filtered out package groups or repositories from the left pane. It's slow, it's freezy, it's irritating.

Startup performance is poor too. After the final window is shown, its frozen and takes several seconds to layout and become usable and responsive.

Gnome window manager Mutter sometimes even suggests to kill the process because of its unresponsiveness.

Reproducible: Always

Steps to Reproduce:
1. Open yast package manager
2. Start typing package name into the filter field
Actual Results:  
The whole UI freezes and takes a lot of time to display the text just typed in. Then more time to apply filter.

Expected Results:  
Filtering should be responsive and almost instantaneous.

I'm using the GTK version of package manager.
There are around 30 enabled repositories in my zypper config with around 34000 packages in them.
Comment 1 Ladislav Slezák 2014-06-23 07:50:28 UTC
How much RAM memory is installed/available? Please, check 'free' output when the package manager is slow. The system might be swapping...

(In reply to comment #0)
> I'm using the GTK version of package manager.

Could you try it in the Qt UI to better locate the problem?

> There are around 30 enabled repositories in my zypper config with around 34000
> packages in them.

Um, that's kind of expected that filtering and displaying 34.000 packages will be slow, I'm not sure if it could be improved...
Comment 2 Ladislav Slezák 2016-11-14 07:58:08 UTC
This looks like a duplicate of bug #889817, I tried to reproduce it in 42.2 and it was OK for me.

If you can still reproduce it in 42.2 then reopen please.

*** This bug has been marked as a duplicate of bug 889817 ***