Gary Kline wrote: > On Wed, Dec 14, 2005 at 01:42:21PM -0800, Kent Stewart wrote: [ ... ] > Does it make any sense to use O3 when compiling stuff, > when stuff includes world/kernel/drivers? Does upping the > optimization make any significant difference in system > performance, in other words? Kent? Anybody?
No. You are likely to vastly increase the amount of time it takes to compile the system without gaining any performance that's noticable. The system generally shouldn't be spending a lot of CPU in the kernel, anyway, compared with the amount of time running user-mode code. (Firewalls and routers are a significant exception, however.) If you want your system to perform better, benchmark the work it's actually doing, and then tune from there. Spending lots of time to optimize a part of the system that is already pretty efficient isn't going to do much, whereas solving the bottleneck will make a useful difference. -- -Chuck _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
