From: Francis Moreau <francis.moro@gmail.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Sam Ravnborg <sam@ravnborg.org>,
"Renato S. Yamane" <yamane@diamondcut.com.br>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: About git-bisect (was: Linux 2.6.28-rc7)
Date: Tue, 02 Dec 2008 22:52:49 +0100 [thread overview]
Message-ID: <m2r64q6y8e.fsf@gmail.com> (raw)
In-Reply-To: <bEGVc-2Bk-11@gated-at.bofh.it> (Linus Torvalds's message of "Tue\, 02 Dec 2008 18\:10\:10 +0100")
Linus Torvalds <torvalds@linux-foundation.org> writes:
> That said, the _best_ way to speed up your compile (whether bisecting or
> not) is to simply only compile the drivers and modules you actually need.
That's interesting because I recently tried to strip down my kernel
configuration but I met a problem: I usually don't know if I really
need a feature or not, and that's specially true when configuring the
network stuffs, since I'm not a network expert...
So I still have 254 modules and after recompiling my kernel, I did:
$ touch kernel/sched.c
$ time make -j4
[...]
MODPOST 254 modules
[...]
Kernel: arch/x86/boot/bzImage is ready (#109)
real 3m23.866s
user 0m35.006s
sys 0m15.698s
and here is the time I get if I recompile the kernel without touching
any files:
$ time make -j4
CHK include/linux/version.h
CHK include/linux/utsrelease.h
SYMLINK include/asm -> include/asm-x86
CALL scripts/checksyscalls.sh
CHK include/linux/compile.h
dnsdomainname: Unknown host
CHK include/linux/version.h
make[2]: `scripts/unifdef' is up to date.
Building modules, stage 2.
Kernel: arch/x86/boot/bzImage is ready (#109)
MODPOST 254 modules
real 0m53.612s
user 0m17.996s
sys 0m9.752s
With these figures, I can confirm that doing bisection, even with 5
reboots, is painful.
> It takes me 16 seconds to compile my kernel (if it's all cached), and
> that's largely because I do _not_ compile one of the crazy distro kernels
> with thousands of totally irrelevant modules for my setup.
an other reason is perhaps you're using a computer that most common
mortal don't have ;)
Care to share your network configuration ;) ?
thanks
Francis
next parent reply other threads:[~2008-12-02 21:53 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bEuTZ-3Ya-5@gated-at.bofh.it>
[not found] ` <bECot-57C-1@gated-at.bofh.it>
[not found] ` <bEFPF-XO-15@gated-at.bofh.it>
[not found] ` <bEFPG-XO-19@gated-at.bofh.it>
[not found] ` <bEG8P-1xl-15@gated-at.bofh.it>
[not found] ` <bEGiz-1Hw-11@gated-at.bofh.it>
[not found] ` <bEGLI-2aS-31@gated-at.bofh.it>
[not found] ` <bEGVc-2Bk-11@gated-at.bofh.it>
2008-12-02 21:52 ` Francis Moreau [this message]
2008-12-03 12:55 ` About git-bisect Renato S. Yamane
2008-12-03 16:31 ` Linus Torvalds
2008-12-03 17:24 ` Francis Moreau
2008-12-03 17:50 ` About git-bisect (defconfigs) Randy Dunlap
2008-12-04 0:14 ` Nick Andrew
2008-12-02 16:55 About git-bisect (was: Linux 2.6.28-rc7) Toralf Förster
-- strict thread matches above, loose matches on Subject: below --
2008-12-02 4:11 Linux 2.6.28-rc7 Linus Torvalds
2008-12-02 12:14 ` Alejandro Riveira Fernández
2008-12-02 15:50 ` Linus Torvalds
2008-12-02 15:56 ` Alejandro Riveira Fernández
2008-12-02 16:13 ` Linus Torvalds
2008-12-02 16:29 ` About git-bisect (was: Linux 2.6.28-rc7) Renato S. Yamane
2008-12-02 16:55 ` Sam Ravnborg
2008-12-02 17:05 ` Linus Torvalds
2008-12-02 17:01 ` Linus Torvalds
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=m2r64q6y8e.fsf@gmail.com \
--to=francis.moro@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sam@ravnborg.org \
--cc=torvalds@linux-foundation.org \
--cc=yamane@diamondcut.com.br \
/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