Re: Advice for CFLAGS

Daniel Armyr <[email protected]> Fri, 8 Jun 2007 07:35:17 +0200
Newsgroups gmane.linux.gentoo.performance
Organization Irrbloss Productions
Message-ID <20070608073517.4138cc0f@beech>
> Well, I suppose that's part of the problem. What does O3 improve?

I cannot speak for the -03 from gcc specifically, but most
optimizations tend to increase the processes within the CPU. Further,
for them to help, the compiler tends to need to, at compile time, know
how the code will run. As such, it does almost nothing for event-driven
code like the entire X-windows system. Further, I would like to see the
linux computer today which has a processing problem when it comes to X.
The disk-access times to load binaries far overshadow anything
processor related in all computers I have seen.

My suggestion to the general user: Get raided, super-fast scsi disks and
a mobo with low-latency memory if you want a truly fast computer.
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGaOqY2KAkGGGTwxYRAgHmAJ41pkbJNA9ZMjTOhc0ravUtqEDdPACff4U7
bWeFiJnx94z4uC0IUCgArLw=
=7h9X
-----END PGP SIGNATURE-----