Question about cc flags in buildkernel

Kirk Strauser kirk at strauser.com
Wed Mar 9 15:19:58 GMT 2005


On Tuesday 08 March 2005 20:27, Bernd Walter wrote:

> I'm not extremly surprised by that numbers.  You have a really old machine
> and gcc doesn't do very well with byte oriented source on non BWX alphas.

It's a minor disappointment, but no great problem.  The machine's primary 
job is as a firewall/router, although I'd like to run some more 
CPU-intensive processes like Snort if I could do it without getting bogged 
down.

> But it looks even slower than on my NoName, which is definitively less
> powerfull.  Under which FreeBSD version is this?

5.3-STABLE (as of last December).  I upgraded from 4.x mainly to get the 
newer version of GCC.

> I don't think O3 is really that usefull - I typically just use O2.

I actually saw a pretty nice jump from -O2 to -O3 in the OpenSSL benchmarks.  
That was my main motivation.

> Well - a K6/333 is a few years younger than your alpha.

True, but although I still don't know a lot about Alphas beyond what was 
required to get this machine up and running, I'd have thought it'd have a 
comparable throughput per cycle.  Like you mentioned earlier, though, GCC 
may not be the ideal compiler for this system.
-- 
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-alpha/attachments/20050309/322ba01c/attachment.bin


More information about the freebsd-alpha mailing list