Re: git: 53c1ad8c4add - main - bsd.port.mk: run pkg-create with MAKE_JOB_NUMBER threads
Date: Wed, 04 Mar 2026 22:28:19 UTC
04.03.2026 23:18, Daniel Engberg пишет: > On 2026-03-04 21:00, Siva Mahadevan wrote: >> On Wed Mar 4, 2026 at 36:00 UTC, Vladimir Druzenko <vvd@freebsd.org> >> wrote: >>> 04.03.2026 21:53, Daniel Engberg пишет: >>>> On 2026-03-04 18:57, Adam Weinberger wrote: >>>>> On Wed, Mar 4, 2026 at 9:40 AM Siva Mahadevan <siva@freebsd.org> >>>>> wrote: >>>>>> The branch main has been updated by siva: >>>>>> >>>>>> URL: >>>>>> https://cgit.FreeBSD.org/ports/commit/?id=53c1ad8c4add9656b4ee3e0d1a1c1b643d617f84 >>>>>> >>>>>> >>>>>> commit 53c1ad8c4add9656b4ee3e0d1a1c1b643d617f84 >>>>>> Author: Siva Mahadevan <siva@FreeBSD.org> >>>>>> AuthorDate: 2026-03-04 14:39:04 +0000 >>>>>> Commit: Siva Mahadevan <siva@FreeBSD.org> >>>>>> CommitDate: 2026-03-04 14:39:30 +0000 >>>>>> >>>>>> bsd.port.mk: run pkg-create with MAKE_JOB_NUMBER threads >>>>>> >>>>>> Following the same as https://reviews.freebsd.org/D53053 >>>>>> in the src tree. >>>>>> >>>>>> Reviewed by: portmgr (bapt) >>>>>> Approved by: lwhsu (mentor, implicitly) >>>>>> Differential Revision: https://reviews.freebsd.org/D55232 >>>>> Thank you for this! The difference is incredible. On the aging >>>>> E3-1270v2 in my rented box, it brought packaging llvm from 20 minutes >>>>> down to 10. >>>> >>>> There are some caveats to take into considering though which should've >>>> been documented. >>>> https://github.com/facebook/zstd/issues/2079 >>>> For xz this breaks reproducible builds, >>>> https://www.mail-archive.com/xz-devel@tukaani.org/msg00375.html >>>> >>>> Best regards, >>>> Daniel >>> >>> And the compression ratio is also reduced. >>> >> >> How much is it reduced by on average? I think this may be relatively >> negligible compared to the greatly reduced compression time. And one can >> always change the PKG_COMPRESSION_LEVEL if their usecase requires it. > > It's usually a relatively small difference. > > Best regards, > Daniel It depends very much on various conditions. The biggest difference will be noticeable on highly repetitive, highly compressible, large-volume data, such as source code or logs. It can exceed two times. -- Best regards, Vladimir Druzenko