On Wednesday 23 October 2002 20:35, Diego Iastrubni wrote: > ���� ����� 22 ������� 2002, 02:08, Meir Kriheli ���: > > Something gone wrong here. kde 3.X should load faster than 2.2.2 (and it > > does here). > > > > This times are closer to the Gentoo I run on a machine at the office > > (celleron 400 + 256MB) running kde 3.0.4, not to the hardware you > > describe. > > > > Konqy (3.1 from cvs) on my home machine (P3 866 512MB) starts in 1sec. > > > > I doubt that you'll see much improvement going from i585 to i686 in > > compile flags. For kde's performance (and other C++ code) it is advised > > to use binutils which enables -combreloc by default, and use gcc3 for the > > compile. > > -combreloc ? that's new to me? can you give me an fmtr?
It replaces the old (non standart) method of objprelinking used in previous generations of KDE with a standart one integrated with binutils (ld). glibc 2.3 should include better support for it as well IIRC. It should mostly affect startup times. This is from the intro part of the old LFS hint about combreloc (see http://hints.linuxfromscratch.org/hints/old/combreloc.txt ). <quote> Introduction Recent versions of binutils (actually its ld) include a new option that reaps the same loading improvements as objprelink of KDE fame, but for all programs compiled by it. As a general rule you can expect around 20% to 30% faster loading times. I personally have had no problems compiling *EVERYTHING* on my system with it (including gcc, glibc, etc). </quote> I apply other optimization as well to my system including -fomit-frame-pointer -funroll-loops -falign-functions=4 etc. Note that this will result in larger binaries/libs. -- Meir Kriheli MKsoft systems http://www.mksoft.co.il ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
