Re: Question about KQUEUE code in make(1)

看板DFBSD_kernel作者時間21年前 (2004/11/22 15:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串4/6 (看更多)
At 11:35 PM -0500 11/21/04, David Rhodus wrote: >On Thu, 18 Nov 2004 13:50:44, Max Okumoto <okumoto@ucsd.edu> wrote: > > >> I am near the KQUEUE patches for make(1), and I was wondering if >> we want this code. >> >> Max >> > >Did anyone in fbsd ever get the kqueue stuff working properly >with make(1) ? Yes, at least for the 5.x-series and beyond (I do not remember if the fixes were MFC'ed back into 4.x-series). But there was some other performance fix also added, and with that fix in it turned out that using KQUEUE does not shave all that much time off of a `make'. If I remember right, I was seeing 'make buildworld' (with various values of -j) speed up by some small number of seconds. Maybe 20 seconds faster, on a dual-CPU machine that takes about 50 minutes to buildworld. I do not remember the exact numbers, but it was somewhere in that ballpark. And there were a few values of -j were it seemed that KQUEUE was slightly slower. So, right now our src/usr.bin/make/Makefile has the lines: # There is no obvious performance improvement currently. # CFLAGS+=-DUSE_KQUEUE -- Garance Alistair Drosehn = gad@gilead.netel.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu
文章代碼(AID): #11eOwq00 (DFBSD_kernel)
討論串 (同標題文章)
文章代碼(AID): #11eOwq00 (DFBSD_kernel)