Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Nov 2011 22:30:21 +0000
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-hackers@freebsd.org
Subject:   reducing compiler instances during buildkernel
Message-ID:  <20111105223021.GA52651@freebsd.org>

next in thread | raw e-mail | index | archive | help
hi there,

when doing buildkernel one notices that the gcc or clang instances are spawned
and closed so fast that top isn't fast enough to show them and the "last pid"
field increases quite fast. obviously this produces quite a lot of syscall
overhead.

wouldn't it be possible to somehow spawn N gcc or clang instances
(make -jN buildkernel) and then pipe the src to one of those N instances?
just like with something like multics N processes were started and then people
used the job control language to load binaries into those processes.

cheers.
alex



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111105223021.GA52651>