Re: gcc optimizer in -current system ...

1999-09-25 Thread Oliver Fromme
Just some numbers that I got with a small testsuite. This is the setiathome client running on an AMD Athlon-500 (K7), FreeBSD 4.0-current (as of 1999-09-18). Of course, I've used the same work unit for all tests. I also changed the code to stop after a certain amount of data has processed,

Re: gcc optimizer in -current system ...

1999-09-24 Thread Ville-Pertti Keinonen
Oliver Fromme [EMAIL PROTECTED] writes: The gcc optimizer is traditionally buggy. I wouldn't trust a system compiled with anything more than -O (especially on production servers). The higher optimization levels don't provide much of a speed improvement anyway, sometimes they make the

Re: gcc optimizer in -current system ...

1999-09-24 Thread Stephan van Beerschoten
On Fri, Sep 24, 1999 at 12:08:10PM +0900, Daniel C. Sobral wrote: The point is that it _does_ hurt. Anything above -O3 is _likely_ to have bugs. I am forced to agree about the fact that optimisation is traditionally buggy :) I tried to optimize my system with -O3 and -pipe. So I build myself a

Re: gcc optimizer in -current system ...

1999-09-24 Thread Darryl Okahata
"Zach N. Heilig" [EMAIL PROTECTED] wrote: The application for the tests is mpg123. test mp3 playing time: 373 seconds. [ ... ] 1) No Optimization 225.08 real 224.30 user 0.23 sys [ ... ] 2) -O3 -mcpu=i486 -march=i486 -fomit-frame-pointer -fschedule-insns

Re: gcc optimizer in -current system ...

1999-09-24 Thread Garrett Wollman
On Fri, 24 Sep 1999 12:08:10 +0900, "Daniel C. Sobral" [EMAIL PROTECTED] said: The point is that it _does_ hurt. Anything above -O3 is _likely_ to have bugs. And more to the point: the FreeBSD Project will not support those who compile their kernel or world with anything other than the

Re: gcc optimizer in -current system ...

1999-09-24 Thread Oliver Fromme
Darryl Okahata wrote in list.freebsd-current: "Zach N. Heilig" [EMAIL PROTECTED] wrote: The application for the tests is mpg123. test mp3 playing time: 373 seconds. [ ... ] 1) No Optimization 225.08 real 224.30 user 0.23 sys [ ... ] 2) -O3

Re: gcc optimizer in -current system ...

1999-09-23 Thread Sheldon Hearn
On Thu, 23 Sep 1999 08:00:50 -0300, The Hermit Hacker wrote: just curious, but what is the max setting that can be used to compile the kernel? -O Ciao, Sheldon. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

Re: gcc optimizer in -current system ...

1999-09-23 Thread The Hermit Hacker
On Thu, 23 Sep 1999, Sheldon Hearn wrote: On Thu, 23 Sep 1999 08:00:50 -0300, The Hermit Hacker wrote: just curious, but what is the max setting that can be used to compile the kernel? -O well, I just did -O3 -mpentium, and it both compiled cleanly, and appears to be running okay,

Re: gcc optimizer in -current system ...

1999-09-23 Thread Sheldon Hearn
On Thu, 23 Sep 1999 08:23:09 -0300, The Hermit Hacker wrote: well, I just did -O3 -mpentium, and it both compiled cleanly, and appears to be running okay, so is -O the max that makes a difference, or...? Or... Try build world with that kernel running. :-) Ciao, Sheldon. To Unsubscribe:

Re: gcc optimizer in -current system ...

1999-09-23 Thread bsd
On Thu, 23 Sep 1999, The Hermit Hacker wrote: just curious, but what is the max setting that can be used to compile the kernel? Works rather nicely here with -O6 -mpentiumpro -march=pentiumpro -pipe -s -fexpensive-optimizations -ffast-math LLaP bero To Unsubscribe: send mail to [EMAIL

Re: gcc optimizer in -current system ...

1999-09-23 Thread Alexander Leidinger
On 23 Sep, Sheldon Hearn wrote: well, I just did -O3 -mpentium, and it both compiled cleanly, and appears to be running okay, so is -O the max that makes a difference, or...? Or... Try build world with that kernel running. :-) Just to let you know: -Os works for me (since egcs hit the

Re: gcc optimizer in -current system ...

1999-09-23 Thread The Hermit Hacker
On Thu, 23 Sep 1999, Sheldon Hearn wrote: On Thu, 23 Sep 1999 08:23:09 -0300, The Hermit Hacker wrote: well, I just did -O3 -mpentium, and it both compiled cleanly, and appears to be running okay, so is -O the max that makes a difference, or...? Or... Try build world with that

Re: gcc optimizer in -current system ...

1999-09-23 Thread Luke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 well, I just did -O3 -mpentium, and it both compiled cleanly, and appears Try build world with that kernel running. :-) I should have mentioned that I'm speaking from fairly stale experience. I got bitten by this last year and haven't

Re: gcc optimizer in -current system ...

1999-09-23 Thread Dan Nelson
In the last episode (Sep 23), [EMAIL PROTECTED] said: On Thu, 23 Sep 1999, The Hermit Hacker wrote: just curious, but what is the max setting that can be used to compile the kernel? Works rather nicely here with -O6 -mpentiumpro -march=pentiumpro -pipe -s -fexpensive-optimizations

Re: gcc optimizer in -current system ...

1999-09-23 Thread bsd
On Thu, 23 Sep 1999, Dan Nelson wrote: Works rather nicely here with -O6 -mpentiumpro -march=pentiumpro -pipe -s -fexpensive-optimizations -ffast-math -O6 is too much; -O3 is the highest level tested for by egcs. But specifying something too high (-O99) doesn't hurt - I'm using -O6

Re: gcc optimizer in -current system ...

1999-09-23 Thread Kris Kennaway
On Thu, 23 Sep 1999, Sheldon Hearn wrote: On Thu, 23 Sep 1999 08:23:09 -0300, The Hermit Hacker wrote: well, I just did -O3 -mpentium, and it both compiled cleanly, and appears to be running okay, so is -O the max that makes a difference, or...? Or... Try build world with that

Re: gcc optimizer in -current system ...

1999-09-23 Thread bsd
On Thu, 23 Sep 1999, Matthew Dillon wrote: I tend not to like the higher optimization levels because they cause the compiler to attempt to turn static functions into inlines and, in my opinion, it doesn't do a very good job of selecting which functions to convert. The result is

Re: gcc optimizer in -current system ...

1999-09-23 Thread Oliver Fromme
[EMAIL PROTECTED] wrote in list.freebsd-current: On Thu, 23 Sep 1999, The Hermit Hacker wrote: just curious, but what is the max setting that can be used to compile the kernel? Works rather nicely here with -O6 -mpentiumpro -march=pentiumpro -pipe -s -fexpensive-optimizations