From: "Stefan G. Weichinger" <lists@xunil.at>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Testing new kernels - saving dumps / strip down kernel options
Date: Fri, 11 Jan 2013 07:56:01 +0100 [thread overview]
Message-ID: <50EFB781.1010209@xunil.at> (raw)
In-Reply-To: <87d2xd2x8w.fsf@ist.utl.pt>
Am 10.01.2013 10:38, schrieb Nuno J. Silva:
> Even then, if you do that and tune the config several times, you'll
> likely end up with a lighter kernel. Just drop anything you don't need
> from the device drivers.
>
>> "make allnoconfig" as a start?
>
> That is probably much better than the config from the install dvd, yes,
> in fact most of the work coming from an "Add-It-All" config is that you
> have to disable many, many entries.
I tried with a .config from the live cd, just to see where it gets me.
Disabled loads of stuff, enabled options I need for my hardware and for
running KVM here.
This cut my .config from ~76k down to 71k already, and the kernel itself
got smaller as well:
# the backup from old .config
2,5M 10. Jan 11:52 initramfs-genkernel-x86_64-3.7.1-gentoo
3,3M 10. Jan 11:52 kernel-genkernel-x86_64-3.7.1-gentoo
2,0M 10. Jan 11:52 System.map-genkernel-x86_64-3.7.1-gentoo
# the new one
2,5M 10. Jan 13:53 initramfs-genkernel-x86_64-3.7.1-gentoo
2,7M 10. Jan 13:52 kernel-genkernel-x86_64-3.7.1-gentoo
2,1M 10. Jan 13:52 System.map-genkernel-x86_64-3.7.1-gentoo
nice so far, without much work to do.
Everything works so far, so ok ...
I might try the allnoconfig-approach as well, sure!
Stefan
next prev parent reply other threads:[~2013-01-11 6:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-08 12:14 [gentoo-user] Testing new kernels - saving dumps / strip down kernel options Stefan G. Weichinger
2013-01-10 9:38 ` [gentoo-user] " Nuno J. Silva
2013-01-11 6:56 ` Stefan G. Weichinger [this message]
2013-01-11 6:28 ` [gentoo-user] " Stroller
2013-01-11 6:59 ` Stefan G. Weichinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50EFB781.1010209@xunil.at \
--to=lists@xunil.at \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox