[PATCH 0/5] Improve make and make check parallelism
Florian Weimer
fweimer@redhat.com
Mon Jun 15 14:46:16 GMT 2026
* Adhemerval Zanella Netto:
> On 15/06/26 11:15, Florian Weimer wrote:
>> * Adhemerval Zanella:
>>
>>> The series does not aim to improve 'make check' with
>>> run-built-tests=yes: subdirectories such as nptl require their tests
>>> not to run in parallel.
>>
>> Based on my logs, it seems to me that nptl tests now run in parallel
>> with other directories. Do others see this as well?
>>
>> This somewhat defeats the .NOTPARALLEL directive for nptl (and rt).
>
> Yes, but nptl sub-make reads nptl/Makefile, hits .NOTPARALLEL and within
> that process the nptl tests run one at a time.
>
> Making the nptl's tests to additionally not overlap with other subdirs
> (restore the old isolation), would need an explicit serialization edge
> and that would erase much of the parallel-check speedup.
Only a subset of the nptl tests would need this anyway. And we have
other tests that are CPU burners or that need tons of RAM that should
not be parallelized, either.
I think we could have a top-level .NOTPARALLEL wrapper that tests
everything except nptl/htl and rt (without applying .NOTPARALLEL), then
nptl/htl, and then rt. Not sure if there's a simpler approach to get
the desired semantics.
Thanks,
Florian
More information about the Libc-alpha
mailing list