Bug 194472

Summary: Yast2 is *way* to slow in certain simple operations.
Product: [openSUSE] SUSE Linux 10.1 Reporter: Kern Sibbald <kern>
Component: YaST2Assignee: Duncan Mac-Vicar <dmacvicar>
Status: RESOLVED FIXED QA Contact: Stanislav Visnovsky <visnov>
Severity: Major    
Priority: P5 - None CC: andreas.hanke, freek, scott, suse-beta
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: Linux   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: .jpg screen shot showing both CPU near max on execution of online update
Screen capture when mirror was busty in the middle of the day from software management
.jpg showing CPU max utilisation on online update

Description Kern Sibbald 2006-07-24 12:58:27 UTC
I am certain you are aware of this and that other bugs have been submitted on it, but it should be raised to the highest priority.

On certain simple operations such as changing the On/Off status of repositories to OFF, when I click on Final, Yast2 will spend 10-15 minutes before it completes. For a simple disable this is terribly frustrating.

First, when turning off repositories, it should require only microseconds.  If turning on a repository and you must contact that repository, at least some indication of what is going on would be helpful.

Typically, the program that is running is named update-status and it consumes 100% of my 2.8GHz machine for periods of the order of 10 minutes.
Comment 1 Michael Gross 2006-07-25 07:44:41 UTC
We should really deal with those performance issues for 10.2. What you described is all conected to the packager. People are working quite hard on this atm ;)
I am reassigning this report to the maintainer.
Comment 2 Stefan Schubert 2006-07-31 08:59:27 UTC
Duncan is already working on increasing performance.
Comment 3 Scott Couston 2006-10-12 04:21:50 UTC
Created attachment 101279 [details]
.jpg screen shot showing both CPU near max on execution of online update

Online Update Already consuming near MAX on both CPU's to perform its task - see screen shot.
If system usage .jpg adds to current bug report
Should validate further this bug report.

Why cant we go back to suse watcher - version 10.0 appeared to have no abundance of problems

P.S Should status be "assigned" if being working on
Comment 4 Kern Sibbald 2006-10-12 08:27:21 UTC
For certain operations, yast2 is really great because it is quite complete, and the installer is the best installer of all the distros I have seen.

However, for doing updates, which are confusingly called "patches" in yast, it is a nightmare from two standpoints.  1. Your "updates" repository frequently gets into a condition where the dependencies of the updates cannot be met. This is currently the case for updates to yast and zmd.  With yast, it is very difficult to exclude the troublesome updates.  Perhaps this problem occurs because I do not permit automatic updates, which means if I wait a few weeks, you may have updates to updates.  In any case, your update repository is not complete and consistent.
2. As is the subject of this bug report, your yast package update/install process is too slow by several orders of magnitude, which means it is totally unusable in a large shop of more than 1 or 2 computers.  I recently switched to using yumex and this has pretty much resolved this problem as well as given me a relatively simple way of getting around point one.  I've also turned off the zmd daemon as it periodically wakes up and eats all my cpu time preventing me from working -- this is particularly serious on my 700MH laptop.
3. The version of yumex that you distribute is *way* out of date.

I'm not trying to give you a hard time, but hope this will help you understand that the default yast package updater is a big handycap for professional shops.

One final thing.  Your method of entering repositories via a GUI is nice for dummies, but is another nightmare for sys admins.  I have yet to find a simple ASCI file where I can edit the repositories -- I hope you have not defined this in the traditional Windows way using binary files.  On the other hand, once I took the trouble to set up a yum repository using my trusty editor it, unlike yast, it is trivial to bring it up on another machine -- I just copy the files in /etc/yum.d to the new machine -- presto I am up and running.  Yumex sometimes seems slow, but it is 10 - 100 times faster than yast.
Comment 5 Freek de Kruijf 2006-11-08 14:32:29 UTC
On my laptop, 1.5 year old, it takes 34 minutes after booting before I can start to work with a reasonable performance. This is unacceptable.
Comment 6 Stanislav Visnovsky 2006-11-08 14:36:36 UTC
Please, check the performance with 10.2. For 10.1, the work that was feasible is already available as online update.
Comment 7 Kern Sibbald 2006-11-08 17:08:03 UTC
Concerning comment #6: I will load 10.2 this weekend and test it on my 400MHz machine, providing the CD ISOs are available.

Concerning comment #5 (yast on a laptop): my solution to the same problem was to disable novell-zmd either with chkconfig or using daemon configuration. For updates, either re-enable it, or switch to using yumex as I did.
Comment 8 Scott Couston 2006-11-09 04:36:40 UTC
RE: comment 4. The day Linux will NOT need file editing and massive usage of the command line will be the day we produce a product world standard.

The ratios of admins to users is very low. The name of the game is to provide a GUI interface that not only a select few admins can use - but the world.

Once there was DOS - it died because of a complex???? command line and lives the giant GUI interface which Linux is ever to succeed will come to.

There have been major changes to YOU as of today..will close as remind and monitor, RAM consumption seems lower on stats.

This is not to say we need to be mindful of the hours taken to perform updates.

For those users with a large number of PC's I strongly suggest update via NFS.

I also agree that the ZMD ported from Novell Netware desktop is another problem more accurately described in another bug report. ( Sorry guys just had to rebuild my system and don't have the number.
Comment 9 Scott Couston 2006-11-11 06:50:34 UTC
Created attachment 104789 [details]
Screen capture when mirror was busty in the middle of the day from software management

Recent changes to YOU version now 2.13.43.2-0.2 are still unacceptible see error attached and YAST files as requested. Note log files will not contain this snapshot error. This error is faithfully re-producable IFG the selected mirror is either BUSY or not apparent.

YAST also takes an increadibly long time to load - over 4 mins in a P4 HT 3.2 1.5GIG 

Please do NOT pass these frustations on both our side to version 10.02
Comment 10 Scott Couston 2006-11-11 06:51:54 UTC
Re-Opened after testing new version of YOU as indicated and YAST files as requested
Comment 11 Kern Sibbald 2006-11-14 21:59:29 UTC
I loaded SuSE 10.2 beta 2 last weekend on my 400MHz 256MB Pentium II, and it seems to me that there is a big improvement in the speed of the configuration of packages to be loaded. The longest wait time was 1 minute, and in most cases (not all) when I worked with the hardware or other configuration info, it did not go through the long wait for the packages.

I'm not sure if there is any additional testing I can do since, unless I am mistaken, there are no repositories for 10.2.
Comment 12 Scott Couston 2006-11-14 23:49:39 UTC
Kem on your assessment I am happy to close this bug.
Comment 13 Kern Sibbald 2006-12-04 20:27:56 UTC
I'm just loading SuSE 10.2 RC1 on my laptop, and wanted to report that the package selection is *very* fast compared to 10.1.  If the yast package selection on a running 10.2 is as fast, I will be very happy.

By the way, the Christmas graphics on the start up screen when booting the 10.2 RC1 boot CD are really slick. :-)
Comment 14 Scott Couston 2006-12-04 22:38:00 UTC
In version 2.13.43.2-02 of YOU the CPU utilisation is perfectly acceptable suggest resolved fixed see screen shot.
Comment 15 Scott Couston 2006-12-04 22:38:54 UTC
Created attachment 108238 [details]
.jpg showing CPU max utilisation on online update
Comment 16 Stanislav Visnovsky 2007-02-08 13:36:43 UTC
According to comment #14, resolving as fixed.