tech-pkg archive

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

Re: grafana hits pkgsrc limits again



* On 2024-07-11 at 09:57 BST, Jonathan Perkin wrote:

I'll have a think through if there's any way around this.

One possible option is that we disable compat mode by default, i.e. remove this section of code:

  https://github.com/NetBSD/pkgsrc/blob/trunk/devel/bmake/files/main.c#L1439-L1445

This may actually end up being a win overall, as one of the biggest causes of performance problems in the pkgsrc infrastructure is forking shells for every command, and in many places we do somewhat ugly things to mitigate that (c.f. my work in late 2022). It would also mean I could put changes like this back in:

  https://github.com/NetBSD/pkgsrc/commit/69d922d51a70a291068b1c3c5cba2a6614a59ddd

I'll test this in some bulk builds and other ad-hoc testing, but would welcome input on why this might be a bad idea in the meantime.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index