Mailinglist Archive: yast-devel (35 mails)

< Previous Next >
Re: [yast-devel] Incredibly slow YCP files parsing (after 11.1 -> 11.3 upgrade)
  • From: Katarina Machalkova <kmachalkova@xxxxxxx>
  • Date: Wed, 11 Aug 2010 11:08:53 +0200
  • Message-id: <201008111109.01793.kmachalkova@xxxxxxx>
OK, so obviously the more YCP files it has to parse, the longer it takes
to launch. Comparing y2-users (lots of YCP files) with
y2-inst_release_notes (relatively few YCP files), the former takes ~5
minutes to launch, while the latter needs only 5 seconds.

Soo - this can't be a secret YaST feature, can it? :) Am I doing anything
wrong? Did upgrade mess something up? If so, what? Has anyone seen
something like this before (in bugzilla etc.)?
If needed, I can make my laptop available if someone wants to play with
it Greetings

Please file me a bug, with y2logs, without strace, and I'll fix the
unbuffered reads to make stracing more useful.

For the record: I've installed yast2-core 2.19.3 with buffered read patch from
YaST:Head repository. It seems that buffering the reading of #includes did the
trick.Using y2-users as a benchmark again, the patch reduces start-up time
from 4.5 minutes to 12 seconds.

Now someone can come up with a conspiration theory, why it might have been
*that* bad with unbuffered reads (it felt like pkg management in 10.1 again)

Related ticket: http://bugzilla.novell.com/show_bug.cgi?id=629882
Thanks to Martin for prompt fixing

B.
--
\\\\\ Katarina Machalkova
\\\\\\\__o OOo developer
__\\\\\\\'/_ & hedgehog painter
< Previous Next >
Follow Ups