Thanks for the hint, I missed 642cd511028b .

Think I'm good now:

/etc/src.conf
WITH_MALLOC_PRODUCTION=yes
WITHOUT_LLVM_ASSERTIONS=yes
WITHOUT_PTHREADS_ASSERTIONS=yes

Cheers!


Colin Percival <cperc...@freebsd.org> escreveu (sexta, 5/09/2025 à(s)
23:07):

> On 9/5/25 14:57, Nuno Teixeira wrote:
> > For people that turn off debug on main, should WITH_PTHREADS_ASSERTIONS
> be
> > turned off?
> >
> > e.g.
> > /etc/src.conf:
> > WITH_MALLOC_PRODUCTION=yes
> > WITHOUT_LLVM_ASSERTIONS=yes
>
> According to commit 642cd511028b running WITHOUT_PTHREADS_ASSERTIONS
> improves
> mutex performance by 5-18%.  So yes if you want maximal performance on HEAD
> you should probably turn this off.
>
> Colin Percival

Reply via email to