On Mon, 23 Jun 2008 18:11:08 -0700 [EMAIL PROTECTED] wrote: > Celejar wrote: > > On Sun, 22 Jun 2008 13:08:49 -0500 > > Larry Finger <[EMAIL PROTECTED]> wrote: > > > > ... > >> Having to go > >> through the steps required to generate a .deb and installing it for > >> every change would take 3-4 hours away from my productivity. > >> > > > > I'm no expert, and maybe I'm missing something, but rebuilding a kernel > > the Debian way is just: > > > > 1: make [menu|x|g|whatever]config] > > 2: make-kpkg --revision=whatever kernel_image > > 3: dpkg -i whatever.deb > > > > How does this add significant overhead to the standard methods for > > building kernels? [I am perfectly willing to be educated; as I > > mentioned, I'm no expert.] > > > > > >> Larry > >> > > > > > Normal kernel, step 1 is the same. > Normal kernel, step 2 is make && make modules_install > Normal kernel, step 3 is make install > > For step 2 on a non Debian machine I can add -j3 and run three > simultaneous processes. I can build an entire kernel tree from scratch > in under 20 minutes. The make-kpkg takes 47 minutes. > > For step 3 on a non Debian system I can do it in 13 seconds. The "dpkg > -i whatever" takes over 13 minutes.
Thanks for the explanation, but I'm having trouble reproducing your results, as below. All results are from my one and a half year old laptop, with a Celeron M 420 at 1.6 GHz. > Here's how you can test this... > > 1. On a Debian system time nice make-kpkg... && time nice dpkg -i .... $ time nice make-kpkg --revision=custom.5.0 kernel_image real 14m30.911s user 11m42.938s sys 0m49.612s $ time nice sudo dpkg -i ../linux-image-2.6.25-lizzie_custom.5.0_i386.deb real 0m9.780s user 0m2.721s sys 0m0.887s I'm rather surprised by your 13 minutes for dpkg installation. > 2. On the same system time nice (make -j2 && make -j2 modules_install > && make -j2 install) > (If you only have a single threaded uniprocessor leave off the -j2) I'm pretty weak on shell syntax, but 'time nice (make && make && make)' didn't work; bash says: bash: syntax error near unexpected token `make' so I ran them separately, since this is a uniprocessor anyway. If I've done something wrong, please clarify, and I'll redo my tests. $ time nice make real 12m55.064s user 11m16.950s sys 0m42.457s $ time nice sudo make modules_install real 0m3.200s user 0m1.014s sys 0m0.802s $ time nice sudo make install real 0m0.494s user 0m0.250s sys 0m0.120s So on my uniprocessor system, I see only a fairly small difference in the Debian vs. standard build times, and a difference of only several seconds between the install times. With what hardware were your numbers obtained? > Ehud Thanks, Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator _______________________________________________ Bcm43xx-dev mailing list [email protected] https://lists.berlios.de/mailman/listinfo/bcm43xx-dev
