Re: Advice for CFLAGS
Florian Philipp <[email protected]> Fri, 8 Jun 2007 11:26:54 +0200
| Newsgroups | gmane.linux.gentoo.performance |
|---|---|
| Message-ID | <[email protected]> |
Am Freitag 08 Juni 2007 07:35 schrieb Daniel Armyr: > > 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. In other words, there is no clear answer but my chances are quiet bad. I think I'll try around a bit. I'll prepare three images on my desktop, one Os, one O2 and one O3. Then I'll post my experience...
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGaSDfCBEaaFO6I+ARAijWAJ0Vwmq2PxsViNrM8Bm+RpLlWqyMlQCfZ6n2 Zu6FTJBOJsq5PjWh5dt7e4Y= =T59v -----END PGP SIGNATURE-----