tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build.sh: set creation is serialized



On Thu, May 01, 2008 at 10:02:47AM +0200, Julio M. Merino Vidal wrote:

> On Thu, May 1, 2008 at 1:30 AM, Andrew Doran <ad%netbsd.org@localhost> wrote:
> >
> >  Disk access is not a major factor on the system I'm testing with,
> >  presumably because maxvnodes and the number of pages dedicated to
> >  file data are fairly high. Perhaps we could tune it at runtime using
> >  sysctl if doing a native build.
> 
> Well, that'd only work for root builds + native builds, so I don't
> think that's a solution.  I can try again here, now that I have a
> more-or-less decent disk, with and without a parallel set creation and
> let you know the result.
> 
> What values have you tuned with sysctl?  Give me the old and new
> values if you want me to do some tests here too and see their effect
> in OS X.

I should have been clearer, sorry. I meant querying sysctl for the value of
kern.maxvnodes. If it is above a threshold, then dispense with the .WAIT.
If it's below the threshold or we can't get the value, leave the .WAIT in.

Andrew


Home | Main Index | Thread Index | Old Index