I want to re-compile agrep (the super approximate matching grep from the
glimpse project) to be as fast as possible. This is on a box with Mandrake 5.x
so the compilers I have available there are
[niall at penguin agrep]$ gcc --version
2.7.2.3
[niall at penguin agrep]$ egcs --version
egcs-2.90.29 980515 (egcs-1.0.3 release)
Can any of you whizz-bang programmers suggest some option sets to try for maximum
performance - the processor is an AMD K6-II. Of course if there's some big improvement
with a later egcs I'd happily compile on another box with that version. I've compiled
with gcc with no -m or -O specified and with egcs -m486 -O6 and there's no measurable
difference on my benchmark file which is 270000 lines / 22 MB.
Kindest regards,
Niall O Broin
UNIX Network Administrator nobroin at esoc.esa.de
Ground Systems Engineering Department Ph./Fax +49 6151 90 3619/2179
European Space Operations Centre, Darmstadt, Germany
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!