Messages in this thread | | | From | Denis Vlasenko <> | Subject | Re: gcc 2.95 vs 3.21 performance | Date | Wed, 5 Feb 2003 13:41:34 +0200 |
| |
On 5 February 2003 12:36, Andreas Schwab wrote: > Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua> writes: > |> I am damn sure that if you compile with less sadistic alignment > |> you will get smaller *and* faster kernel. > > So why don't you try it out? GCC offers everything you need for this > experiment.
I did. Others did it too on occasion.
My argument was against overusing optimization techniques. You cannot speed up kernel by aligning *everything* to 32 bytes, or by unrolling all loops, or by aggressive inlining. That's too easy to work. You get kernel which is bigger *and* slower. -- vda - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |