Do you have set of commands to try this in Solaris?<br><br>-Narendra<br><br><div><span class="gmail_quote">On 7/4/07, <b class="gmail_sendername">Michael Lindig</b> &lt;<a href="mailto:michael.lindig@informatik.tu-chemnitz.de">
michael.lindig@informatik.tu-chemnitz.de</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I would like to improve the startup speed of KDE. In Linux you can use prelinked
<br>files and I know on Solaris you can improve some search path and object<br>relocations with &#39;crle&#39;.<br><br> The simplest solution is a new LD_CONFIG-File creation which holds the shared<br> object locations in cache. Example:
<br><br>&nbsp;&nbsp;NewLdConfigFile=...<br>&nbsp;&nbsp;rm -f ${NewLdConfigFile}<br>&nbsp;&nbsp;unset LD_LIBRARY_PATH<br>&nbsp;&nbsp;unset LD_LIBRARY_PATH_64<br>&nbsp;&nbsp;# create cache config<br>&nbsp;&nbsp;crle -64 -u -i /usr/local/sparcv9/lib \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-i /usr/local/sparcv9/kde-
3.5.7/lib \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-i /usr/local/sparcv9/X11R7.2/lib \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c ${NewLdConfigFile}<br>&nbsp;&nbsp;# adjust buggy libz reference<br>&nbsp;&nbsp;crle -64 -u -a /usr/local/sparcv9/lib/libz.so \<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-o /usr/lib/64/libz.so \
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c ${NewLdConfigFile}<br><br>&nbsp;&nbsp;# after this you can use the new config by definition<br>&nbsp;&nbsp;# of environment variable LD_CONFIG_64<br>&nbsp;&nbsp;# for example in your .bashrc : export LD_CONFIG_64=${NewLdConfigFile}<br>
<br> This reduces the referenced shared object searches and reduces also the<br> file accesses. BUT the speed improvement is not as much as expected :( !<br><br> A other solution is the usage of &quot;-I&quot; or &quot;-G&quot; options of &#39;crle&#39; to create
<br> alternative optimized versions of libs or executables. But if I use this for<br> libs like libqt-mt or libDCOP then KDE does not run as before (missing jpeg<br> support, some applications don&#39;t start ...).<br><br>
 Here my Questions:<br><br>&nbsp;&nbsp;Is there any KDE guru which can say: &#39;Here you shall tune to get a faster KDE<br>&nbsp;&nbsp;speedup! Optimize following files ... !&#39; ?<br><br>&nbsp;&nbsp;Is &#39;crle&#39; the right tool? Exists any other?
<br><br>Thanks,<br>Michael<br>___________________________________________________<br>This message is from the kde-solaris mailing list.<br>Account management:&nbsp;&nbsp;<a href="https://mail.kde.org/mailman/listinfo/kde-solaris">https://mail.kde.org/mailman/listinfo/kde-solaris
</a>.<br>Archives: <a href="http://lists.kde.org/">http://lists.kde.org/</a>.<br>More info: <a href="http://www.kde.org/faq.html">http://www.kde.org/faq.html</a>.<br></blockquote></div><br><br clear="all"><br>-- <br>Warm Regards,
<br>Narendra<br><br>Visit my blogs at:<br><a href="http://ssnarendrakumar.blogspot.com/">http://ssnarendrakumar.blogspot.com/</a><br><a href="http://blogs.sun.com/roller/page/ssnkumar">http://blogs.sun.com/roller/page/ssnkumar
</a><br>&nbsp;&nbsp; ___&nbsp;&nbsp;&nbsp;&nbsp;___&nbsp;&nbsp;&nbsp;&nbsp;__&nbsp;&nbsp;&nbsp;&nbsp;_<br>&nbsp;&nbsp;/&nbsp;&nbsp;__/&nbsp;&nbsp;/&nbsp;&nbsp;__/&nbsp;&nbsp;/&nbsp;&nbsp;&nbsp;&nbsp; | / /<br>_\&nbsp;&nbsp; \&nbsp;&nbsp; _ \&nbsp;&nbsp; \&nbsp;&nbsp; /&nbsp;&nbsp; /| |/ /<br>\___/ \___/&nbsp;&nbsp; /_/ |__/