HEADS UP - master/slave ports
Cyrille Lefevre
clefevre-lists at 9online.fr
Thu Jun 17 22:33:09 GMT 2004
"Oliver Eikemeier" <eikemeier at fillmore-labs.com> wrote:
> Cyrille Lefevre wrote:
>
> >> These appear to be slightly faster than the previous stats I posted.
> >> Everything is pratically identical in user time. sys is where the
> >> savings are being made.
> >
> > it's strange that this code (w/ no fork) is not much faster than 2
> > forks !
>
> The benchmark is not really valid. Depending on your machine,
> nearly everything will be in the cache. This is not true when
> you have other stuff in the loop, like building the INDEX.
well, of course, if the test is something like this :
csh -c 'repeat 15000 make -V MASTERDIR -V MASTERPORTS'
the measurement would not be so accurate :(
Cyrille Lefevre.
--
mailto:clefevre-lists at 9online.fr
More information about the freebsd-ports
mailing list