Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 46:26:16 |
Calls: | 632 |
Calls today: | 3 |
Files: | 1,187 |
D/L today: |
24 files (29,813K bytes) |
Messages: | 176,483 |
Thanks for the hint, I missed 642cd511028b .Another potential one is:
Think I'm good now:
/etc/src.conf
WITH_MALLOC_PRODUCTION=yes
WITHOUT_LLVM_ASSERTIONS=yes
WITHOUT_PTHREADS_ASSERTIONS=yes
Is there a reason that ASSERT_DEBUGQUOTE
( in share/mk/bsd.opts.mk ) is left enabled
( listed in __DEFAULT_YES_OPTIONS )?
Cheers!
Colin Percival <cperciva@freebsd.org> escreveu (sexta, 5/09/2025 |a(s) 23:07):===
On 9/5/25 14:57, Nuno Teixeira wrote:
For people that turn off debug on main, should WITH_PTHREADS_ASSERTIONSbe
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