[desktop-discuss] JDS Login and Basic Registration
Ghee Teo
Ghee.Teo at Sun.COM
Wed May 9 03:09:32 PDT 2007
Moinak Ghosh wrote:
> Hi,
>
> I observed that JDS login time in SX Build60 from pressing enter in
> the login screen to a usable desktop was taking 15 seconds on my fairly
> well-endowed desktop whereas Gnome login on Ubuntu on the same
> system took much less time.
>
> So just to see the kind of I/O happening I ran iosnoop from the
> DTraceToolkit
> and was surprised to see a JVM being started and dozens of accesses to
> JAR
> files. It turned out to be the Basic Registration and Update manager
> tools
> being started via these files:
>
> /usr/dt/config/Xsession.d/1001.swupnot
> /usr/dt/config/Xsession.d/1099.br
>
These packages
SUNWupdatemgru
SUNWbrg
are delivered by consolidation (SCN) outside desktop.
> So I did the following:
>
> mv /usr/dt/config/Xsession.d/1001.swupnot <backup location>
> mv /usr/dt/config/Xsession.d/1099.br <backup location>
>
> After that a reboot to clear any caching and this time JDS login time was
> close to 8 seconds. Almost a 50% improvement!
>
> I wonder why we have these things in an execution path that has a direct
> negative impact on user experience. These stuff should be started as low
> priority processes in the background after the desktop has come up.
> Windows has been doing this for years.
You have an excellent point here, need to find out the owner and teach
them how to do it properly though. I remember there was a long thread on
complaining about the performances hogged by the update manager some times
back in opensolaris-discuss
-Ghee
More information about the desktop-discuss
mailing list