Re: Question about KQUEUE code in make(1)
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
討論串 (同標題文章)
完整討論串 (本文為第 4 之 6 篇):