[desktop-discuss] JDS Login and Basic Registration
Moinak Ghosh
Moinak.Ghosh at Sun.COM
Wed May 9 01:48:32 PDT 2007
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
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.
Regards,
Moinak.
More information about the desktop-discuss
mailing list