From: John Reiser <jreiser-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: building initramfs is slow
Date: Fri, 19 Aug 2011 11:27:25 -0700 [thread overview]
Message-ID: <4E4EAB0D.4000604@bitwagon.com> (raw)
In-Reply-To: <j2kq7p$guf$1@dough.gmane.org>
On 08/18/2011 09:53 PM, WANG Cong wrote:
> Can you add -M to see which modules are loaded?
I'm going to skip this because of other people's responses in the meantime.
About 450 of the 2363 *.ko kernel modules in Fedora 16 were loaded.
See also the histogram below.
>
> As a kdump developer, I worry more about the size of initramfs generated
> by dracut, because we have very limited memory (usually 128M or 256M)
> in the second kernel. So, the output of `lsinitrd test2.img` would
> be helpful too.
Fedora releases, pre-releases, and Live media are readily available.
You should be able to download, install/boot, and experiment in half a day.
$(lsinitrd test2.img) is too long, so I've made a sorted histogram
of number files by directory, and include the beginning here.
[My quick-and-dirty methodology might have holes.]
188 lib/kbd/consolefonts/
120 lib/kbd/keymaps/i386/qwerty/
88 lib/modules/3.0.0-1.fc16.x86_64/kernel/drivers/net/
88 lib64/
63 lib/kbd/unimaps/
62 lib/firmware/radeon/
61 sbin/
59 lib/modules/3.0.0-1.fc16.x86_64/kernel/drivers/ata/
55 lib/modules/3.0.0-1.fc16.x86_64/kernel/drivers/scsi/
48 lib/kbd/consoletrans/
46 lib/modules/3.0.0-1.fc16.x86_64/kernel/crypto/
44 lib/modules/3.0.0-1.fc16.x86_64/kernel/fs/
40 usr/share/plymouth/themes/charge/
39 lib/kbd/consolefonts/partialfonts/
38 lib/modules/3.0.0-1.fc16.x86_64/kernel/fs/nls/
29 bin/
28 lib/firmware/
25 lib/modules/3.0.0-1.fc16.x86_64/kernel/drivers/
24 usr/lib64/
19 lib/kbd/keymaps/i386/include/
19 etc/
18 lib/modules/3.0.0-1.fc16.x86_64/
18 lib/kbd/keymaps/i386/qwertz/
18 lib64/multipath/
17 lib/kbd/keymaps/mac/all/
17 lib/dracut/hooks/cmdline/
16 lib/kbd/keymaps/sun/
15 lib/modules/3.0.0-1.fc16.x86_64/kernel/drivers/usb/storage/
15 lib/modules/3.0.0-1.fc16.x86_64/kernel/drivers/md/
13 lib/udev/rules.d/
12 lib/dracut/hooks/
--
next prev parent reply other threads:[~2011-08-19 18:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-18 18:18 building initramfs is slow John Reiser
[not found] ` <CALAkbJOkMTQdkmhBBvqHk3oKRzMHvXcp1MxasMrMpCbTP3+0eg@mail.gmail.com>
[not found] ` <CALAkbJOkMTQdkmhBBvqHk3oKRzMHvXcp1MxasMrMpCbTP3+0eg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-18 23:09 ` John Reiser
2011-08-19 4:53 ` WANG Cong
2011-08-19 6:47 ` Harald Hoyer
[not found] ` <4E4E0707.4060504-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-08-19 7:04 ` Américo Wang
[not found] ` <CAM_iQpUr2mVRM+PFeYkefzx9xEAOJKhZh+wpaXgKg6bj+1dozQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-08-19 7:07 ` Harald Hoyer
[not found] ` <4E4E0B95.6040909-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2011-08-19 7:32 ` Dan Horák
2011-08-19 18:27 ` John Reiser [this message]
[not found] ` <4E4D5779.6090209-Po6cBsTGB2ZWk0Htik3J/w@public.gmane.org>
2011-08-19 7:03 ` Harald Hoyer
2011-08-19 8:24 ` Harald Hoyer
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=4E4EAB0D.4000604@bitwagon.com \
--to=jreiser-po6cbstgb2zwk0htik3j/w@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.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