On Thu, Jun 4, 2009 at 5:55 AM, Mitch Bradley <[email protected]> wrote: >> 18 seconds to initrd load > > dominated by decompression time. Eliminate the initrd ...
Or pare it down significantly. I suspect that - some bits of python libs are not used - a newer python that does -O the right way can help - replacing the initrd with a conventional non-bitfrosty python can be an alternative > Parallelization will not help at all if you are using JFFS2. The low > level NAND driver that JFFS2 uses busy waits for I/O, and then JFFS2 is > CPU-bound on the decompression step, preventing any useful concurrency. > > The busy-wait could be changed to an interrupt - if only someone had > time to do the work and test it extensively. That is painfully true. Search the archives for Daniel Drake's example patch to try to fix the busy wait and the associated discussion. There were earlier discussions with David Woodhouse on the topic. Very valuable info there for someone with kernel hacking chops to tackle. > Easily? Yeah, right. Well, he can show us how it's done. I'll definitely be impressed :-) m -- [email protected] [email protected] -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff _______________________________________________ Devel mailing list [email protected] http://lists.laptop.org/listinfo/devel
