reducing compiler instances during buildkernel

Alexander Best arundel at freebsd.org
Sat Nov 5 22:30:21 UTC 2011


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


More information about the freebsd-hackers mailing list