Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753017AbZCHKri (ORCPT ); Sun, 8 Mar 2009 06:47:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752644AbZCHKrZ (ORCPT ); Sun, 8 Mar 2009 06:47:25 -0400 Received: from ey-out-2122.google.com ([74.125.78.24]:43573 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751418AbZCHKrX (ORCPT ); Sun, 8 Mar 2009 06:47:23 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer; b=VQe85bKTqUJtyLr5AqZNBa400MtqXh+tdIs5Lx+CBe59dKJU1+Q/vqD+QO4BGg5Xdt nNXXFZVUt3L4Eaq0bQj0IfcqCZx4AW7hoFok2T6dUWioE+pVkdnB5jH6IkZWFdjtjZmh uFcyLOUuq0dd7+pSTEVn5DNVHiQHGtR1wILvw= Subject: Re: [RFC PATCH 0/6] module, kbuild: Faster boot with custom kernel. From: Andreas Robinson To: Arjan van de Ven Cc: Kay Sievers , Rusty Russell , sam@ravnborg.org, linux-kernel@vger.kernel.org In-Reply-To: <20090306074548.36ed2f9f@infradead.org> References: <1234722028-8110-1-git-send-email-andr345@gmail.com> <200902181528.29697.rusty@rustcorp.com.au> <1234952753.10531.48.camel@andreas-laptop> <1235216636.7025.1023.camel@andreas-laptop> <1236004353.10055.49.camel@andreas-laptop> <20090302082003.1bb7bdc5@infradead.org> <20090302102703.50aaf724@infradead.org> <1236192430.6785.111.camel@andreas-laptop> <20090305161837.6ba80cc1@infradead.org> <1236352543.6594.59.camel@andreas-laptop> <20090306074548.36ed2f9f@infradead.org> Content-Type: multipart/mixed; boundary="=-5hiiqUwNgeHgNc1ewLxC" Date: Sun, 08 Mar 2009 11:47:17 +0100 Message-Id: <1236509237.5645.151.camel@andreas-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 17167 Lines: 583 --=-5hiiqUwNgeHgNc1ewLxC Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2009-03-06 at 07:45 -0800, Arjan van de Ven wrote: > On Fri, 06 Mar 2009 16:15:43 +0100 > Andreas Robinson wrote: > > > On Thu, 2009-03-05 at 16:18 -0800, Arjan van de Ven wrote: > > > On Wed, 04 Mar 2009 19:47:10 +0100 > > > Andreas Robinson wrote: > > > > > > the only thing I can say (the graphs are a bit complex to read) is > > > that you are loading a LOT of very expensive modules that bring you > > > no functionality. > > > > Well, yes. It is the generic Ubuntu kernel booting in all its bloaty > > glory. :) But this is what most users are stuck with. The distro > > vendors won't change their ways because they want their stuff to run > > on anything. > > the problem is that you are also having things that just don't make > sense; even for the generalized case... > > but I guess that is for Ubuntu to resolve. I don't see the machines I > run (with Fedora) exhibit this same issue; while there are a bunch of > modules, none of the ones that are expensive-and-useless in your charts > are there. I think they will. Fast boot is one of the "essential" goals for Jaunty and Karmic. Anyway, attached is a bootchart for a cleaned up kernel with the important (AFAIK) drivers built in. >From this, I've found some tasks that I can set myself to. They would obviously be the topic of other threads: * Make the nforce2 ethernet driver (init_nic) initialize itself asynchronously, if possible. * New config option: Separate initramfs decompression and file-system calls. Decompress as early as possible in a separate thread. * Don't unpack initramfs twice. If CONFIG_BLK_DEV_RAM is set, the kernel decompresses the ramdisk just to see if it's a cpio archive or not, and then throws away the result. * See what can be done about pci_init(), if anything. If there's anything else regarding fastboot you think would make more sense to work on first, please let me know. Thanks, Andreas --=-5hiiqUwNgeHgNc1ewLxC Content-Disposition: attachment; filename="hp_bg.svg" Content-Type: image/svg+xml; name="hp_bg.svg" Content-Transfer-Encoding: 7bit image/svg+xml param_sysfs_init acpi_init acpi_scan_init acpi_pci_root_init acpi_pci_link_init genl_init hpet_late_init acpi_event_init pnpacpi_init init_acpi_pm_clocksource inet_init populate_rootfs init_kprobes slab_sysfs_init pci_init acpi_container_init acpi_thermal_init tty_init pty_init init_nic 1_async_port_probe 2_async_port_probe ohci1394_init 3_async_port_probe 4_async_port_probe ehci_hcd_init ohci_hcd_mod_init i8042_init sdhci_drv_init ricoh_mmc_drv_init init_soundcore alsa_seq_oss_init alsa_card_azx_init 5_sd_probe_async 0.07 0.28 0.49 0.7 0.91 1.12 1.33 1.55 1.76 1.97 2.18 2.39 2.6 2.81 3.02 --=-5hiiqUwNgeHgNc1ewLxC-- -- 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/