On Tue, Jun 25, 2002 at 03:43:56PM +0100, Brian O'Donoghue wrote:
> Also I think you will find that my gentoo system compiled with -mcpu-k6
> -march-k6 -03 -pipe -mpreferred-stack-boundary=2 -malign-jumps-2
> -malign-functions=2 -foptimize-register-move -ffast-math -frerun-loop-opt
> -frerun-cse-after-loop -ffunction-cse -fpeephole -fomit-frame-pointer
> -mfancy-math-387 -malign-loops=2 for 80% + of the binaries on my system will
> run significantly faster then for example Mandrake which was p1 optimized
> the last time I bothered checking.
i get the following on this program:
./foo 10.01s user 0.02s system 40% cpu 10.074 total
what do you get?
#include <stdio.h>
#include <stdlib.h>
int
main()
{
while (rand() + 1) {
print("benchmark\t");
}
print("\n");
}
--
kevin at suberic.net that a believer is happier than a skeptic is no more to
fork()'ed on 37058400 the point than the fact that a drunken man is happier
meatspace place: inle than a sober one. the happiness of credulity is a
http://suberic.net/~kevin cheap & dangerous quality -- g.b. shaw
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!