* kernel link times
@ 2003-09-10 7:08 David Mosberger
0 siblings, 0 replies; only message in thread
From: David Mosberger @ 2003-09-10 7:08 UTC (permalink / raw)
To: linux-ia64
A while ago, Matthew brought up the issue of kernel link times.
Turning off debug info certainly accelerates linking, but if you're
like me and really want the debug info to be there, that's not much
help. Fortunately, there is a very nice patch by Michael Matz which
fixes an O(N^2) algorithm in the linker which was burning huge amounts
of CPU cycles. With this patch applied a "make vmlinux" (with nothing
changed other than version.c) drops from ~90sec to 27sec on my
(oldish) machine. The improved linker still spends almost 30% of its
time in a single routine, so there may be other optimization
opportunities, but this is already a big step forward. Patch can be
found here:
http://sources.redhat.com/ml/binutils/2003-09/msg00122.html
Enjoy,
--david
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-10 7:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-10 7:08 kernel link times David Mosberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox