The results, here
Posted Jan 24, 2004 17:57 UTC (Sat) by
Duncan (guest, #6647)
In reply to:
Shrinking the kernel with gcc by Duncan
Parent article:
Shrinking the kernel with gcc
"Here" being as mentioned in the upline post.. amd64, Mandrake's 2.4.22-27
kernel, SMP, reiserfs built-in to avoid initrd, but basically everything else
possible as modules.
Not sure how this will turn out with proportional fonts, and what it does to my
tabs, but..
kernel build switches bzImage sz. uncomp. sz.
-O2 (standard) 1167599 6141545
-Os -funit-at-a-time 1056342 5892105
-Os -funit-at-a-time -mregparm=3 995372 5366728
As expected, due to the problem noted in the previous post, however, meaning
system libs need compiled with the same switch, something I didn't do, the
-mregparm=3 kernel wouldn't boot. The -Os -funit-at-a-time kernel DID,
however, boot, and is what I'm running now while writing this (in Konqueror,
so it's stable enough to run X and KDE, and complete this note in Konqueror,
at least).
Haven't noticed any performance differences in the few minutes I've been
running it, but then, with a dual Opteron and a gig of memory running a
desktop, pretty much ANYTHING is relatively fast. <g>
Duncan
(
Log in to post comments)