reducing compiler instances during buildkernel

看板FB_hackers作者時間14年前 (2011/11/06 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
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 _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
文章代碼(AID): #1EjRbYpz (FB_hackers)
文章代碼(AID): #1EjRbYpz (FB_hackers)