Bug 159888

Summary: yast2 incredibly slow during sw_single startup
Product: [openSUSE] SUSE Linux 10.1 Reporter: Martin Mrazik <mmrazik>
Component: YaST2Assignee: Jiri Srain <jsrain>
Status: RESOLVED DUPLICATE QA Contact: Klaus Kämpf <kkaempf>
Severity: Enhancement    
Priority: P5 - None CC: markh, suse-beta
Version: Beta 8   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 144304    
Attachments: strace -fvvv -o sw_single.out yast2 sw_single
Log created with strace

Description Martin Mrazik 2006-03-21 22:36:52 UTC
I don't know why (maybe related to bug #159885) but the startup of sw_single is incredibly slow compared to the other yast2 modules. While the module starts the system is completely unusable. 

y2logs are attached at bug #159885.
Comment 1 Michael Gross 2006-03-22 12:15:03 UTC
I did not notice that, indeed, it starts up quite fast on my (slow) test machine, even the dependency-check takes only about 2 secs.
Comment 2 Stanislav Visnovsky 2006-03-27 11:11:40 UTC
Martin, could it be a dup of #157535?
Comment 3 Martin Mrazik 2006-04-01 09:56:37 UTC
I don't think so. Althought the rpm installation is quite weird too, this is not problem of installing rpms.

It takes about 15 seconds on my 1.5Ghz Centrino with 512MB RAM to start sw_single. I think this is quite much especially when other things are running quite fine.
Killing zmd doesn't help in this case.

strace is attached (maybe you will find something interesting there).



Comment 4 Martin Mrazik 2006-04-01 09:57:40 UTC
Created attachment 76027 [details]
strace -fvvv -o sw_single.out yast2 sw_single
Comment 5 Stanislav Visnovsky 2006-04-06 12:53:29 UTC
It initializes completely all sources and target, including the storage.
Comment 6 Stanislav Visnovsky 2006-05-09 10:34:38 UTC
For maintainer
Comment 7 Jiri Srain 2006-05-11 13:32:07 UTC
*** Bug 143231 has been marked as a duplicate of this bug. ***
Comment 8 Antonio Crevillén 2006-06-19 16:22:12 UTC
I have a powerful pc (AMD 64 3000,  1GB ram, hd 7200rpm SATA ), and some times the module sw_single is very slow.
I have read the comment #4, I do not know as functions strace, but I have created a log like is described in the comment #4 (file 2006_06_19_sw_single.out.bz2 )

Comment 9 Antonio Crevillén 2006-06-19 16:30:16 UTC
Created attachment 90408 [details]
Log created with strace

They have passed 5 ó 6 minutes until yast has started.
Comment 10 Jiri Srain 2006-07-26 11:55:05 UTC
We can do hardly anything to avoid source and target initialization (as all the resolvables need to be available for the UI), but I will try to avoid storage initialization.

However, this is already being tracked as bug 165833

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