Dramatic X Speedup in 2.1.127!

Dennis Grant (dg50@chrysler.com)
Thu, 12 Nov 1998 11:53:00 -0500


Ho all, just thought I'd share something with you.

2.1.127 compiled just hunky-dory on my box. Furthermore, after the
post-installation reboot, X was running noticably faster! (compared to
2.1.125 and earlier)

Thinking that maybe I was on crack, I put my wife in front of the
machine, and unprompted and uncached, she noticed the same improvement.

It's most noticable when Afterstep's Wharf is doing an animate function,
like the right-click-to-minimise animation or the
slide-out-the-icons-in-a-folder animation.

Compilation was as follows:

1) rm -rf /usr/src/linux
2) cd /usr/src
3) tar -xvf linux-2.1.127.tar
4) cd linux
5) vi Makefile - comment out SMP=1
6) vi arch/i386/makefile - change CPU optimisation on IFDEF_586
from -m486 to -mpentium -march=pentium
7) make xconfig
8) make depend ; make bzImage ; make modules ; make modules_install
9) copy bzImage to /boot, edit /etc/lilo.conf, /sbin/lilo, reboot

This is, incidently, the same procedure I've been using since 2.1.95 or
so, so I'm pretty sure that the speedup is due to a change in the kernel
internals, not my compile process. Compiler is GCC 2.8.1, and has been
for as long as it's been out. No other tools (binutils, glibc, etc) have
been changed in about a month or so, niether has X.

Machine is a p5 -233MMX with 64MB RAM, Matrox Mill II PCI

I don't know what caused the speedup, but I like it!

DG

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/